# Parent/Children formula help.

Options
✭✭✭✭✭

Hi! I am wondering if someone can help me with a formula? I have a parent row with multiple children row underneath. I have a column with checkboxes to be marked when the task is completed. After all children rows tasks are completed, I want the parent row checkbox to become checked. Is this possible?

Tags:

• ✭✭✭✭✭✭
Options

Try something like this...

=IF(COUNTIFS(CHILDREN(), 1) = COUNTIFS(CHILDREN(), OR(@cell = 1, @cell <> 1)), 1)

• ✭✭✭✭✭✭
Options

Happy to help. 👍️

• ✭✭✭✭✭✭
Options

Excellent!

You're more than welcome!

Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• ✭✭✭✭✭
Options

Of course it's possible.

That's how it's done in your parent row:

=IF(COUNT(CHILDREN([Main Column]@row))=COUNTIF(CHILDREN(),1),1,0)

Hope it helped

• ✭✭✭✭✭✭
Options

Try something like this...

=IF(COUNTIFS(CHILDREN(), 1) = COUNTIFS(CHILDREN(), OR(@cell = 1, @cell <> 1)), 1)

• ✭✭✭✭✭
Options

Thank you so much!!

• ✭✭✭✭✭✭
Options

Happy to help. 👍️

• ✭✭✭✭✭✭
Options

@Paul Newcome Can you help me figure out what I think should be an easy formula similar to the ones above but I keep returning unparseable

I want the check box to check if there are children rows under the parent. That's all just check the box if the row has children or not.

I had this formula but it's not working: =IF(CHILDREN([Task Name]@row, 1, 0)

Senior Program Coordinator

De Anza College

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

Try something like this.

```=IF(COUNT(CHILDREN([Task Name]@row)) > 0, 1, 0)
```

Did that work/help?

I hope that helps!

Be safe and have a fantastic week!

Best,

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• ✭✭✭✭✭✭
Options

@Stacey Carrasco Looks like @Andrée Starå beat me to it. His solution should work for you.

• ✭✭✭✭✭✭
Options

YES that worked lovely! 😁 I didn't think a Count was the needed indicator, okay thanks!!

Thank you both for always solving my issues.

Much appreciated!!

Be well!!

Senior Program Coordinator

De Anza College

• ✭✭✭✭✭✭
Options

Excellent!

You're more than welcome!

Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!