COUNTIF example formulas using check box columns
Comments
-
This should do the trick. Checkboxes use the actual value of 1 for checked and 0 for unchecked. You can divide the two countifs with simple math like seen below.
=Countif([column name]:[Column Name], 1) / Countif([column name]:[Column name], 0)
So if your column name is Completed Task then it would look like this:
=Countif([Completed Task]:[Completed Task], 1) / Countif([Complete Task]:[Complete Task], 0)
-
Thank you so much, that works perfect. Now I need to divide by the total number checked by the total number of boxes containg both checked and not checked. I'm so close but no cigar at this point. Any suggestions?
-
wouldn't it just be
=Countif([column name]:[Column Name], 1) / (Countif([column name]:[Column name], 0) + Countif([column name]:[Column name], 1))?
Also, the denominator is basically all so you could do a count rather than a countif ... but I think this formula is what you were describing
-
The formula dividing the total number into the number of checked is...
=countif([column name]:[column name], 1) / count([column name]:[column name])
The count function counts all unblank cells in the range.
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!