Quantcast
Channel: Excel Yogi's » Functions
Viewing all articles
Browse latest Browse all 10

How to Use ISERROR Function in Excel

0
0

The ISERROR function is a versatile one that is very useful in testing an outcome of a formula so that you can account for any errors, more on that later…First, lets learn the syntax:

=iserror(A1)

A1 is the cell you want to test for an error. If A1 contains #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME!, or #NULL!, the result will be TRUE, otherwise it will be FALSE.

The most common usefor this function is within the IF function to check for error and then handle it. For example:

if(iserror(A1), B1,A1)

The formula above checks A1 for an error, if there is an error it takes the value in B1, otherwise it will use the value in A1. This is also useful within the vlookup function since non matched values will return an error.

Joseph Harris
Excel Help

Related posts:

  1. Removing #N/A error in Excel using ISNA()
  2. #VALUE! Error in Microsoft Excel
  3. Vlookup – My Favorite Function

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images