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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!