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.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!