#DIVIDE BY ZERO Message/PERCENTILE Formula
I am using the formula =PERCENTILE(Agree@row / $[Total # of Surveys Completed]@row, 1) when the column Total# of Surveys Completed is 0, the message is returned #Divide by Zero. I want to show 0% instead of "Divide by Zero.
It does show 0% when any number of Total# of Surveys Completed is <0.
I'm sure there is a simple solution, but I can't seem to figure it out. Thank you-
Best Answers
-
Hi,
Use IfError function , such as :
=IFERROR( mylongFormula ,0)
-
This helped to find the answer,
=IFERROR(PERCENTILE(Agree@row / $[Total # of Surveys Completed]@row, 1), 0)
I have proofed it to the sheet and do not see any errors with data or without data. Thank you.
Answers
-
Hi,
Use IfError function , such as :
=IFERROR( mylongFormula ,0)
-
This helped to find the answer,
=IFERROR(PERCENTILE(Agree@row / $[Total # of Surveys Completed]@row, 1), 0)
I have proofed it to the sheet and do not see any errors with data or without data. Thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 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!