I need some help fine-tuning this formula. I need it to follow the following rules. Open to better options!!!
It would need to be on a parent row. It will summarize the children's status.
Rules:
If all are 'Not Started' then the summary should show 'Not Started'.
If all are 'Completed' then the summary should show 'Completed'.
If all are 'On Hold' then the summary should show 'On Hold'.
If all are 'Cancelled' then the summary should show 'Cancelled'.
If even 1 is 'In Progress' then the summary should show 'In Progress'
**The formula below is working except 'Not Started' is trumping the 'In Progress'. **
=IF(COUNT(DESCENDANTS()) = COUNTIFS((DESCENDANTS()), OR(@cell = "Not Started", @cell = " ")), "Not Started", IF(COUNT(CHILDREN()) = COUNTIF(CHILDREN(), "Complete"), "Complete", IF(COUNT(CHILDREN()) = COUNTIF(CHILDREN(), "Canceled"), "Canceled", IF(COUNT(CHILDREN()) = COUNTIF(CHILDREN(), "On Hold"), "On Hold", IF(OR(CONTAINS("In Progress", CHILDREN()), AND(COUNTIF(CHILDREN(), "Complete") > 0, COUNTIF(CHILDREN(), "On Hold") > 0)), "In Progress", IF(OR(CONTAINS("Not Started", CHILDREN()), AND(COUNTIF(CHILDREN(), "") > 0, COUNTIF(CHILDREN(), "On Hold") > 0)), "Not Started", IF(OR(CONTAINS(ISBLANK(), CHILDREN()), AND(COUNTIF(CHILDREN(), "Not Started") > 0, COUNTIF(CHILDREN(), "On Hold") > 0)), "Not Started")))))))