#DIV/0 error

D

Daniell

What I am working with is a simple divide statment using two worksheets.

=('Product'!P20/'Product'!P21)

If the answer comes out to zero I get the #DIV/0!, is there a solution to
just putting a zero in that cell?

Thanks in advance.
 
G

gevans

You should only be getting the divide/overflow when you divide by zero. If
the actual answer is zero, it should put a "0" in the cell. Did I
misunderstand the question?
 
P

Peo Sjoblom

=IF('Product'!P21=0,0,'Product'!P20/'Product'!P21)



--

Regards,

Peo Sjoblom

Northwest Excel Solutions

Portland, Oregon
 
D

Daniell

Thanks, I seen what I was doing wrong. I placed a space and another
character on the string. I appreciate the help.
 
J

John

Guys i need URGENT help with this formula

i have 3 cells M62=M63/M64*100

now if both M63 and M64 are 0, I need M62 to display 0, but i know 0/0 gives
the DIV/0 error.

please let me know if there's a way around this.

Many Thanx
John
 
D

Don Guillett

All requests are handled the same way here. An URGENT request is sometimes
ignored.
 
J

JoeU2004

John said:
i have 3 cells M62=M63/M64*100
now if both M63 and M64 are 0, I need M62 to display 0,
but i know 0/0 gives the DIV/0 error.

=if(M64=0,0,M63/M64*100)

Never mind about M63 being zero. The formula will handle that just fine.


----- original message -----
 

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

How do I make #DIV/0! error message go away? 2
Supress DIV/0 2
Macro to get rid of #DIV/0! 2
div/0! 4
#DIV/O! 5
#DIV error 5
#DIV/0 Error 4
how to remove #DIV/0! 7

Top