# Parent and Children column status updated according to the Children

Options
✭✭
edited 08/10/23

Hello again,

I added this formula for my parent column to be updated once things change in the Children:

=IF(COUNTIFS(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIFS(CHILDREN(), "In Progress") = COUNT(CHILDREN()), "In Progress", IF(COUNTIFS(CHILDREN(), "On Hold") = COUNT(CHILDREN()), "On Hold", "Completed")))

However, I would like for the status to change for example, I have 4 children rows: once the first one is updated to in progress, parent will be in progress. and will keep in progress until all the Children are completed. But if I complete the 1st children row, the parent also updated to completed

• ✭✭✭✭✭✭
Options

Will this work?

• =IF(COUNTIFS(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIFS(CHILDREN(), "Complete") = COUNT(CHILDREN()), "Complete", IF(COUNTIFS(CHILDREN(), "On Hold") = COUNT(CHILDREN()), "On Hold", "In Progress")))
• ✭✭
Options

It did work until this. It doesn't change from "In Progress", even if the children are completed and Oh Hold

• ✭✭✭✭✭✭
Options

Hi @Nandafc

Oh, you want to make "Complete" + "On Hold" = "Complete"!.

Then, try this.

• =IF(COUNTIFS(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIFS(CHILDREN(), "On Hold") = COUNT(CHILDREN()), "On Hold", IF(COUNTIFS(CHILDREN(), "Complete") + COUNTIFS(CHILDREN(), "On Hold") = COUNT(CHILDREN()), "Complete", "In Progress")))

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!