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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!