Hello community,
I have created a schedule health column in my schedule and used the following formula to calculate the row health:
=IF(Status@row = "On Hold", "Gray", IF(AND([% Complete]@row = 1, TODAY() >= [End Date]@row), "Green", IF(AND([% Complete]@row < 1, [End Date]@row = TODAY()), "Yellow", IF(AND([% Complete]@row < 1, [End Date]@row < TODAY(1)), "Red"))))
I would now like to calculate the overall health of the schedule based on the health of each row. For example, if 90 out of the 100 rows are green then the overall health would be green.
I have been given the below formula to use which is working but I don't think it is giving the correct overall health. Do I need to add a great than for it to calculate?
=IF(CONTAINS("Red", CHILDREN()), "Red", IF(CONTAINS("Yellow", CHILDREN()), "Yellow", IF(CONTAINS("Blue", CHILDREN()), "Blue", IF(CONTAINS("gray", CHILDREN()), "Gray", "Green"))))
Any help would be much appreciated! Thanks