Health Status
Hi!
The sheet that I am developing has items with a due date far in advance. I would like to have my "Health" column show a Grey symbol for items that have not yet started that are more than 60 days out.
=IF(AND([% Complete]@row < 0.25, [End Date]@row < TODAY(15)), "Red", IF(AND([% Complete]@row < 0.75, [End Date]@row < TODAY(30)), "Yellow", IF(OR([% Complete]@row > 0.75, [End Date]@row >= TODAY(15)), "Green", IF(OR([Start Date]@row <= TODAY(60)), [% Complete]@row = 0, "Gray"))))
Answers
-
Hi
The correct syntax for the final IF statement is
IF(OR([Start Date]@row <= TODAY(60), [% Complete]@row = 0), "Gray")
instead of
IF(OR([Start Date]@row <= TODAY(60)), [% Complete]@row = 0, "Gray")
So your full formula is:
=IF(AND([% Complete]@row < 0.25, [End Date]@row < TODAY(15)), "Red", IF(AND([% Complete]@row < 0.75, [End Date]@row < TODAY(30)), "Yellow", IF(OR([% Complete]@row > 0.75, [End Date]@row >= TODAY(15)), "Green", IF(OR([Start Date]@row <= TODAY(60), [% Complete]@row = 0), "Gray"))))
However, I'm not sure if you meant OR or AND. It sounds like you want gray if the start date is more than 60 days out AND the project is 0% complete.
In which case your full formula would be
=IF(AND([% Complete]@row < 0.25, [End Date]@row < TODAY(15)), "Red", IF(AND([% Complete]@row < 0.75, [End Date]@row < TODAY(30)), "Yellow", IF(OR([% Complete]@row > 0.75, [End Date]@row >= TODAY(15)), "Green", IF(AND([Start Date]@row <= TODAY(60), [% Complete]@row = 0), "Gray"))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 301 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!