Home › Excel guides › The #NAME? error in Excel: every cause and fix

The #NAME? error in Excel: every cause and fix

Misspelled functions, missing quotes, foreign-language names and more — every reason Excel returns #NAME? and how to solve each.

The #NAME? error means Excel doesn't recognise something in your formula as a valid name — a function, a named range, or a piece of text. Here is every common cause and how to fix each one.

1 — A misspelled function

The most frequent cause: a typo in the function name, like =VLOOKP(...) or =SUMM(...). Excel doesn't know that function, so it returns #NAME?. Fix: check the spelling; start typing the name and pick it from Excel's autocomplete list.

2 — A function name in another language

Pasting SVERWEIS (German) or RECHERCHEV (French) into English Excel triggers #NAME?, because those names only exist in their own language version. Fix: translate the names — see #NAME? from a foreign function, or use the formula translator.

3 — Text without quotation marks

Text values must be in double quotes. =IF(A1=Yes,1,0) fails because Excel reads Yes as a name; it should be =IF(A1="Yes",1,0). Fix: wrap literal text in " quotes.

4 — A named range that doesn't exist

If a formula refers to a defined name (like =SUM(Sales)) that was deleted or never created, you get #NAME?. Fix: create the name via Formulas → Define Name, or replace it with the actual cell range.

5 — A missing add-in function

Some functions come from add-ins. If the add-in isn't loaded, its functions return #NAME?. Fix: enable the add-in under File → Options → Add-ins.

6 — A newer function on older Excel

Functions like XLOOKUP or TEXTJOIN don't exist in older versions. Opening such a formula in Excel 2016 or earlier shows #NAME? (sometimes prefixed with _xlfn.). Fix: use a function the recipient's version supports, or upgrade.

Quick diagnosis

ClueLikely cause
Unknown foreign-looking wordFunction name in another language
A plain word where text should beMissing quotation marks
_xlfn. prefixFunction too new for this Excel
A name you defined is goneDeleted named range

Related: error codes in other languages and the full Excel error reference.

← All Excel guides

Copied to clipboard