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.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 466 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 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!