Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Example of COUNTIFS with variable table column in Excel
  • How To Compare Two Lists in Excel
  • Filter Data Based on Date in Excel
  • How to calculate correlation coefficient Correlation in Excel
  • How to calculate average last N values in a table in Excel

References

  • Find closest match in Excel
  • How to get last row in numeric data in Excel
  • Merge tables with VLOOKUP in Excel
  • To count total rows in a range in Excel
  • MATCH function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation require unique number
  • Excel Data validation don’t exceed total
  • Data validation must not exist in list
  • Excel Data validation date in specific year
  • Excel Data validation no punctuation

VLOOKUP without #N/A error in Excel

by

This tutorial shows how to calculate VLOOKUP without #N/A error in Excel using the example below;

Formula

=IFERROR(VLOOKUP(value,table,2,FALSE),"")

Explanation

To hide the #N/A error that VLOOKUP throws when it can’t find a value, you can use the IFERROR function to catch the error and return any value you like.

How the formula works

When VLOOKUP can’t find a value in a lookup table, it returns the #N/A error. The IFERROR function allows you to catch errors and return your own custom value when there is an error. If VLOOKUP returns a value normally, there is no error and the looked up value is returned. If VLOOKUP returns the #N/A error, IFERROR takes over and returns the value you supply.

If you have a lookup value in cell A1 and lookup values in a range named table, and you want a cell to be blank if no lookup is found, you can use:

=IFERROR(VLOOKUP(A1,table,2,FALSE),"")

If you want to return the message “Not found” when no match is found, use:

=IFERROR(VLOOKUP(A1,table,2,FALSE),"Not found")

IFNA option

In Excel 2013, the IFNA function is available to trap and handle #N/A errors specifically. The usage syntax is the same as with IFERROR:

=IFERROR(VLOOKUP(A1,table,2,FALSE),"Not found")
=IFNA(VLOOKUP(A1,table,2,FALSE),"Not found")

Older versions of Excel

In earlier versions of Excel that lack the IFERROR function, you’ll need to repeat the VLOOKUP inside an IF function that catches an error with ISNA or ISERROR. For example:

=IF(ISNA(VLOOKUP(A1,table,2,FALSE)),"",VLOOKUP(A1,table,2,FALSE))

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel AND Function
  • Check multiple cells are equal in Excel
  • OR function Examples in Excel
  • Nested IF function example in Excel
  • IF with boolean logic in Excel

Date Time

  • Display the current date in Excel
  • WEEKDAY function: Description, Usage, Syntax, Examples and Explanation
  • Calculate time difference in hours as decimal value in Excel
  • How to calculate project start date based on end date in Excel
  • Convert Excel time to decimal hours in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • How to randomly assign data to groups in Excel
  • Running count group by n size in Excel
  • How to randomly assign people to groups in Excel
  • Group arbitrary text values in Excel

General

  • 3D SUMIF for multiple worksheets in Excel
  • How to get original price from percentage discount in Excel
  • Share Excel data with Word documents
  • Count cells that do not contain many strings in Excel
  • How to calculate percentage of total in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning