=VLOOKUP("Acme", Table, 2, FALSE) -- ensure text strings have double quotes The #NAME? error occurs when Excel does not recognize text within a formula. Common causes: misspelled function names (e.g. =VLOOKP), text strings missing quotation marks (="USA" not =USA), or referencing a deleted Named Range.
How to Fix the #NAME? Error in Excel & Google Sheets
The #NAME? error indicates that Excelโs formula engine encountered a word or identifier it does not recognize.
๐ The 4 Quick Fixes for #NAME?
1. Check Function Spelling
โ =VLOKUP(A2, B:C, 2, FALSE)$\rightarrow$โ =VLOOKUP(A2, B:C, 2, FALSE)โ =AVERGE(A1:A10)$\rightarrow$โ =AVERAGE(A1:A10)
2. Add Quotation Marks Around Text Strings
โ =IF(A2 = Approved, 100, 0)$\rightarrow$ Excel looks for a Named Range calledApproved.โ =IF(A2 = "Approved", 100, 0)$\rightarrow$ Evaluates as text literal.
3. Check for Missing Colons in Ranges
โ =SUM(A1 A10)$\rightarrow$ Space instead of colon.โ =SUM(A1:A10)$\rightarrow$ Valid range reference.
4. Version Compatibility
If someone opens a workbook using XLOOKUP or TEXTSPLIT on an older standalone Excel 2013/2016, Excel displays =_xlfn.XLOOKUP(...) and throws #NAME?.
- Fix: Use
INDEX/MATCHor upgrade to modern Microsoft 365.
Frequently Asked Questions
Why do unquoted words cause #NAME? errors?
Excel treats any unquoted word (like USA or Active) as a Named Range. If no Named Range with that name exists, Excel throws #NAME?. Wrap text in double quotes: "USA".