Formula for summarized health indicators for all rows
We decided to use the formula below to auto color the status for each task Now we are trying to come up with a formula that would auto-calculate all of the row's statuses (Green, Red, Yellow) and display an Overall Health color - I assume it would summarize the colors and display that. Is that possible?
=IF(ISBLANK([End Date]@row), "", IF(AND([End Date]@row <= TODAY(), [% Complete]@row < 1), "Red", IF(AND([Start Date]@row <= TODAY(), [End Date]@row >= TODAY(), [% Complete]@row < 0.25), "Yellow", IF(AND([Start Date]@row <= TODAY(), [End Date]@row >= TODAY(), [% Complete]@row >= 0.25), "Green", IF([% Complete]@row = 1, "Green", IF(AND([Start Date]@row >= TODAY(), [End Date]@row >= TODAY()), "Green", ""))))))
Answers
-
I would add a helper column to Score each color then hide it, then for the Overall Health, use the average values
Score =IF(Health@row = "Red", 0, IF(Health@row = "Yellow", 1, IF(Health@row = "Green", 2)))
Overall Health =IF(AVG(Score:Score) < 0.75, "Red", IF(AVG(Score:Score) < 1.50, "Yellow", IF(AVG(Score:Score) < 2, "Green")))
-
Thank you very much for your help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!