LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Recognizing Unstable Values in Excel

Hi,

Excel contains 7 built-in error types of which DIV/0 is one, the others are
Error Type#
#NULL! 1
#DIV/0! 2
#VALUE! 3
#REF! 4
#NAME? 5
#NUM! 6
#N/A 7

You can trap these with the following functions:
=ISERR(A1)
=ISNA(A1)
=ISERROR(A1)
=ERROR.TYPE(A1)

You usually combine on of the above with an IF statement such as
=IF(ISERR(A1),"",A1)
However, it is common when you get a DIV/0 message to consider what is
causing that and trapping that rather than the error itself, for example
If A1=0 the formula =B1/A1 would return the DIV/0 error, so we would trap
the value of A1 as follows:
=IF(A1=0,"",B1/A1)
In this case if A1 is blank or 0, the formula will show nothing in the cells.

--
Thanks,
Shane Devenshire


"Ken" wrote:

I apologize if someone already saw or answered this question ... I can't find
which subcategory of Excel groups where it apparently was posted earlier.
My question is how can you write an if then statement that recognizes that
the cell has an unstable answer. When I use the statement,
IF(A1="#DIV/0!",1), the cell doesn't return the value of "1" when the values
are unstable. How would I do this?
--
Ken

 
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
Pivot table not recognizing same field values neilmber Excel Discussion (Misc queries) 1 May 8th 08 01:19 AM
Excel 2002: Unstable colour settings Mr. Low Excel Discussion (Misc queries) 0 April 30th 08 01:34 PM
Recognizing Real Values Ken Excel Discussion (Misc queries) 2 September 18th 07 07:08 AM
Excel not recognizing equal values san-avsc Excel Worksheet Functions 5 November 3rd 06 10:19 PM
Excel 97 unstable Setting up and Configuration of Excel 0 March 27th 06 10:41 AM


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