#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Divide by zero error

I am adding C14 & C15 in the formula. If C15 is blank or zero, I get the
error "Divide by zero error". The formula used in sheet one is
'=$C$20/($C$14+$C$15)/$C$16
C14 & C15 is also transfered to sheet 2 (C11 & C12) where C13 is (C11+C12).
Wondering what might be the best way to get rid of the error, and formulate
these 2 sheets.

--
jimmy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Divide by zero error

Try this:

=IF(OR(SUM(C14,C15)=0,C16=0),0,$C$20/($C$14+$C$15)/$C$16)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"jimmy" wrote in message
...
I am adding C14 & C15 in the formula. If C15 is blank or zero, I get the
error "Divide by zero error". The formula used in sheet one is
'=$C$20/($C$14+$C$15)/$C$16
C14 & C15 is also transfered to sheet 2 (C11 & C12) where C13 is
(C11+C12).
Wondering what might be the best way to get rid of the error, and
formulate
these 2 sheets.

--
jimmy



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
Running Average ? and Divide by 0 error! [email protected] Excel Worksheet Functions 3 February 1st 07 09:03 PM
How do I hide a divide by zero error from an average formula? Julia Excel Worksheet Functions 2 January 20th 07 01:51 PM
Divide by zero error gregmosu Excel Discussion (Misc queries) 1 June 30th 06 05:00 PM
Sum and Divide Formula error JaB Excel Worksheet Functions 7 April 19th 06 07:47 PM
excel divide by zero error Titanium Excel Worksheet Functions 5 November 27th 05 12:15 AM


All times are GMT +1. The time now is 02:17 AM.

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"