How to make a cell display 1 if a box is checked
Really simple code I can't figure out, I just need code that changes the cell to a 1 if the "Submitted" box is ticked in another cell in the same row and display a 0 if unchecked.
This is for another sheet where I'm just gonna use SUMIF to add up all the 1's that appear in this sheet.
Answers
-
Below is the formula:
=IF([Submitted]@row = true, 1, 0) -
Alternatively, instead of SUMIF you could use =COUNTIF(Submitted:Submitted,1) to count how many boxes are checked.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 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!