Excel IFError Function

This post will guide you how to use Excel IFERROR function with syntax and examples in Microsoft excel.

Description

The Excel IFERROR function returns an alternate value you specify if a formula results in an error, or returns the result of the formula.

The IFERROR function is a build-in function in Microsoft Excel and it is categorized as a Logical Function.

The IFERROR function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.

Syntax

The syntax of the IFERROR function is as below:

= IFERROR (value, value_if_error)

Where the IFERROR function arguments are:
Value -This is a required argument. The value or formula that you want to test
Value_if_error – This is a required argument.  The value that is returned if the formula evaluates to an error.  The below errors will check: #VALUE!, #N/A, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!.

Example

The below examples will show you how to use Excel IFERROR Function to return an alternate value if a formula evaluates to an error.

#1 =IFERROR(B2/B1,0)

excel iferror function example1

Note: the formula “B2/B1” will return an #DIV/0! Error,  if you use “IFERROR” function, the above excel formula will return an alternate value 0.

Comments

So empty here ... leave a comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

Sidebar