What am I doing wrong?
=IF(COUNT(CHILDREN()) > 0, IF(COUNTIFS(CHILDREN(), "Red") > 1, "Red", IF(COUNTIFS(CHILDREN(), "Yellow") > 0, "Yellow", IF(COUNTIFS(CHILDREN(), "Green") > 1, "Green", "Blue")))), IF([Status 2]@row = "Complete", "Blue", IF([Status 2]@row = "Delayed", "Red", IF(AND([Status 2]@row = "Current", [End Date]@row=TODAY(2)), "Yellow", IF([Status 2]@row = "Upcoming"), "Green", "")))
I want CHILDREN:
Delayed = Red
Current + End Date is within 3 days = Yellow
Upcoming = Green
Complete = Blue
I want PARENT
If there are Red, Red
If there are no Red but are Yellow, Yellow
If there are no Red and No Yellow, but there are Green, Green
If everything is Blue, Blue