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
- 10.8K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!