How to use the IFERROR function in Excel

Excel has many common functions, including the IFERROR function. If you are looking to understand the syntax of the IFERROR function and want to see illustrative examples to understand how to apply it, please refer to the following article.

Besides the IFERROR function in Excel for fixing errors in Excel formulas, readers can refer to some articles already available on TipsMake to learn about the SWITCH and AVERAGE functions in Excel.

The IFERROR function in Excel


Description of the IFERROR function in Excel, fixing errors in Excel formulas.

The IFERROR function in Excel takes two values ​​(or expressions) and checks if:

- If the first value provided does not evaluate to an error, the result will be that value.
- If the first value provided evaluates to an error, the result will be the second value provided.

The syntax for the IFERROR function in Excel is as follows:

IFERROR( value, value_if_error )

Where:
- Value : The first value or expression to be checked.
- Value_if_error : The alternative value or expression, returned by concatenating the provided value argument, which returns an error.

Note: The IfError function is new in Excel 2007, so it is not available in earlier versions of Excel.

For example, the IFERROR function in Excel, corrects errors in Excel formulas.

Example 1:
The spreadsheet below illustrates the IfError function in Excel.
Formula:

The result returned:

Note:
- In the first example (in cell C1), the value argument, A1/B1, returns 0.5. This is not an error, so this value is returned by the IfError function.
- In the second example (in cell C2), the value argument, A2/B2, returns the error #DIV/0!. Therefore, the IfError function returns the value_if_error argument, which is 0.

Example 2:
In the spreadsheet below, the IfError function in Excel is used with the Vlookup function.
Formula:

The result returned:

If the Vlookup function successfully retrieves a value, it will be displayed in the cell. Otherwise, a "not found" message will be displayed.


Above is some information and examples of the IFERROR function in Excel, used to correct errors in Excel formulas. Additionally, readers can visit the Microsoft website to find more examples of the IFERROR function in Excel. The IF function in Excel is also frequently used in various problems; it retrieves a value based on a given condition.

Other Office information articles
  • What is the COUNT function used for? Some things to note when using it.

    many excel users, especially beginners, wonder what the count function is used for. in fact, there are five different types of count functions in excel. this article from tipsmake will introduce you to the count function and how to use it in excel.
  • What is the function in Excel that retrieves the current date and time?

    do you want to enter today's date into several cells in your excel spreadsheet? or are you looking to mark the current date in your excel calendar? all of this can be done using the today function in excel. this article will share the formula and illustrative examples to easily use the today function to retrieve the current date in excel.
  • The RIGHT function in Excel: syntax and illustrative examples.

    to search for information and retrieve data in excel, in addition to using functions like vlookup, mid, left, etc., you can also use the right function. simply put, the right function in excel retrieves the number of selected characters from the right side of an excel cell. if you don't know the formula and how to use the right function, you can refer to the article below from tipsmake to find out.
  • What is the function in Excel that extracts a string of characters?

    are you trying to extract alphanumeric characters from an excel string but are unsure which excel function to use? to solve this problem, you can refer to how to use excel's string extraction functions (left, right, mid functions) to extract text from a cell, extract substrings before or after a specified character, find cells containing part of a string, etc.
  • The VLOOKUP function in Excel: formulas and usage.

    mastering the use of functions will save us a lot of time compared to manual calculations without using functions. these functions are very diverse and cover many fields, most notably the vlookup function in excel, which allows users to search and return corresponding data by column.
  • How to use the VSTACK and HSTACK functions in Excel

    merging and sorting data is always a time-consuming task. however, in excel, we can use the vstack and hstack functions to save time and merge multiple data ranges more easily.
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup