Hello lovely Smartsheet community.
I have a status column using symbols.
The status is set using a formula, but I currently have two different formulas depending on the level of the row.
If the row is a second level I have the following formula:
=IF(COUNTIFS(CHILDREN(), "Red") = COUNT(CHILDREN()), "Red", IF(COUNTIFS(CHILDREN(), "Green") = COUNT(CHILDREN()), "Green", IF([Task Not Required this Year]2 = true, "Blue", IF(Progress3 = "Quarter", "Yellow", IF(Progress2 = "Half", "Yellow", IF(Progress2 = "Three Quarter", "Yellow", IF(Progress2 = "Full", "Green", "")))))))
If the row is anything below second level, then I have this formula:
=IF([Task Not Required this Year]81 = true, "Blue", IF(Progress81 = "", "", IF(Progress81 = "Quarter", "Yellow", IF(Progress81 = "Half", "Yellow", IF(Progress81 = "Three Quarter", "Yellow", IF(Progress81 = "Full", "Green", "Red"))))))
Both work fine independently but I am struggling to combine the formula so that I just have one, allowing easier insertion of rows without the need to consider which formula should be used.
Help would be most welcome.
Many thanks
Natalie