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
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!