use the red, green, yellow, and grey symbols in the Health column
Answers
-
I have a similar question. I would like to use the red, green, yellow, and grey symbols in the Health column of a smartsheet and would like it to dynamically update the value of each depending on how far out the due date is.
Basically, if the due date is more than 7 days out, I want it Green, if the due date is less than 7 days out, I want it Yellow, if the due date is past due, I want it to turn Red.
I tried writing this and got an unparseable message:
=IF([Due Date]@row < 8, "Yellow") ELSE IF([Due Date]@row <1 "Red"), ELSE IF([Due Date]@row >7 = "Green", "Gray")Anyone know how to fix it? Thanks in advance!
UPDATE: I also just tried the following and it also did not work…
=IF([Due Date]@row <1, "Red", IF([Due Date]@row <8 AND >1, "Yellow", IF([Due Date]@row >7, "Green")))
-
What is the purpose / logic for "Gray"?
-
Hello @Bviola,
Here is a formula that will work for you:
=IF(ISDATE([Due Date]@row), IF([Due Date]@row < TODAY(), "Red", IF([Due Date]@row - TODAY() <= 7, "Yellow", IF([Due Date]@row - TODAY() > 7, "Green"))), "Gray")
It outputs like this:
Here is a published Sheet you can interact with.
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 396 Global Discussions
- 213 Industry Talk
- 448 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 133 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!