Red Flag If statement
Comments
-
Hi,
Try something like this.
=IF(ISBLANK(Deadline2); ""; IF(AND(Deadline2 < TODAY(2); Completed3 = 0); 1; 0))
The same version but with the below changes for your and others convenience.
=IF(ISBLANK(Deadline2), "", IF(AND(Deadline2 < TODAY(2), Completed3 = 0), 1, 0))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
That did the trick! Thank you!
-
Excellent!
Happy to help!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
What would I need to add to the formula to make the flag stay raised if the deadline is today or passed the deadline?
-
=IF(ISBLANK(Deadline8), "", IF(AND(Deadline8 < TODAY(4), Completed8 = 0), OR(AND(Deadline8 >= TODAY(), Completed8 = 0), 1, 0)))
This seems to be working, do you see any issues with this logic?
-
At a glance, I don't.
I would only recommend if possible to change the row numbers to @row, so you don't have to think about the row numbers.
Hope that helps!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!