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
- 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!