How do I Check/Uncheck Parent if at least 1 Child is checked?

I have been using this formula:
=IF(COUNTIFS(CHILDREN(), <>0), 1, 0) but if more that one child is checked in the column it comes up with #INVALID DATA TYPE .
How can i fix this. The requirement is at least one Child row must be checked for parent row to be true if not false.
Best Answer
Answers
-
@SJM1609 see if this works for you:
- =IF(CONTAINS(1, CHILDREN()), 1, 0)
Best,
Zach Hall
Training Delivery Manager / Charter Communications
-
Hi @Zachary Hall ,
Thanks for your response. This formula Unchecks the parent regardless of whether there is a check in the children column.
Are there any other solutions. Please see snippet for example of data.
-
Hi @SJM1609,
Sorry about that! I verified and it looks like the reason this doesn't work is due to the checkbox's boolean value because it works with strings, numbers, and even symbols. I am going to see if I can come up with another solution, but in the meantime welcome anyone who knows more to help!
Best,
Zach Hall
Training Delivery Manager / Charter Communications
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!