Formula Errors

Keep Excel Cells Blank When VLOOKUP Returns #N/A

Algirdas JasaitisAlgirdas Jasaitis Nov 20, 2026 870 views

Question details

Display a blank result instead of #N/A when a VLOOKUP formula cannot find a value.

Keep Excel Cells Blank When VLOOKUP Returns #N/A
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet uses VLOOKUP with named ranges to retrieve matching values.
Observed behavior
The formula returns #N/A when the lookup value is not found.
Before you start

Select the cell containing the VLOOKUP formula and check the complete formula in the formula bar. Confirm that the named lookup range includes both the lookup column and the column you want to return.

Solution 1Recommended

Wrap the VLOOKUP Formula in IFERROR

Use IFERROR to display an empty string whenever the existing formula returns an error.

1
Select the formula cell

Click the cell that displays #N/A, then click the formula bar to edit its existing formula.

2
Add IFERROR

Wrap the complete formula in IFERROR with an empty string as the fallback. For example, use =IFERROR(VLOOKUP(A2,LookupTable,2,FALSE),"") and replace the references with your own.

3
Apply the formula

Press Enter, then drag the cell's fill handle down if you need to apply the formula to other rows.

Wrap the VLOOKUP Formula in IFERROR
IFERROR hides all formula errors: The result looks blank but contains a formula returning an empty string. IFERROR also hides errors other than #N/A, such as #REF!.
Work with formulas in WPS

Show Blank VLOOKUP Results in WPS Spreadsheets

Open your workbook in WPS Spreadsheets and wrap the VLOOKUP formula in IFERROR to display a blank result when it returns an error.

  1. 1. Open the workbook: Launch WPS Spreadsheets, select Open, and choose your Excel workbook.
  2. 2. Select the formula: Click the cell containing the VLOOKUP formula and select its contents in the formula bar.
  3. 3. Wrap it in IFERROR: Change the formula to the pattern =IFERROR(your_formula,""); replace your_formula with the complete VLOOKUP expression without its leading equals sign.
  4. 4. Apply and save: Press Enter to apply the formula, then select Save to save the workbook.
Replace VLOOKUP errors with a blank-looking resultOpen and edit Microsoft Excel XLSX and XLS filesWork with named ranges and familiar spreadsheet formulasUse WPS Office for free
QA img-9

Frequently Asked Questions

What formula replaces a VLOOKUP #N/A with a blank?

Wrap your existing formula in IFERROR, for example: =IFERROR(VLOOKUP(A2,LookupTable,2,FALSE),""). Replace the cell reference and named range with your own.

How can I hide #N/A without hiding other errors?

In Excel 2013 or later, use IFNA instead: =IFNA(VLOOKUP(A2,LookupTable,2,FALSE),""). Other errors, such as #REF!, remain visible.

Is a cell returning an empty string really blank?

No. The cell still contains a formula, even though the empty string returned by "" looks blank.

Can I use a named range in the VLOOKUP formula?

Yes. Use the named range as the second VLOOKUP argument, such as LookupTable in =VLOOKUP(A2,LookupTable,2,FALSE). The range must include the lookup column and the return column.