ElyxAI

VLOOKUP #NAME?: Typo or Missing Quotes

VLOOKUP returns #NAME? when Excel does not recognize a word in the formula. The usual causes are a misspelled function, text that is not in quotes, a defined name that does not exist, or VLOOKUP typed in a French Excel, which expects RECHERCHEV.

#NAME?
+VLOOKUP

#NAME? is decided before VLOOKUP searches the table. Excel has hit a word it cannot resolve, so it never gets as far as a lookup. A value that is simply missing from the first column returns #N/A. A column index larger than the table returns #REF!. Those are different errors. The word is often the function name. VLOKUP, VLOOKP, and a trailing space inside the name all return #NAME?. In a French Excel the function is RECHERCHEV, so VLOOKUP itself returns #NOM?. In an English Excel, RECHERCHEV returns #NAME?. The same split applies to the last argument: FALSE is FAUX in French. =VLOOKUP(A2,B:D,2,FAUX) returns #NAME? in an English Excel because FAUX is not a name there. Text used as the lookup value must be in double quotes. =VLOOKUP(Apple,A:C,2,FALSE) treats Apple as a defined name. If that name does not exist, the result is #NAME?. A defined name used as the table, such as PriceList, fails the same way when the name was never created or was deleted. Formulas > Name Manager (Ctrl+F3 on Windows) lists the names that do exist. A closing parenthesis that is missing usually opens the formula warning dialog. It does not return #NAME?.

Why VLOOKUP causes #NAME?

The function name is wrong for this Excel

A typo such as VLOKUP is not a function. In a French Excel the name is RECHERCHEV, so the English name VLOOKUP returns #NOM?. FALSE is FAUX in French, and FAUX is not recognized in an English Excel.

=VLOKUP(A2,B:D,2,FALSE) or =VLOOKUP(A2,B:D,2,FAUX) in an English Excel

The lookup text has no quotes

Without double quotes, Excel treats the word as a defined name. If that name does not exist, the result is #NAME?, before any search of the table.

=VLOOKUP(Apple,A:C,2,FALSE) instead of =VLOOKUP("Apple",A:C,2,FALSE)

The table name does not exist

A defined name used as table_array must exist in this workbook. A deleted or misspelled name returns #NAME?. A normal range such as B2:D100 does not need a name.

=VLOOKUP(A2,PriceList,2,FALSE) when PriceList is not in Name Manager

Step-by-Step Solution

  1. 1Select the cell and read the formula bar. The unrecognized word is not a cell reference and not text inside quotes.
  2. 2Check the function spelling: VLOOKUP in an English Excel, RECHERCHEV in a French Excel. Retype it from the function list so the language matches.
  3. 3If the last argument is a word, use FALSE or TRUE in English, and FAUX or VRAI in French.
  4. 4Put lookup text in straight double quotes: =VLOOKUP("Apple",A:C,2,FALSE). Curly quotes pasted from a document are not string quotes.
  5. 5If the table is a name, open Formulas > Name Manager (Ctrl+F3 on Windows). Create the name, correct the spelling, or replace it with a range such as B2:D100.
  6. 6If the name is valid and the error changes to #N/A, the lookup value is not in the first column of the table. That is the next problem, not #NAME?.

Concrete Example

Price list stored under a defined name

A quote sheet looks up a unit price from a named block, PriceList, on the first column of product codes.

Before (error)

=VLOOKUP(A2,PriceLst,3,FALSE)

After (fixed)

=VLOOKUP(A2,PriceList,3,FALSE)

Problem: The name was typed PriceLst. Excel has no such name, so =VLOOKUP(A2,PriceLst,3,FALSE) returns #NAME? and never searches the products.

Solution: Use the name exactly as it appears in Name Manager, or point the formula at the range.

Prevention Tip

Start the function from the formula list so Excel inserts the name for your language, and put every text lookup value in double quotes.

Free Tools to Fix Your Formulas

Use these free tools to avoid this error:

Frequently Asked Questions

Don’t want to do it by hand? Ask Elyx

Example request

“Fix the #NAME? error in my VLOOKUP formula in column D”

Elyx does it directly in your Excel file.

7 days free · No credit card required

See also