#div/0 ?

G

Geauxfish

How can I get around the equations giving me this #div/0? I know it refers to
$0.00, but I need the formula to read that amount.
 
S

Shane Devenshire

Since you did not show us the formula generating the problem, here are two
options which might be applicable:

=IF(A1=0,A1,B1/A1)

in 2007:

=IFERROR(B1/A1,A1)
 
J

Jim Thomlinson

I personally would avoid the iferror function as it is just to general. It
will catch any error not just #Div/0. If you get a #ref or #value it will
return nothing when quite possibly those error point to a corrption in your
file. As ageneral rule I keep my error handling as specific as possible.

That is just my 2 cents...
 
G

Geauxfish

Sorry I didn't post a formula, here are two formula's giving me the #div/0 in
seperate columns, same row.

T9/sum(W9,X9,Y9) is cell Q9
(total cost per cycle)=sum(T9)/large(w9:y9,1) is cell R9, it is taking the
largest number of cycles between 0-12 in cell w9, x9, y9, but when 0 is there
it gives me #div/0.

I will try your formula and see
 
J

Jim Thomlinson

=if(sum(W9,X9,Y9) = 0, 0, T9/sum(W9,X9,Y9))
=if(large(w9:y9,1) = 0, 0, T9/large(w9:y9,1))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

#div/0 error 2
iserror problem 9
Div / 0 5
Div/0 error on running mean % 2
Div 0 help 1
SUM ... Numbers, Nulls "", & Div/0 5
When dividing by 0 can i show a result of 0 instead of #DIV/0 7
how to hide #DIV/0! 6

Top