Health status formulas and automation
Hi, is anybody able to help with automation formulas for the Health column? I'm very new to Smartsheet and struggling a bit! I'm trying to do the following:
Green - Status='In Progress' and more than 1 week before end date, or status= 'Complete'
Yellow - Status= 'In Progress' but end date 1 week away
Red- Start date is before today and status='Not started',or end date has passed and status is 'Not started' or 'In Progress', or status='On Hold'
Grey - Status='Not started' and today is before start date
Thank you.
Answers
-
Let's try something like this...
=IF(Status@row = "Complete", "Green", IF([End Date]@row < TODAY(), "Red", IF(Status@row = "Not Started", IF([Start Date]@row > TODAY(), "Grey", "Red"), IF(Status@row = "In Progress", IF([End Date]@row > TODAY(7), "Green", "Yellow")))))
-
Hi Paul,
This is fantastic thank you, it seems to have worked mostly. The only section that is missing is if a task is 'On Hold' that it is Red. Where would I add this in?
Thanks again for your help!
-
So ANY project regardless of dates that is "On Hold" should be "red"? I must have misunderstood what you needed. My apologies. Try this...
=IF(Status@row = "Complete", "Green", IF(OR(Status@row = "On Hold", [End Date]@row < TODAY()), "Red", IF(Status@row = "Not Started", IF([Start Date]@row > TODAY(), "Grey", "Red"), IF(Status@row = "In Progress", IF([End Date]@row > TODAY(7), "Green", "Yellow")))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!