Formula Error

  • Thread starter Marshall Scmidt
  • Start date
M

Marshall Scmidt

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
 
P

Paul B

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
 
D

Duke Carey

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)
 
Top