Auto Checkbox: Only if All Children / Decedents are Checked
Good Day All:
I am trying to modify a basic Formula to Auto Checkbox the Parent only if All the Children / Decedents are Checked.
=COUNTIFS(DESCENDANTS(), 1)
Thanks
Best Answer
-
Try something like this...
Choose another column that has data in each of the rows you are wanting to take into consideration. For example the Task Name column if you have a list of tasks...
=IF(COUNTIFS(DESCENDANTS(), 1) = COUNT(DESCENDANTS([Task Name]@row)), 1)
Basically what this does is counts how many descendants this other column has populated. Then it will compare the count of checkboxes to that count. When they equal each other, then all have been checked, and the formula will check your box.
Answers
-
Try something like this...
Choose another column that has data in each of the rows you are wanting to take into consideration. For example the Task Name column if you have a list of tasks...
=IF(COUNTIFS(DESCENDANTS(), 1) = COUNT(DESCENDANTS([Task Name]@row)), 1)
Basically what this does is counts how many descendants this other column has populated. Then it will compare the count of checkboxes to that count. When they equal each other, then all have been checked, and the formula will check your box.
-
Excellent, that worked!
-
Happy to help! 👍️
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!