# 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

Tags:

• ✭✭✭✭✭✭

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"))

• ✭✭✭✭✭✭

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.

• ✭✭✭✭✭✭

Happy to help. 👍️

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!