![]() |
Formula Error
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 |
=IF(A5="",0,A3+A4+A4/A5)
-- Regards Roger Govier "Marshall Scmidt" wrote in message ... 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 |
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 "Marshall Scmidt" wrote in message ... 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 |
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) "Marshall Scmidt" wrote: 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 |
All times are GMT +1. The time now is 03:11 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com