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
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 61 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 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!