LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Markthepain
 
Posts: n/a
Default Unresolved Errors in IF Statements - Errors do not show in results

In a formula using multiple IF statements an error created by a #ref does not
show in the calculation result as a #ref error. For example, with A1=1 and
B1=2
=IF(A1<B1,0,IF(tab1!A1=B2,1,2)) evaluates correctly to 0 when Tab1 exists,
If Tab1 is deleted, the formula evaulates to
=IF(A1<B1,0,IF(#REF!A1=B2,1,2)). The user does not know that the formula now
has an error condition that will evaluate to #REF if the second condition
becomes true.

In large, complicated spreadsheets this situation allows for errors to
appear unexpectedly. My question is: why when changes or deletions are made
to calculation attributes isn't the entire formula scanned and errors
displayed when the recalculation is completed. The formula attributes are
scanned when the formula is created or changed.
 
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
I want the results of a formula to show in cell, NOT THE FORMULA! ocbecky Excel Discussion (Misc queries) 4 December 10th 04 08:39 PM


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