Hi, I have a status column with the following value: Not Started, In Progress, Canceled, On Hold, Complete.
I would like to modify my current formula to cause the behavior below:
- All children are Complete – Parent = Complete
- One or more children are Complete, In Process, and any other status – Parent = In Process
- All children are On Hold – Parent = On Hold
- All children are Not Started – Parent = Not Started
- All children are Canceled – Parent = Canceled
My current formula looks like this:
=IF(OR(COUNT(CHILDREN(Subject@row)) = 0, Subject@row = ""), "", IF(COUNTIF(CHILDREN(), "In Progress") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Complete") = COUNT(CHILDREN()), "Complete", IF(COUNTIF(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIF(CHILDREN(), "Canceled") = COUNT(CHILDREN()), "Canceled", IF(COUNTIF(CHILDREN(), "On Hold") = COUNT(CHILDREN()), "On Hold"))))))
Thanks!