Formula for health status of overall project
I was using the below formula to provide the health status of the overall project, but its not working. The result (green, yellow or red) is supposed to come back with the majority of the tasks that are in that color. In doing my test, most of my tasks were in red status, but the result for the overall project came back yellow.
=IF(AND(COUNTIF(CHILDREN(), "Green") > COUNTIF(CHILDREN(), "Yellow"), COUNTIF(CHILDREN(), "Green") > COUNTIF(CHILDREN(), "Red")), "Green", IF(AND(COUNTIF(CHILDREN(), "Red") > COUNTIF(CHILDREN(), "Green"), COUNTIF(CHILDREN(), "Red") > COUNTIF(CHILDREN(), "Yellow")), "Red", "Yellow"))
Is this the correct formula?
Thank you!
Answers
-
@Francine Blue Where did you put this formula? It should work...
-
Thank you. Please see attachment (highlighted in yellow is where I have the formula).
But for all the tasks underneath, I have a different formula (below) to include a gray color for completed task.
=IF(OR(ISBLANK(Start@row), Start@row > TODAY(1), ([% Complete]@row = 1)), "Gray", IF(AND(Finish@row < TODAY(1), [% Complete]@row <> 1), "Red", IF(AND(Finish@row - 3 < TODAY(1), [% Complete]@row <> 1), "Yellow", IF(AND(Finish@row > TODAY(1), Start@row < TODAY(1)), "Green", "Gray"))))
-
Also in addition to the above, is the overall project status not changing because of the below formula for the 'Status' column?
=IF(AND([% Complete]@row = 1), "Complete", IF(AND(Finish@row < TODAY(1), [% Complete]@row < 1), "Late", IF(AND(Start@row < TODAY(1)), "In Progress", "Not Started")))
-
I believe your issues lies in that you are expecting the formula to evaluate all the children rows as well as the children's children...
The CHILDREN() formula only looks at the sub rows beneath it not the sub sub rows...
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 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!