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
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!