jump to last post 1-5 of 5 discussions (5 posts)

Any umber Divided by Zero is Infinity. How do I Overcome this Bug of MS Excel giving me #DIV/0! ?

Of course #DIV/0! is not infinity.Sorry, but this question should read:

Any Number Divided by Zero is Infinity. How do I Overcome this Bug of MS Excel giving me #DIV/0! ?

Of course #DIV/0! is not infinity.Number -- that is not an error. Excel (or any program doing arithmetic) will display a similar "divide by zero" message. It is better for the program to stop or go to an error routine than to try to continue with "infinity" (impossible) or the largest number available to the program.

First, the technical answer (if it's boring or you don't understand, just skip to the practical part):

Actually, there may be some confusion involved here. Under the standard interpretation of the mathematical operator "/", the operator is "undefined" for 0. What this means is that the operator denotes a "partial" function which is not defined for every input.

There could be systems in which division by 0 results in "infinity," but this would be a non-standard system. (Although in the most popular non-standard system, based on infinitesimals and transfinite cardinals, division by zero is still undefined.)

Wikipedia has a nice article that goes through some possibilities, including the idea that division by zero results in infinity.

http://en.wikipedia.org/wiki/Division_by_zero

Practical answer:

"#DIV/0!" is not strictly a bug, it was intentional. This is Excel's way of saying "undefined," but there may be a way to get a different result. One solution might be to write a macro which scans the Excel worksheet either for "#DIV/0!" or for formulae which actually divide by zero, and then overwrites these entries with something more meaningful (for example "infinity"). There may be other ways, but that is the one that comes to mind."#DIV/0!" is the result of a formula when divisor cell contains nothing. I use an "if" formula that returns nothing if the divisor cell is blank or has 0 in it. Test this by typing numbers 1 to 3 in cells a1 to a3 and numbers 1 to 2 in cells b1 to b2. In cell c1, type the formula: =if(b1=0,0,a1/b1) and copy this formula to cells c2 and c3. Cell c3 will display 0 and not #DIV/0! although cell b3 has nothing in it.

Related Discussions

- 5
### Any Positive Number Divided By Zero Is Positive Infinity. What Is Zero Divided B

by ngureco5 years ago

Any Positive Number Divided By Zero Is Positive Infinity. What Is Zero Divided By Zero?And Any Negative Number Divided By Zero Is Negative Infinity.

- 3
### Does The Quotient Of 22 Divided By 7 Exist?

by PhoenixV20 months ago

Does The Quotient Of 22 Divided By 7 Exist?

- 4
### What are the many types of infinity in Mathematics?

by Sid Kemp5 years ago

What are the many types of infinity in Mathematics?I have heard that, in mathematics, there are many types of infinity. I'm aware of some examples. But I'd like to collect more. Could people please share different types...

- 71
### What are numbers? are they absolutes or abstracts?

by Cecilia7 years ago

Some people think that zero is nothing. I know for a fact that zero represents "cannot count". Because we create units and assign numbers to them. that is why zero=infinity.Numbers are abstracts...

- 7
### Is mathematics discovered or invented?

by ptosis5 years ago

Is mathematics discovered or invented?

- 6
### Why does infinity divided by infinity equal one?

by Daniel J. Neumann7 years ago

Why does infinity divided by infinity equal one?How do we know the eternal progression of one infinity doesn't increase at a different rate from the other? In short, I'd argue infinity divided by infinity equals...

Copyright © 2018 HubPages Inc. and respective owners.

Other product and company names shown may be trademarks of their respective owners.

HubPages^{®} is a registered Service Mark of HubPages, Inc.

HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.

terms of use privacy policy (0.12 sec)

working