I'm trying to write a formula for:
If all child statuses are Passed then parent status is Closed
If all child statuses are Passed or Retest Passed then parent status is Closed
If all child statuses are Not Started then parent status is Not Started
If child statuses are blank or Not Started then parent status is Not Started
If all child statuses are blank then parent status is Not Started
This is not working
=IF(COUNTIFS(CHILDREN(), "Passed") = COUNT(CHILDREN()), "Closed", IF(COUNTIFS(CHILDREN(), OR(@cell = "Passed", @cell = "Retest Passed")) = COUNT(CHILDREN()), "Closed", IF(COUNTIFS(CHILDREN(), OR(@cell = "Not Started", @cell = “ “)) = COUNT(CHILDREN()), "Not Started")))