#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
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!