Formula Error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How Do I get rid of the #/DIV/0! when a formula e.g. a2+a3+a4/a5 does not
work if a5 is blank. I would like it to display 0
 
Marshall, here is one way, =IF(ISBLANK(A5),0,A2+A3+A4/A5)
--
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
 
The other two suggestions work if A5 is blank, but you'll still get the error
if A5 contains a zero.

How about

=if(a5=0,0,a2+a3+a4/a5)
 

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

Back
Top