Another question about nested IF statements!
Dear Community,
I'd like to combine the two below IF statements, so that if the due date is in the past it will state "Overdue" in the Status column, I can't seem to get it to work :( any suggestions?
=IF([% Complete]98 = 1, "Complete", IF([% Complete]98 = 0, "Not Started", "In Progress"))
=IF([End Date]@row < TODAY(), "Overdue")
Best Answers
-
Try this
=IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress")))
-
Awesome Nic, thank you so much, it worked a charm!
-
Apologies Nic, but where there is no start date indicated, it's flagging up as Overdue, is there any way to amend the formula to say if start date = blank, then state "Not Started"
=IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress")))
-
Sure thing:
=IF(ISBLANK([Start Date]@row), "Not Started", IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress"))))
-
Perfect Nic, thank you so much for your help, really appreciated!
Answers
-
Try this
=IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress")))
-
Awesome Nic, thank you so much, it worked a charm!
-
Apologies Nic, but where there is no start date indicated, it's flagging up as Overdue, is there any way to amend the formula to say if start date = blank, then state "Not Started"
=IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress")))
-
Sure thing:
=IF(ISBLANK([Start Date]@row), "Not Started", IF(AND([% Complete]@row <> 1, [End Date]@row < TODAY()), "Overdue", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress"))))
-
Perfect Nic, thank you so much for your help, really appreciated!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!