Keep Excel Cells Blank When VLOOKUP Returns #N/A
Question details
Display a blank result instead of #N/A when a VLOOKUP formula cannot find a value.

- 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.
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.
Wrap the VLOOKUP Formula in IFERROR
Use IFERROR to display an empty string whenever the existing formula returns an error.
Click the cell that displays #N/A, then click the formula bar to edit its existing formula.
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.
Press Enter, then drag the cell's fill handle down if you need to apply the formula to other rows.

Use IFNA to Hide Only #N/A Errors
Use IFNA when you want to leave other formula errors visible for troubleshooting.
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. Open the workbook: Launch WPS Spreadsheets, select Open, and choose your Excel workbook.
- 2. Select the formula: Click the cell containing the VLOOKUP formula and select its contents in the formula bar.
- 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. Apply and save: Press Enter to apply the formula, then select Save to save the workbook.

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.




