WP Workflow Picks
excelnamed rangesformulas

How to Name a Range in Excel: 3 Methods, Rules and Fixes

Learn how to name a range in Excel with the Name Box, Define Name or Create from Selection, plus naming rules, scope, Name Manager and web and Mac limits.

WP Workflow Picks team · · 6 min read · 7 sources
Churchill Club Top 10 Tech Tech Trends Debate 2013 — I chose Deep Learning / Machine Learning
Photo: jurvetson (CC BY 2.0) via Openverse

The fastest way to name a range in Excel is to select the cells, click in the Name Box to the left of the formula bar, type a name such as Sales_2026, and press Enter. For more control over scope and comments, use Formulas > Define Name, or use Formulas > Create from Selection to name several ranges at once from their labels.

Once a range has a name, you can type =SUM(Sales_2026) instead of =SUM(B2:B200), which makes formulas easier to read and harder to break. Below are the three official methods, the naming rules that trip people up, and how to edit or delete names later. Steps reflect Microsoft’s documentation as of November 2026; menu labels can shift between Excel versions.

Method 1: Name a range with the Name Box

This is the quickest option and works well for one-off names.

  1. Select the cell or range you want to name.
  2. Click the Name Box (the small box showing the current cell address, left of the formula bar).
  3. Type a valid name, for example Tax_Rate.
  4. Press Enter. If you click away without pressing Enter, the name isn’t saved.

One thing to know: according to Ablebits, names created through the Name Box always get workbook scope. If you need a name that only applies to one sheet, use Method 2.

Method 2: Use Define Name for scope and comments

The Define Name dialog gives you the most control. Microsoft describes it in Define and use names in formulas.

  1. Select the cells you want to name.
  2. Go to the Formulas tab and, in the Defined Names group, select Define Name.
  3. In Name, type the name.
  4. In Scope, choose Workbook or a specific worksheet.
  5. Optionally, add a description in Comment (up to 255 characters).
  6. Check that Refers to shows the right range, then select OK.

The comment field is worth using in shared workbooks. It shows up in Name Manager and tells the next person what the range is for.

Method 3: Create from Selection (many names at once)

If your data already has headers, Excel can turn those labels into names for you. Microsoft’s page on creating a named range from selected cells covers this.

  1. Select the range you want to name, including the row or column labels.
  2. On the Formulas tab, in the Defined Names group, select Create from Selection (shortcut: Ctrl+Shift+F3).
  3. In the dialog, tick where the labels are: Top row, Left column, Bottom row or Right column.
  4. Select OK.

For a table with headers in row 1, ticking Top row creates one name per column, each pointing at the cells below its header. Names made this way have workbook scope. Check the results in Name Manager afterwards to confirm each name points where you expect.

Which method should you use?

MethodBest forScope optionsAdds a comment
Name BoxNaming one range quicklyWorkbook onlyNo
Define NameSheet-level names, documented workbooksWorkbook or one sheetYes
Create from SelectionNaming many columns or rows from headersWorkbookNo

Naming rules that cause errors

Most “name is not valid” errors come from a handful of rules listed in Microsoft’s Names in formulas documentation:

  • First character: must be a letter, an underscore (_) or a backslash (\).
  • Other characters: letters, numbers, periods and underscores.
  • No spaces: use Sales_Tax or First.Quarter instead.
  • Length: up to 255 characters.
  • Not case-sensitive: Revenue and REVENUE are the same name.
  • Reserved letters: C, c, R and r can’t be used as names on their own, because Excel uses them for row and column shorthand.
  • No cell lookalikes: a name can’t match a cell reference. Because current Excel has columns up to XFD, names like ABC1 or FY2024 look like real addresses and are rejected, as several tutorials point out.

A practical habit: use a short prefix or a clear noun plus a qualifier, such as rng_Regions or Rate_VAT. It keeps names readable and avoids accidental collisions with cell addresses.

Understanding scope

Every name has a scope, either the whole workbook or a single worksheet.

  • Workbook scope: the name works on any sheet in the file.
  • Worksheet scope: the name only works on that sheet without qualification.
  • A name has to be unique within its scope. If a sheet-level name and a workbook-level name share the same text, the sheet-level one takes precedence on that sheet.
  • Scope can’t be edited later. Sources agree that you need to delete the name and recreate it with the scope you want.

