I used this formula in the past and it worked, but I no longer want the cell to have an updated Status of "Complete" if all sub rows are marked "Complete" or "Not Applicable". I would like to change it to return a Status of "Complete" if ALL sub rows are "Complete" and a Status of "Not Applicable" if ALL sub rows are marked "Not Applicable". I would like to keep all conditions/returned Status values the same after the first COUNTIF formula:
=IF(COUNTIF(CHILDREN(), OR(@cell = "Complete", @cell = "Not Applicable")) = COUNT(CHILDREN()), "Complete", IF(COUNTIF(CHILDREN(), OR(@cell = "Not Applicable", @cell = "Not Started")) = COUNT(CHILDREN()), "Not Started", IF(COUNTIF(CHILDREN(), "In Progress") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Not Started") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Not Applicable") > 0, "In Progress")))))
This is the best new formula I have developed, but it returns an error message consistently:
=IF(COUNTIF(CHILDREN(), "Complete"), "Complete", IF(COUNTIF(CHILDREN(), "Not Applicable"), "Not Applicable", IF(COUNTIF(CHILDREN(), OR(@cell = "Not Applicable", @cell = "Not Started")) = COUNT(CHILDREN()), "Not Started", IF(COUNTIF(CHILDREN(), "In Progress") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Not Started") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Not Applicable") > 0, "In Progress"))))))
Any help is much appreciated! Thank you