This mismatch between numbers and text will cause VLOOKUP to return an #N/A error.

it’s possible for you to do this byprefacing the number with a single quote(').

VLOOKUP will then correctly find the table and perform the lookup.

Example of VLOOKUP #N/A error caused by numbers and text mismatch

A better solution is to confirm the lookup values in the table are indeed numbers.

when you obtain converted the first column to numeric values, the standard VLOOKUP formulas above will work.

you could do this byconcatenatinganempty string("") to the lookup value inside VLOOKUP.

Example of VLOOKUP #N/A error caused by numbers and text mismatch

The formulas below show what this looks like.

If that throws an error, we hit it one more time with the revised formula above.

If that formula also fails, VLOOKUP will return an #N/A error as always.

Example of VLOOKUP #N/A error caused by numbers and text mismatch

IFERROR is an elegant way to trap and manage errors without using more complicated nested IF statements.

Example of VLOOKUP #N/A error caused by numbers and text mismatch

Example of VLOOKUP #N/A error caused by numbers and text mismatch

Revised VLOOKUP formula to fix error

Excel formula: VLOOKUP two-way lookup

Excel formula: VLOOKUP calculate grades

Excel formula: Get employee information with VLOOKUP

Excel formula: Merge tables with VLOOKUP

Excel formula: VLOOKUP without #N/A error

Excel VLOOKUP function

Excel ISTEXT function

Excel IFERROR function

Article image

Article image

Article image

Article image

Example of VLOOKUP #N/A error caused by numbers and text mismatch

Revised VLOOKUP formula to fix error