Formula for Status
Hello,
I am trying to create a formula to automate the 'status' row in my project grid in SmartSheet. Here is what I am looking for:
Actual start date = Blank, show "Not Started"
If Actual Start Date = is a date and Actual end date = Blank, show "In Progress"
If Actual start date = blank and projected start date > today OR if Actual end date = blank and projected end date > today, show "Overdue"
Actual end date = is a date, show "Complete"
Can anyone help with the nested formula to cover all scenarios?
Best Answer
-
Try something like this...
=IF([Actual End Date]@row <> "", "Complete", IF([Actual Start Date]@row = "", IF([Projected Start Date]@row < TODAY(), "Overdue", "Not Started"), IF([Projected End Date]@row < TODAY(), "Overdue", "In Progress")))
Answers
-
Try something like this...
=IF([Actual End Date]@row <> "", "Complete", IF([Actual Start Date]@row = "", IF([Projected Start Date]@row < TODAY(), "Overdue", "Not Started"), IF([Projected End Date]@row < TODAY(), "Overdue", "In Progress")))
-
Thank you!! That worked. One further question...is there a way for the formula to show nothing in the event a date is not yet entered? From screenshot below - for tasks I don't yet have dates in, the formula auto-populates 'overdue'. Is there a way for it to be blank until a date is entered under projected start date?
-
Here you go...
=IF([Projected Start Date]@row <> "", IF([Actual End Date]@row <> "", "Complete", IF([Actual Start Date]@row = "", IF([Projected Start Date]@row < TODAY(), "Overdue", "Not Started"), IF([Projected End Date]@row < TODAY(), "Overdue", "In Progress"))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!