Excel #NAME? Error
A Black woman in her fifties frowning slightly at a spreadsheet on a large monitor in a front desk of a professional services firm, notepad on the desk

Excel #NAME? Error

In Microsoft Excel, #NAME? means Excel doesn’t recognize something in your formula. The most common cause is a misspelled function name, such as =SUMM(A2:A10). Select the cell, retype the function name and pick it from the list that appears as you type. Then check that any text in the formula has double quotation marks around it.

Try these quick fixes first

  1. Select the cell and check the function name in the formula bar for a typo.
  2. Retype the function and pick it from the list Excel shows as you type.
  3. Make sure every piece of text in the formula has double quotation marks around it.
  4. Check that each range has a colon, such as A2:A10, and that you multiply with *, not x.
  5. Select Formulas > Name Manager and confirm that any name the formula uses is listed.
  6. To list every affected cell, press Ctrl+F, type #NAME?, select Options, set Look in to Values and select Find All.

Check the spelling of the function name

Microsoft names a typo in the function name as the top reason for #NAME?, because Excel can’t match a misspelled word to any function.

  1. Select the cell with the error and look at the formula in the formula bar.
  2. Select the misspelled function name in the formula bar and delete it.
  3. Start typing the name again. Excel shows a list of matching functions, called Formula AutoComplete.
  4. Use the arrow keys to highlight the right function and press Tab, or double-click it.
  5. Finish the formula and press Enter.

If no list appears, turn it on at File > Options > Formulas > Formula AutoComplete. To rebuild a formula one argument at a time instead, select the cell and select Formulas > Insert Function, or press Shift+F3.

Put double quotation marks around text

Excel reads a word without quotation marks as the name of a function or range, so text inside a formula needs double quotation marks, even a single space.

  1. Select the cell and look for words in the formula that are meant as plain text, such as a status or a label.
  2. Type a double quotation mark before and after each one, for example =IF(B2="Paid","Closed","Open").
  3. When you join text to a cell with &, quote only the text part, for example ="Total: "&B2.
  4. Press Enter.

Fix range references and math signs

Excel reads B2B12 or B2xC2 as a name it doesn’t know, so every range needs a colon and multiplication needs an asterisk.

  1. Select the cell and look at each range in the formula.
  2. Put a colon between the first and last cell of each range: =SUM(B2:B12), not =SUM(B2B12).
  3. Replace any x used for multiplying with *: =B2*C2, not =B2xC2.
  4. Press Enter.

Fix or define the name the formula uses

A defined name, such as Profit for a block of cells, only works if it exists in the workbook and is spelled the same way in the formula.

  1. Select Formulas > Name Manager to see every name in the workbook. The Filter menu there can show Names With Errors.
  2. If the name is listed but spelled differently in the formula, correct the formula. To insert a name without typing it, place the cursor in the formula, select Formulas > Use in Formula and pick the name.
  3. Check the Scope column. A name scoped to one worksheet is available only on that sheet.
  4. If the name is missing, select the cells it should cover, select Formulas > Define Name, type the name and select OK.
  5. Or replace the name in the formula with the cell range itself, such as A2:D8.

Put single quotation marks around sheet names

When a formula points to another sheet whose name has a space or another character that isn’t a letter, the sheet name needs single quotation marks, or the formula shows #NAME?.

  1. Find the reference to the other sheet in the formula, such as Quarterly Data!D3.
  2. Add single quotation marks around the sheet name, before the exclamation point: ='Quarterly Data'!D3.
  3. Or delete that reference, then select the other sheet’s tab and the cell you want while you type the formula. Excel adds the quotation marks for you.
  4. Press Enter.

Turn on the add-in the function needs

Some functions, such as EUROCONVERT, only work while a specific add-in is turned on, so Excel shows #NAME? until you turn it on.

  1. In Excel for Windows, select File > Options > Add-ins.
  2. In the Manage box, select Excel Add-ins, then select Go.
  3. Check the add-in the function needs, such as Euro Currency Tools for EUROCONVERT, or Analysis ToolPak for custom functions and macros that rely on it. Select OK.
  4. On a Mac, select Tools > Excel Add-ins, check the add-in and select OK.
  5. If the add-in isn’t in the list, or it came with other software your company uses, ask your IT team. Microsoft’s advice for those add-ins is to contact the administrator who provided them.

Open the workbook that holds a custom function

A custom function written in VBA only works while the workbook or add-in that contains it is open, and Excel shows #NAME? when it isn’t.

  1. Ask the file’s owner whether the formula uses a custom function, and which workbook holds it.
  2. Open that workbook. Then select the cell with the error, press F2 and press Enter.
  3. When the function lives in a different workbook, the formula needs that workbook’s name in front of the function name, as in Microsoft’s example =personal.xlsb!discount().
  4. If Excel shows a security warning that macros are disabled, don’t select Enable Content unless you know what the macros do. For a file from outside your company, ask your IT team first.

Check whether your version of Excel has the function

Functions added in newer versions of Excel return #NAME? in versions that don’t have them, for example XLOOKUP in Excel 2016 or Excel 2019.

  1. Select File > Account. Under Product Information, note your Office product name and version.
  2. Look at the formula bar. In some cases Excel adds _xlfn. in front of a function your version doesn’t have.
  3. Ask the person who built the file to replace that function with one your version has, or to replace those formulas with their results before sending it.
  4. If you use Excel 2016 or 2019, talk to your IT team about Microsoft 365. Support for Office 2016 and Office 2019 ended on October 14, 2025.

Why does this happen?

#NAME? means Excel found text in a formula that it doesn’t recognize. Common reasons:

  • A function name or defined name is misspelled.
  • Text in the formula is missing its double quotation marks.
  • A range is missing its colon, or the formula uses x to multiply.
  • The formula uses a name that was never defined or has been deleted.
  • A sheet name with a space isn’t in single quotation marks.
  • The function needs an add-in that isn’t turned on, or a custom function’s workbook isn’t open.
  • The function is newer than your version of Excel.

When should you call IT?

  • The same file works on a coworker’s computer but shows #NAME? on yours.
  • The function belongs to an add-in that came with other software, such as accounting or reporting tools.
  • A file from outside the company asks you to enable macros or content.
  • You use Excel 2016 or 2019 and need functions that only newer versions have.
  • The workbook feeds billing, payroll or reports, and the fix means changing names or formulas other people rely on.

If several people share the same workbooks, see our Microsoft 365 support page.

OAC Technology’s IT support team fixes problems like this for businesses across the Twin Cities. Clients can call 952-548-5558, Monday to Friday, 8 a.m. to 6 p.m. Central. Not a client yet? Call the same number or send us a message.

Common questions

What does the #NAME? error mean in Excel?

It means Excel doesn’t recognize something in your formula. Often a function name is misspelled, but text without quotation marks, a range without its colon, an unknown name or a function your version doesn’t have can cause it too.

How do I fix the #NAME error in Excel VLOOKUP?

Check that VLOOKUP is spelled correctly and that any text you look up has double quotation marks, as in =VLOOKUP("Smith",A1:B100,2,FALSE). Also check that the table range has its colon and that any name used for the range exists in Name Manager.

Why does a formula show #NAME? on one computer but not another?

The computer with the error may run an older version of Excel that lacks the function, or it may be missing an add-in or the workbook that holds a custom function. Compare the version under File > Account on both computers.

Should I hide #NAME? with IFERROR?

No. Microsoft advises against masking #NAME? with IFERROR or other error-handling functions, because the error means the formula itself needs correcting.

Related guides

Author picture

OAC Technology

Author

Related Articles