Change a Cell Value (Checkbox)
I want to change a header row cell value (checkbox) if any of the rows below in another column (in the same worksheet) has check mark or not.
Best Answer
-
In that case just use a full column reference.
=IF(COUNTIFS([Other Column]:[Other Column], @cell = 1)> 0, 1)
Answers
-
If you are using indentations/hierarchy then you can use the CHILDREN function inside of a COUNTIFS.
=IF(COUNTIFS(CHILDREN([Other Column]@row), @cell = 1)> 0, 1)
-
Thanks, Paul, but the row are not a child of the header row.
-
In that case just use a full column reference.
=IF(COUNTIFS([Other Column]:[Other Column], @cell = 1)> 0, 1)
-
Thanks Paul, that worked
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!