Percent function is not working as intended - shows 100 when that is not correct
This is the current function that AI produced for my question "Percent Inquiry related to not blank"
=COUNTIF([Inquiry related to]:[Inquiry related to], NOT(ISBLANK(@cell ))) / COUNT([Inquiry related to]:[Inquiry related to]) * 100
When I filter the data manually, I find that 267 (not blank)/508 total rows - should be 52.56% but its showing 100
I searched this question and one solution was to add COUNTIF to denominator, but this also did not work and gave #Incorrect Argument Set error.
Answers
-
The COUNT function will only count non-blank cells. The above will always output 100. Try the below and format your column for percentages.
=COUNTIFS([Inquiry related to]:[Inquiry related to], @cell <> "") / COUNTIFS([Inquiry related to]:[Inquiry related to], OR(@cell = "", @cell <> ""))
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
Check out the Formula Handbook template!