Hi All -
Longtime lurker, first time poster.
I am attempting to add a Health Column to a smartsheet created by a colleague.
I have been in the forums checking answers to similar, and tried to kluge my own formula together, but I've either missed the logic or I'm trying to do too much.
What i'm trying to achieve
rollup logic for parent/child
gray if there is no date assigned in either start date or final deadline OR % complete is 0 OR Status is "On Hold" or "Cancelled".
Green if % Complete is 100%,
Red if % Complete is less than 25% OR Final Deadline is Today.
Yellow if % Complete is less than 75% AND Final Deadline is within a week from today
formula text here:
=IF(COUNTIFS(CHILDREN(), "Red") > 0, "Red", IF(COUNTIFS(CHILDREN(), "Yellow") > 0, "Yellow", IF(COUNTIFS(CHILDREN(), "Green") > 0, "Green", "Gray"))IF(TODAY() > [Final Deadline]@row, "Red", IF(TODAY(7) > = [Final Deadline]@row, IF([% Complete]@row < 0.75, "Yellow", "Green")), IF([% Complete]@row < 0.25, "Red", IF([% Complete]@row < 1, "Yellow", "Green")), IF(OR(ISBLANK([Final Deadline]@row), ISBLANK([% Complete]@row), (Status@row = "On Hold"), (Status@row = "Cancelled"), "Gray")))
Screenshot below
any advice on tweaks to make the formula work?
Thank you in advance.