#1   Report Post  
Marshall Scmidt
 
Posts: n/a
Default 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
  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

=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



  #3   Report Post  
Paul B
 
Posts: n/a
Default

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



  #4   Report Post  
Duke Carey
 
Posts: n/a
Default

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I prevent the "division by zero" error in this formula Watercolor artist Excel Worksheet Functions 2 June 27th 05 03:31 PM
Formula syntax error - chinese and gibberish Joshua Fandango Excel Discussion (Misc queries) 3 March 29th 05 01:27 PM
Formula error... Jambruins Excel Discussion (Misc queries) 2 February 24th 05 09:57 PM
Formula Error Mike R Excel Discussion (Misc queries) 6 January 15th 05 05:27 AM
Formula MATCH error peterfc2 Excel Worksheet Functions 0 November 8th 04 05:53 PM


All times are GMT +1. The time now is 07:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"