Parent/Children formula help.
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?
Best Answers
-
Try something like this...
=IF(COUNTIFS(CHILDREN(), 1) = COUNTIFS(CHILDREN(), OR(@cell = 1, @cell <> 1)), 1)
-
Happy to help. 👍️
-
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.
Answers
-
Hi @Laura Bell
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
-
Try something like this...
=IF(COUNTIFS(CHILDREN(), 1) = COUNTIFS(CHILDREN(), OR(@cell = 1, @cell <> 1)), 1)
-
Thank you so much!!
-
Happy to help. 👍️
-
@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
-
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
✅Did my post(s) help or answer your question or solve your problem? Please help 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.
-
@Stacey Carrasco Looks like @Andrée Starå beat me to it. His solution should work for you.
-
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
-
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
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 61 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!