Advanced Excel Logical - IFERROR Function



Description

The IFERROR function returns a value you specify if a formula evaluates to an error. Otherwise, returns the result of the formula. Use the IFERROR function to trap and handle errors in a formula.

Syntax

IFERROR (value, value_if_error) 

Arguments

Argument Description Required/ Optional
value The argument that is checked for an error. Required
value_if_error The value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE! , #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!. Required

Notes

  • If Value or Value_if_error is an empty cell, IFERROR treats it as an empty string value ("").

  • If Value is an array formula, IFERROR returns an array of results for each cell in the range specified in value.

Applicability

Excel 2007, Excel 2010, Excel 2013, Excel 2016

Example

IFERROR Function
advanced_excel_logical_functions.htm
Advertisements