Divide By Zero Error(again)
Hello,
I am getting a #DIVIDEBY ZERO error when using the following formula:
=ROUND(AVG({CDuration}, {CDuration}))
What's confusing is that I am using the exact formula in another sheet and the formula is working as expected. I have went over the source(reference) sheet multiple times looking possible flaws or issues in the source data to no avail. Nothing on the new source(reference) sheet looks any different from the source(reference) sheet where the formula is working without issue. Any thoughts?
Thank you,
Best Answer
-
Hi @LeAndre P
Two things to check here. First of all, you only need to list the column to Average inside an AVG function once, like so:
=ROUND(AVG({CDuration}))
See: https://help.smartsheet.com/function/avg
Then if this is still giving you an error, the second thing to check is if any of the cells in your {CDuration} column have the "Divide by Zero" error. Formula errors can work like dominoes, so if one cell in that column has an error, it will surface in this other formula as well.
Do you have a formula in {CDuration}? If so, you can wrap an IFERROR Function around that formula to make sure it outputs a blank cell instead of an error.
Let me know if this helps!
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Answers
-
Hi @LeAndre P
Two things to check here. First of all, you only need to list the column to Average inside an AVG function once, like so:
=ROUND(AVG({CDuration}))
See: https://help.smartsheet.com/function/avg
Then if this is still giving you an error, the second thing to check is if any of the cells in your {CDuration} column have the "Divide by Zero" error. Formula errors can work like dominoes, so if one cell in that column has an error, it will surface in this other formula as well.
Do you have a formula in {CDuration}? If so, you can wrap an IFERROR Function around that formula to make sure it outputs a blank cell instead of an error.
Let me know if this helps!
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
-
Thanks for helping. Its working now.
Thank you!! :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!