Formula for Status
I would like to auto create a status based on an end date, completed date, cancelled checkbox or on hold checkbox. If end date is in the future an neither checkbox is selected then "Open". If the end date is in the past then "Overdue". If complete date has been entered then "Complete". If cancelled checked then "Cancelled". If On Hold checked then "On Hold". This is what I have so far with no luck.
=IF(ISDATE([Complete Date]@row), "Complete", IF([due due]@row > today (), "Complete", IF(Cancelled@row = 1, "Cancelled", IF([On Hold]@row = 1, "On Hold", "Open"))))
Best Answer
-
Hey @danf76
Try this
=IF(ISDATE([Complete Date]@row), "Complete", IF(TODAY()>[End Date]@row, "Overdue", IF(Cancelled@row = 1, "Cancelled", IF([On Hold]@row = 1, "On Hold", "Open"))))
The second term seemed it might be mistaken? I didn't include it in this formula.
IF([due due]@row > today (), "Complete" (If correct, it should be written as IF([due due]@row> TODAY(), "Complete" )
Please note that column name references are both spelling and case-sensitive.
Please advise on the second term
cheers,
Kelly
Answers
-
Hey @danf76
Try this
=IF(ISDATE([Complete Date]@row), "Complete", IF(TODAY()>[End Date]@row, "Overdue", IF(Cancelled@row = 1, "Cancelled", IF([On Hold]@row = 1, "On Hold", "Open"))))
The second term seemed it might be mistaken? I didn't include it in this formula.
IF([due due]@row > today (), "Complete" (If correct, it should be written as IF([due due]@row> TODAY(), "Complete" )
Please note that column name references are both spelling and case-sensitive.
Please advise on the second term
cheers,
Kelly
-
That did it, thank you and yes that was indeed a mistake. Have a great evening and thanks again!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!