• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microsoft Excel Tips and Tricks - Computergaga

  • Home
  • Excel Online Courses
  • Excel Functions List
  • Free Downloads
  • Blog
  • Tutorials
  • About

IFERROR Function

The Excel IFERROR function is used to handle errors in a formula. IFERROR will perform a specified action if the formula evaluates to an error, and display the formula result if not.

The IFERROR function is only available from Excel 2007.

The syntax for the IFERROR function is:

=IFERROR(value, value_if_error)

ArgumentPurpose
valueThe formula you are checking for an error
value_if_errorThe action to take if the formula evaluates to an error

The example below shows the IFERROR function being used to return the text Product not found if the VLOOKUP function evaluates to an error message.

The VLOOKUP function is looking for C137, a product that does not exist. This would evaluate to a #N/A, but the IFERROR function detects the error and displays the required text instead.

IFERROR function used with the VLOOKUP function

Primary Sidebar

Recent Posts

  • Excel SWITCH Function – Nested IF Function Alternative
  • Sum Formulas Only in Excel
  • How to Calculate Age in Excel
  • Custom Sort in Excel
  • Case Sensitive Lookup with XLOOKUP in Excel
Advanced Excel Success book

Footer

Contact

[email protected]

LinkedIn Twitter YouTube

Useful Links

  • Home
  • Excel Online Courses
  • Tutorials
  • Sitemap
  • Privacy Policy
  • Jobs by Jooble

Course Topics

  • Blog
  • Charts
  • Courses
  • Dashboards
  • Downloads
  • Excel Tips
  • Formulas
  • Mail Merge
  • Office
  • PivotTables
  • Power BI
  • Power Pivot
  • Power Query
  • VBA

Join Our Mailing List

© Copyright 2009 Computergaga · All Rights Reserved ·