division by zero error

P

peter

I have a spreadsheet that divides one cell by another. The problem is
the cells do not always contain data. Is there any way to remove the
#DIV/0! message that comes up? It does not look too professional.
Thanks,
Peter
 
P

Paul B

Peter here is one way, instead of =A1/B1 you could use
=IF(ISERROR(A1/B1),"",A1/B1)

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
 

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

Dive by Zero Error 6
Excel does not accept text format! 0
Division by Zero Error 1
#DIV error 5
Dividing by Zero in Access Reports 9
division formula 2
Grouping Names in Mail Merge 0
Extract name, address and ph# 8

Top