Hi everyone,
I'm working on a formula in my status column so that the parent line will automatically update based on what the child/children are. Here's the current formula I have that's not quite working:
=IF(COUNTIFS(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIFS(CHILDREN(), "Achieved") = COUNT(CHILDREN()), "Achieved", IF(COUNTIFS(CHILDREN(), OR(@cell = "Passing", @cell = "Passing")) = COUNT(CHILDREN()), "In Progress", "In Progress")))
Here are the scenarios and outputs I need:
If all children are "not started", parent = "not started"
If any child is "in progress", parent = "in progress"
If all children are "passing" or "achieved", parent = "passing"
If all children are "achieved", parent = "achieved"