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

getting the divide by zero error with this formula

=IF(F175=0,0,+F175/L155)

F175=sum of cells equaling 4
L155=sum of cells equaling 0

any help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default divide by zero error

Try

=IF(AND(F175<0,L155<0),F175/L155,"")

If this post helps click Yes
---------------
Jacob Skaria


"susancca" wrote:

getting the divide by zero error with this formula

=IF(F175=0,0,+F175/L155)

F175=sum of cells equaling 4
L155=sum of cells equaling 0

any help?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default divide by zero error

Thank you very much! this helped tremendously and I can fix my managers
spreadsheet :)!

"David Biddulph" wrote:

Firstly you don't need the + before F175/H155
Secondly you don't need to test for F175 being zero, because if F175 is zero
and you divide it by anything non-zero you'll get zero anyway.

What you need to test for to avoid a #DIV/0! error is L155 being zero.
=IF(F155=0,"",F175/L155)
--
David Biddulph


"susancca" wrote in message
...
getting the divide by zero error with this formula

=IF(F175=0,0,+F175/L155)

F175=sum of cells equaling 4
L155=sum of cells equaling 0

any help?



.

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
Divide by zero error Jacq Excel Discussion (Misc queries) 4 July 8th 09 06:59 AM
Divide by zero error Chris Excel Worksheet Functions 3 January 13th 09 03:14 PM
Divide by Zero Error hkslater Excel Worksheet Functions 7 June 12th 08 02:59 AM
divide by 0 error jmp JohnnyJomp New Users to Excel 2 February 29th 08 05:32 PM
Divide by zero error jimmy Excel Discussion (Misc queries) 1 June 13th 07 02:36 AM


All times are GMT +1. The time now is 09:33 PM.

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

About Us

"It's about Microsoft Excel"