LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Getting rid of error messages while using IF statements

Hello,

I have a series of relatively simple formulas, set up in a complex
manner that are returning errors on me.

I have an assumptions sheet that the first formula makes reference to.
Sometimes a cell in the assumptions will be blank, and sometimes it
won't as the data changes. the first formula is:

A10
=1/Assumptions!AB18

Now if the cell in Assumptions!AB18 happens to be blank, the next
formula will return a #DIV/0 error:

C10
=$A10*C$3

Finally, if there is a 0 or #DIV/0 in C10 then the formula in E10 will
error out as well.

E10
=IF(D10="",$A10*D$3,($A10-((D10/2)*$A10))*D$3)

I realize this may be troublesome to get the mind around. But is there
any way, in the last formula (E10) to tell it to do nothing if C10 is
blank? And the same for C10, and then the same for A10?

 
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
UDFunctions and nested If-the-else statements JDB Excel Worksheet Functions 1 January 25th 06 03:29 PM
How do I sum percentages calculated from IF statements? Rusty T Excel Worksheet Functions 3 November 9th 05 10:02 PM
Linking two IF statements together trixma Excel Discussion (Misc queries) 2 September 29th 05 06:07 AM
Better Way to Code IF Statements? TheRobsterUK Excel Discussion (Misc queries) 4 July 18th 05 03:37 PM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM


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