Countif on Checkbox column type
Hi, I am trying to get the % of tasks complete.
The column is a checkbox type.
This allows me to get the number as long as all columns are 1 (checked) or 0 (unchecked)
=ROUND(100 * (COUNTIFS(ES2:ES36, 1) / COUNT(ES2:ES36))) + "%"
I need to add a Count if ES2:ES36 contains only 1 or 0, so if the column is set to N/A then the formula does not count it as part of the total.
Thanks!
Comments
-
You would change the second portion COUNT to a COUNTIFS and include the criteria.
=ROUND(100 * (COUNTIFS(ES2:ES36, 1) / COUNTIFS(ES2:ES36, <> "N/A"))) + "%"
-
Thanks Paul, I did so but still get an error.
See the screenshot below. Thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 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!