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.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!