Sheet-level names are handy when you copy a template sheet several times and want each copy to have its own Total or Inputs range.

Using a named range in formulas

After you’ve created a name, use it anywhere you’d type a cell reference:

  • Type it directly, for example =AVERAGE(Scores).
  • Use Formulas > Use in Formula to pick from a list of names.

Exceljet also notes that F3 (or Use in Formula > Paste Names > Paste List) pastes a full list of names and their references onto the sheet, which is a quick way to document a workbook.

Editing and deleting names with Name Manager

To review or change existing names, open Formulas > Name Manager. Exceljet lists Ctrl+F3 as the shortcut on Windows. Microsoft’s Name Manager article explains that from there you can:

  1. Select New to create a name.
  2. Select a name and choose Edit to rename it or change what it refers to.
  3. Select a name and choose Delete to remove it.

Microsoft also notes that Name Manager doesn’t show names defined in VBA or hidden names.

Excel for the web and Mac: what to expect

This is where sources disagree, so treat the following with some caution as of November 2026.

Excel for the web. Some Microsoft support pages say that naming ranges and using Name Manager aren’t currently possible in Excel for the web and direct you to the desktop app. Other pages list Excel for the web among the products they apply to, and a third-party help page says the Name Box works there. Feature availability in the web app changes over time, so the reliable approach is to check whether Define Name and Name Manager appear on your Formulas tab. If they don’t, open the file in the desktop app, where Microsoft documents these steps. Threads in the Microsoft Tech Community mention workarounds through add-ins, but those aren’t Microsoft’s documented method.

Excel for Mac. The Name Box method works the same way. Older Mac versions use a Define Name dialog to add, edit and delete names instead of a full Name Manager. Forum reports suggest Name Manager has appeared in Microsoft 365 builds for Mac, but users report inconsistent availability, so your menus may differ from the Windows steps above.

Quick troubleshooting

  • The name didn’t save: you probably clicked away from the Name Box instead of pressing Enter.
  • “The name already exists”: another name with the same text exists in that scope. Check Name Manager.
  • “Name is not valid”: recheck the naming rules above, especially spaces and cell-address lookalikes.
  • Name works on one sheet but not another: it probably has worksheet scope. Recreate it with workbook scope.
  • A name points at the wrong cells: edit its Refers to box in Name Manager.

Named ranges are a small habit that pays off in any workbook more than one person touches. Start with the Name Box for quick wins, and switch to Define Name when you need clear scope and documentation.

Frequently asked questions

Can a named range in Excel contain spaces? +

No. Spaces aren't allowed in Excel names. Use an underscore or a period as a separator instead, for example Sales_Tax or First.Quarter.

Can I change the scope of a named range after I create it? +

Not directly. Scope (workbook or a single worksheet) is set when the name is created. To change it, delete the name in Name Manager and create it again with the scope you want.

Why does Excel say my range name is not valid? +

The usual causes are a space or unsupported punctuation, a first character that isn't a letter, underscore or backslash, or a name that looks like a cell address such as ABC1 or FY2024. The single letters C, c, R and r are also reserved.

Are named ranges case-sensitive? +

No. Excel doesn't distinguish between uppercase and lowercase in names, so Revenue and REVENUE are treated as the same name. That also means you can't have both in the same scope.

Sources

  1. Define and use names in formulas (Microsoft Support) (support.microsoft.com)
  2. Names in formulas (Microsoft Support) (support.microsoft.com)
  3. Create a named range from selected cells in an Excel worksheet (Microsoft Support) (support.microsoft.com)
  4. Use the Name Manager in Excel (Microsoft Support) (support.microsoft.com)
  5. Named ranges (Exceljet) (exceljet.net)
  6. Excel named range - how to define and use names in Excel (Ablebits) (ablebits.com)
  7. No Name Manager in Excel Online (Microsoft Tech Community) (techcommunity.microsoft.com)
About this guide. Researched and drafted with AI assistance from the sources above, then checked against our editorial rules. It reflects what was publicly known on November 17, 2026; details can change, so confirm with the official source before acting on it. How we work →

Our reviews

In-depth reviews from Workflow Picks that go with this topic.

Keep reading