Quizzes & Puzzles1 min ago
Excel Formula won't divide by 0 (zero)
Hi All
I'm trying to work out percentage differences in an Excel Spreadsheet and having trouble going up from 0.
To explain if the figures go down from e.g. 5 to 9 to 0 the percentage is calculated as down by 80% then down by 100% spot on! HOWEVER, if the figures go down from 1 to 0 then up tp 10......no dice! I get a 100% reduction in the first cell and then an #DIV/0! error in the last cell. I presume this is because I am trying to divide by 0. Excel error help says change the figure? Duuuur if i could juggle my figures that well I would be a rich man!
TIA for any assistance.
I'm trying to work out percentage differences in an Excel Spreadsheet and having trouble going up from 0.
To explain if the figures go down from e.g. 5 to 9 to 0 the percentage is calculated as down by 80% then down by 100% spot on! HOWEVER, if the figures go down from 1 to 0 then up tp 10......no dice! I get a 100% reduction in the first cell and then an #DIV/0! error in the last cell. I presume this is because I am trying to divide by 0. Excel error help says change the figure? Duuuur if i could juggle my figures that well I would be a rich man!
TIA for any assistance.
Answers
Best Answer
No best answer has yet been selected by daginge. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Yes you are missing something. An increase from 1 to 10 would be a ten fold increase. An increase from 0 to 10 is an infinite percentage increase.
That's how percentages work.
Excel is correct
By the way, when you gave an example of figures going down from 5 to 9 and said this was down by 0%, I think you meant to say increased from 5 to 9- which would be an 80% increase
That's how percentages work.
Excel is correct
By the way, when you gave an example of figures going down from 5 to 9 and said this was down by 0%, I think you meant to say increased from 5 to 9- which would be an 80% increase
You have two possibilities, I guess.
1 review what your table was trying to show - is a table the best way to display the change over time? - would a graph of the actual figures be a better way to demonstrate what has been going on?
2 use the ISERROR function in Excel to trap the attempt to divide by zero which would allow you to put in a text explanation of the problem
1 review what your table was trying to show - is a table the best way to display the change over time? - would a graph of the actual figures be a better way to demonstrate what has been going on?
2 use the ISERROR function in Excel to trap the attempt to divide by zero which would allow you to put in a text explanation of the problem
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.