#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
- 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
Check out the Formula Handbook template!