Formula Edit to default to blue health when dates are blank
We are currently using this in project plans to establish health. We would like to default items without date values to Blue instead of Red when a project is initially provisioned. This way our portfolio reporting isn't showing a bunch of Red unnecessarily when things are initiated.
=IF(OR(Level@row = 0, Level@row = 1), IF(COUNTIF(CHILDREN(), "Red") > 0, "Red", IF(COUNTIF(CHILDREN(), "Yellow") > 0, "Yellow", IF(COUNTIF(CHILDREN(), "Green") > 0, "Green", "Blue"))), IF([% Complete]@row = 1, "Blue", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY(7)), "Yellow", "Green"))))
Best Answer
-
Try this...
=IF([End Date]@row = "", "Blue", IF(OR(Level@row = 0, Level@row = 1), IF(COUNTIF(CHILDREN(), "Red") > 0, "Red", IF(COUNTIF(CHILDREN(), "Yellow") > 0, "Yellow", IF(COUNTIF(CHILDREN(), "Green") > 0, "Green", "Blue"))), IF([% Complete]@row = 1, "Blue", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY(7)), "Yellow", "Green")))))
Answers
-
Try this...
=IF([End Date]@row = "", "Blue", IF(OR(Level@row = 0, Level@row = 1), IF(COUNTIF(CHILDREN(), "Red") > 0, "Red", IF(COUNTIF(CHILDREN(), "Yellow") > 0, "Yellow", IF(COUNTIF(CHILDREN(), "Green") > 0, "Green", "Blue"))), IF([% Complete]@row = 1, "Blue", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY()), "Red", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY(7)), "Yellow", "Green")))))
-
It is inserting the word "Blue" instead of the colored circle?
-
Make sure your column settings are set to the appropriate symbols. There are options for RYG, RYGG, and RYGB.
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!