Go Back

Excel IFERROR Function

When a given formula in excel generates an error, we can use the IFERROR function to get a custom result, as well as a standard result when there is no error detected. This function is fundamental to those who want to avoid the complicated nested IF function to trap and manage errors.  This post provides an illustrative guide on how to use the Excel IFERROR function to trap and manage error.

Figure 1: How to use IFERROR function in excel

General syntax of the formula

=IFERROR (value, value_if_error)


  • value –refers to the value, reference or formula you are using to check for the error
  • value_if_error- refers to the value to return if error is found

Understanding the formula

The IFERROR function is fundamental when it comes to managing errors generated by formulas and other functions. This function will check for the following errors; #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, NAME? and #NULL!


Figure 2: Showing error as “N/A” in excel using IFERROR function

In this example, we want the result of the formula to be “N/A” where an error is encountered. To do this, we simply specify in the formula as shown


With this, every cell that brings an error will be replaced by “N/A”.

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

Im having an error with the formula " =iferror(vlookup(Construction!B3,Table7[[Product No.]:[Bulk Price Unit]],3,false),iferror(vlookup(Construction!B3,Table8[[Product No.]:[Bulk Price Unit]],3,false),iferror(vlookup(Construction!B3,Table10[[Product No.]:[Bulk Price Unit]],3,false),iferror(vlookup(Construction!B3,Table11[[Product No.]:[Bulk Price Unit]],3,false),iferror(vlookup(Construction!B3,Table12[[Product No.]:[Bulk Price Unit]],3,false),iferror(vlookup(Construction!B3,Table13[[Product No.]:[Bulk Price Unit]],3,false)) " !
Solved by S. L. in 30 mins
I need help with iferror formula created
Solved by T. H. in 18 mins
Need help with iferror and tranpose formula
Solved by T. Y. in 29 mins

Leave a Comment