Check parent task if children tasks have all been checked

Good day
I need help to auto complete a parent task if all tasks relating to the parent has been checked?
See pic below. I know you can use IF formula, but would like to use something a bit more automated using ANCESTOR function if possible. So that I can convert the values to a column formula
Assistance will be appreciated!
Regards,
Best Answer
-
Create a column called "Helper Column" that you can hide after putting formula
=IF([Task Complete]@row = 1, 1, 0)
Convert it to a column formula before hiding it. (Right-click and select "Convert to Column Formula")
Then on the rows that will be checked automatically after the tasks are completed use this formula in those check box cells.
=IF(SUM(CHILDREN([Helper Column]@row)) = COUNT(CHILDREN([Helper Column]@row)), 1, 0)
Answers
-
Create a column called "Helper Column" that you can hide after putting formula
=IF([Task Complete]@row = 1, 1, 0)
Convert it to a column formula before hiding it. (Right-click and select "Convert to Column Formula")
Then on the rows that will be checked automatically after the tasks are completed use this formula in those check box cells.
=IF(SUM(CHILDREN([Helper Column]@row)) = COUNT(CHILDREN([Helper Column]@row)), 1, 0)
-
Hi Devin
Great stuff. Thank you. It works perfect.
Regards,
-
Hi Devin
Just a follow up on the above question. How do I modify the formula to ONLY check the box for the 'Complete' column WHEN task 1,2 & 3 have been set to approved ("yes")?
Thanks again!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.5K Get Help
- 433 Global Discussions
- 152 Industry Talk
- 494 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 505 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!