What does #NAME? mean in Google Sheets?

#NAME? means Google Sheets does not recognize a name in your formula. That can be a misspelled function, a named range that does not exist, text used without quotes, or a function name from the wrong language locale.

When to use it

Learn #NAME? when pasting formulas from Excel blogs, using named ranges across files, or sharing sheets between US and EU locale settings.

When to skip it

Do not rename functions randomly to fix #NAME? without checking whether the function exists in Google Sheets at all.

How it works

  1. 1

    Read the formula bar and look for red flagged tokens or obvious typos like VLOKUP.

  2. 2

    Confirm the function exists in Google Sheets and is spelled in your locale language if required.

  3. 3

    Check Data > Named ranges for definitions that moved or were deleted.

  4. 4

    Wrap text labels in double quotes so Sheets does not treat them as names.

  5. 5

    Remove hidden characters from copy-paste with a clean paste into a plain text editor first.

  6. 6

    Test the function alone in a scratch cell before nesting it in a long formula.

Examples in Google Sheets

Misspelled function

SUMIF spelled SUMIFF returns #NAME? because no such function exists.

Named range deleted

=RevenueTotal*0.1 returns #NAME? when the named range RevenueTotal was removed.

Unquoted text label

=IF(Status=Active, 1, 0) treats Active as a name unless quoted.

Build this without starting from a blank cell

Use a Better Sheets tool for #NAME? error, then watch a walkthrough when you want the full pattern.

Better Sheets resources

Common mistakes

  • Using Excel-only functions without checking Google Sheets support.
  • Creating named ranges with spaces and forgetting to quote them in formulas.
  • Copying formulas with semicolons into a comma-locale sheet without conversion.
  • Assuming LAMBDA names work before LAMBDA is defined in the same file.
  • Leaving a stray equals sign inside a string that breaks parsing.

Frequently asked questions

Why #NAME? after import from Excel?
Some function names differ or are unsupported. Replace with Sheets equivalents.
Can named ranges cause #NAME? across files?
Named ranges are file-local unless you use IMPORTRANGE with explicit addresses.
Does locale change function names?
Some locales use translated function names. Match your sheet locale in the formula bar.
Why #NAME? in INDIRECT?
INDIRECT built a string that is not a valid reference or points to a missing name.
Can QUERY cause #NAME??
Usually parse errors show differently. Check Col labels and quoted strings inside QUERY.
How do I list my named ranges?
Data > Named ranges shows all definitions in the file.
Is #NAME? the same as #REF!?
No. #NAME? is unknown token. #REF! is a broken cell address.
Can Apps Script cause #NAME? in cells?
Only if a custom function name is wrong or the script is not saved or authorized.

Related Tutorials

Watch how #NAME? error works

Browse more tutorials
Create a new Spreadsheet from just a Name in a Sheet.

Create a new Spreadsheet from just a Name in a Sheet.

Create the Apps Script to create a new sheet from some data inside your ...
Your First Formula

Your First Formula

Learn how to use Formulas in Google Sheets. Use the Equal sign "=" to un...
Enter Google Drive File Name Get URL

Enter Google Drive File Name Get URL

Create a simple automation with an installable trigger that allows you t...
Add Title Case to Google Sheets

Add Title Case to Google Sheets

Discover the Ultimate Google Sheets Hack! Transform Text with Title Case...
How do I reference a different spreadsheet in Apps Script?

How do I reference a different spreadsheet in Apps Script?

I'll show you how to get text from one spreadsheet file to another with ...
Spreadsheet Automation 101: Camel Case

Spreadsheet Automation 101: Camel Case

Learn the importance of camel case. Camel Case is a simple technique tha...

Related blog posts

Guides that explain #NAME? error in more depth.

Browse the blog

Related glossary terms

Done reading about #NAME? error?

Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.

Need this once

Jump to a free tool or a single tutorial for this topic.

Learning Sheets for real

Unlock the full library, generators, and templates with membership.