#NAME? Error in Excel
#NAME? means Excel cannot interpret a token as a function, named range, or valid reference.
Primary causes
- Misspelled function:
VLOKUPinstead ofVLOOKUP - Text without quotes:
=IF(A1=Yes,1,0)→ use"Yes" - Undefined named range (deleted or missing)
- Version/add-in: function not available (see
_xlfn.prefix) - Curly quotes pasted from Word/web
Fix workflow
- Read the formula bar carefully
- Match function names to IntelliSense suggestions
- Wrap text literals in straight double quotes
- Formulas → Name Manager — repair or delete broken names
- If you see
_xlfn., the file needs a newer Excel or a compatible formula rewrite
Bad: =IF(A1=Open,"Y","N")
Good: =IF(A1="Open","Y","N")
Bad: =VLOKUP(B1,D:E,2,FALSE)
Good: =VLOOKUP(B1,D:E,2,FALSE)
Related
#NAME? hub · Error directory · #VALUE!