• Microsoft Office
  • Microsoft Windows
  • Other Software
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

Effective use of the IFERROR function in Excel

0 Comments

Effective use of the IFERROR function in Excel In Excel, you have the ability to catch errors by utilizing the iferror function. With the use of parameters, you can customize what value is returned when specific errors occur.
This article will teach you how to effectively handle and evaluate errors in Excel with the iferror function. Among the types of errors that can be handled include #n/a, #value!, #ref!, #div/0!, #num!, #name?, or #null! errors.

Mastering the Syntax of IFERROR Function in Excel

Let me show you the syntax of the iferror function:
IFERROR(value, value_if_error)
As mentioned earlier, the iferror function requires two inputs: the value and the value_if_error. The value parameter represents the input that needs to be examined for an error, while the value_if_error parameter determines what will be returned if an error occurs. The following examples will clarify the function of these parameters.

Mastering the IFERROR Function in Excel

In this section, we will demonstrate a practical use case for the IFERROR function.

The table below will be the basis for our illustration.

IFERROR function 1The table displayed contains three columns: Data 1, Data 2, and Quotient.
The objective is to compute the values of the Quotient column by dividing Data 1 by Data 2.
For instance, in row one, we divide 80 by 192, and in row two, we divide 75 by 180, and so forth. However, upon close inspection, certain rows have values that will produce errors in mathematical calculations – rows 4 and 6. In row 4, we cannot divide 60 by zero, and in row 6, we cannot divide 65 by nothing.
The resulting table after performing the divisions will appear as follows:
IFERROR function 2Column 4 and 6 produce errors while performing mathematical operations and display #div/0! and #value!, respectively. Although we cannot resolve these math errors, we can intercept them to display a custom value. To do this, we can use the iferror function.
IFERROR function 3After deleting all values in the quotient column, the subsequent step is to apply the iferror function which goes as follows:
IFERROR function 4We added an “iferror” function in the first row of the table. The function is “=iferror(a2/b2, 0)” and has two parameters.
The first parameter “a2/b2” represents the division of cell A2 (80) by cell B2 (192). If the division is successful, the quotient will be displayed.
However, if the division is not possible, the second parameter “0” will be displayed instead.
Therefore, after applying the “iferror” function in each row, our table will appear as follows:
The quotient for row 4 and 6 has been updated to 0, replacing the previous values of #div/0! and #value!, respectively.
It’s worth mentioning that you can also utilize a customized message instead of 0, such as =iferror(a2/b2, “division not possible”). Just make sure to enclose the text in quotation marks. As a result, our table will now look like this:
IFERROR function 5You have the flexibility to personalize what will be displayed in case of an error.
IFERROR function 6In this article, we discussed the iferror function in Excel, which effectively manages various errors such as #n/a, #value!, #ref!, #div/0!, #num!, #name?, and #null!. We examined the proper syntax and the significance of its parameters, as well as providing examples of how to utilize the iferror function in an Excel table. Thank you for taking the time to read!
3
60 Views
How can I add a checkbox to an Excel spreadsheet?PrevHow can I add a checkbox to an Excel spreadsheet?April 13, 2023
Excel tutorial: How to lock cells in Excel and keep your data secureApril 13, 2023Excel tutorial: How to lock cells in Excel and keep your data secureNext

Leave a Reply Cancel reply

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

Recent Posts
  • Retrieve Data Based on Data Validation
    September 7, 2023
    Excel
  • How to Convert Multiple Rows to Columns and Rows in Excel?
    September 6, 2023
    Excel
  • VLOOKUP for Automatic Discount in Data Validation
    September 6, 2023
    Excel
  • How to Convert Text Dates to Dates in Excel?
    September 5, 2023
    Excel
Categories
  • Blog 80
  • Excel 754
  • Powerpoint 36
  • Software tricks/tips 128
  • Uncategorized 8
  • Word 109
Tags
the ISERROR
Top rated products
  • Kaspersky Total Security 2021 1 year 5 devices key Global Kaspersky Total Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $46.00
  • Avast Premium Security 2021 Avast Premium Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL
    Rated 5.00 out of 5
    $17.00
  • Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $11.00
  • AVG Internet Security 2021 10 Devices 2 Years Global AVG Internet Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $42.20
Products
  • Buy Office 2021 Professional Plus Key Global For 5 PC
    Rated 5.00 out of 5
    $45.00
  • Buy Office 2021 Professional Plus Key Global Bind To Your Microsoft Account
    Rated 4.83 out of 5
    $49.00
  • Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $15.00
  • Windows Server 2022 Standard Key Global
    Rated 4.47 out of 5
    $15.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $45.00

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.