LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #14   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Using ISERROR to Solve #DIV/0 in a formula

"bj" wrote...
maybe
=if(or(c43=0,C43+G43=0),0,g4/c43)

....

The OP was confused when giving C43+G43=0 in the origin example formula.
That formula didn't come close to matching the prose specs. There's no need
to check C43+G43=0 unless the OP doesn't want instances of C43 < 0 and C43
= -G43 to result in 0 rather than -1. Off the top of my head, I can't think
of any reason why the OP would want 0 as result instead of -1 but would want
other negative ratios when C43 is nonzero and has the opposite sign of G43.


 
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 to use Excel to solve inequality formula? [email protected] Excel Discussion (Misc queries) 3 August 8th 07 04:51 AM
formula to solve Ben Excel Discussion (Misc queries) 2 August 8th 07 12:01 AM
Formula to solve Sunnyskies Excel Discussion (Misc queries) 3 February 19th 07 04:36 PM
Int Iserror Len Mid Find formula Aaron Excel Worksheet Functions 1 October 17th 06 05:56 AM
simple average formula...can you solve it in principle? krasavchik Excel Discussion (Misc queries) 2 April 25th 06 06:48 PM


All times are GMT +1. The time now is 02:26 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"