Formula to check a parent checkbox when any child is complete & formula to complete a parent status
Hi,
I need help on two formulas.
Formula 1: I need the parent box to be checked any time a child task is checked. So when any of the child tasks on TestAccount are checked in "test needed", I want the TestAccount parent checkbox to be checked so I can then copy all checked parents and children to a new sheet.
Formula 2: I need the parent to be completed when ALL child task status change to complete. When step1 & step 2 are complete for technical introduction, I want technical introduction status to change to complete. When all tasks are complete for technical introduction & Requirements gathering, I want executions status to change to complete.
Appreciate the help,
Stephanie
Best Answer
-
Try something like this:
Formula 1:
=IF(COUNTIFS(CHILDREN(), @cell = 1)> 0, 1)
Formula 2:
=IF(COUNTIFS(CHILDREN(), @cell = "Complete") = COUNT(CHILDREN()), "Complete", IF(COUNTIFS(CHILDREN(), @cell = "Not Started") = COUNT(CHILDREN()), "Not Started", "In Progress"))
Answers
-
Try something like this:
Formula 1:
=IF(COUNTIFS(CHILDREN(), @cell = 1)> 0, 1)
Formula 2:
=IF(COUNTIFS(CHILDREN(), @cell = "Complete") = COUNT(CHILDREN()), "Complete", IF(COUNTIFS(CHILDREN(), @cell = "Not Started") = COUNT(CHILDREN()), "Not Started", "In Progress"))
-
This worked! Thank you so much.
-
Help Article Resources
Categories
Check out the Formula Handbook template!