In this guide
Appearance
Appearance
By Scot, 10+ years in IT support and helpdesk ·How these guides are checked
Select the cells, click the Name Box to the left of the formula bar, type a name with no spaces such as Revenue, and press Enter. Now use it anywhere a range would go: =SUM(Revenue).
Checked against Microsoft 365 Roadmap, Office release notes - Current Channel and between 5 Aug 2026 and 12 Sep 2026. Nothing published in that period has been linked to this guide.
A named range gives a cell or a block of cells a word instead of an address, so =SUM(Revenue) replaces =SUM(B2:B500). This article covers creating names two ways, the rules Excel enforces on them, naming a whole table of columns in one move, and repairing names in Name Manager when a formula comes back as #NAME?.
In this guide
Every example below uses the same workbook: a tab named Sales holding one row per order, with headers in row 1 and data down to row 500.
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Region | Rep | Units | Revenue |
| 2 | North | Alvarez | 14 | 12400 |
| 3 | South | Boyd | 9 | 8150 |
| 4 | North | Chen | 21 | 15900 |
| 500 | West | Nowak | 6 | 4300 |
A second tab named Rates holds the commission rate in cell B1.
This is the fastest route and the one to use for a single cell holding a rate, a target, or a total.
D2.Revenue. The existing address disappears as you type.Revenue.Verification: Click any cell elsewhere on the sheet, then click the small arrow at the right edge of the Name Box. A dropdown lists every name in the workbook. Select Revenue and Excel jumps to the Sales tab and re-selects D2:D500.
Note: Pressing Enter is what commits the name. Typing into the Name Box and then clicking away with the mouse discards it, and the box reverts to the cell address. This is the single most common reason a name someone "definitely created" is missing.
The dialog route takes three more clicks and gives you two things the Name Box cannot: a scope setting and a comment.
=Sales!$D$2:$D$500.Tip: To name a single cell on the Rates tab, click B1, open Define Name, and type
CommissionRate. A formula reading=D2*CommissionRatesurvives being read by a colleague next quarter.=D2*Rates!$B$1does not.
Type an invalid name into the Name Box and Excel throws a dialog reading The name that you entered is not valid. It does not tell you which rule you broke. There are four in practice.
Total Revenue is rejected. Use TotalRevenue or Total_Revenue. An underscore and a full stop are the only punctuation Excel accepts inside a name.2026Budget is rejected; Budget2026 and _2026Budget are accepted. A name may start with a letter, an underscore, or a backslash.Q1 is a real cell on every worksheet, so Excel refuses to let a name shadow it. Use Q1Sales or Q1_Total. The same rule blocks the single letters R and C, which Excel reserves for its alternative row-and-column reference style.Two more rules rarely bite but are worth knowing: a name can run to 255 characters, and names ignore capitalisation. Revenue, revenue, and REVENUE are one name, not three, which means you cannot use the same word twice with different capitals.
Tip: Pick one house style and stay on it —
SalesTotalandSales_Totalare both fine, a workbook containing both is not. Autocomplete makes long descriptive names cheap to type, so favourNorthRegionTargetoverNRT.
A name goes anywhere a cell reference or range would go.
=SUM( and then start typing Rev. An autocomplete list drops down under the cell. Names carry a small tag icon to distinguish them from functions, which carry an fx icon.) and press Enter. The cell returns the total of D2:D500.=SUM(Revenue)Both of these return the identical number:
=SUM(Revenue)
=SUM(D2:D500)The second one makes you open the Sales tab and look at column D to find out what it counts. The first tells you at a glance, and that difference compounds across a workbook of forty formulas. Three more reasons the named version wins:
Revenue never shifts when you copy the formula sideways or drag it down a column, so there is no dollar sign to remember and none to forget. This is the same problem covered in Understanding Absolute and Relative Cell References in Excel, solved at the source.D2:D500 across four sheets is the alternative.=SUM(Revenue) works from any tab in the workbook. The address version needs =SUM(Sales!D2:D500).Names combine with the usual functions exactly as a range would:
=SUMIF(Region,"North",Revenue)
=COUNTIF(Region,"North")
=AVERAGE(Revenue)
=VLOOKUP(A2,RepTable,3,FALSE)Tip: Press F3 in the middle of typing any formula to open the Paste Name dialog, which lists every name in the workbook. Double-click one and Excel types it in with the exact spelling. This beats typing from memory, and it is the fastest cure for a
#NAME?error caused by a typo.
Naming eleven columns one at a time is a chore. Excel reads your header row instead.
You now have four names — Region, Rep, Units, Revenue — each covering its own column from row 2 down, with the header cell itself excluded.
Verification: Click the arrow at the right of the Name Box. All four names are listed alphabetically. Select Units and Excel highlights C2:C500.
Excel repairs header text that breaks the naming rules rather than refusing:
Order Date becomes the name Order_Date — spaces turn into underscores.% of Total becomes _of_Total — invalid characters turn into underscores too.2026, is skipped entirely with no warning. Rename the header first if you need that column named.Name Manager is the one screen that shows you every name in the file at once, and it is where broken names get found.
Finding names that are already broken: click the Filter dropdown at the top right of Name Manager and choose Names with Errors. The list narrows to names whose Refers To column shows #REF! — the signature of a name pointing at a row, column, or sheet that somebody deleted. Select each one, fix the Refers to box, and the formulas using it recover on the next recalculation.
Warning: Deleting a name that formulas still use does not warn you, and it does not undo cleanly across a save. Every formula referencing it turns into
#NAME?immediately. Before deleting, press Ctrl + F, click Options, set Within to Workbook and Look in to Formulas, and search for the name. If the search finds nothing, the name is genuinely unused.
The same #NAME? error appears for two other reasons worth ruling out first, because neither needs a deletion: the name is misspelled in the formula, or it is scoped to a different worksheet than the formula sits on. Press F3 to insert the name from the list rather than retyping it, and check the Scope column before you conclude anything is missing. Other causes of that error are covered in How to Fix Common Excel Formula Errors.
Scope decides where a name can be used, and it is set once, when the name is created.
Total pointing at their own numbers. Each tab defines its own Total, and each sheet's formulas pick up the local one.To create a worksheet-scoped name:
Workbook.To use a worksheet-scoped name from a different sheet, put the sheet name and an exclamation mark in front of it:
=SUM(January!Total)Note: The Scope dropdown is greyed out when you edit an existing name — Excel does not convert between the two. To change a name's scope, note what it refers to, delete it, and create it again with the scope you want. Do the formula search from Step 6 first, so you know what will break in between.
When both a workbook name and a worksheet name share a word, the worksheet one wins on its own sheet. That is useful when it is deliberate and confusing when it is not, so keep the overlap rare and give the sheet-level names an obvious purpose.
TIP
Build the names before the formulas, not after. Convert the data to a table with Ctrl + T, then run Create from Selection over the header row, and every formula you write from that point reads in plain English at no extra effort. Retrofitting names to a finished workbook means editing formulas by hand, which is where the mistakes come from.
| Symptom / Error | Potential Cause | Solution |
|---|---|---|
#NAME? in a formula that worked yesterday | Name deleted, or misspelled | Press F3 to open Paste Name and insert the exact spelling. If the name is absent from that list, it was deleted — recreate it in Name Manager (Step 6). |
The name that you entered is not valid. | Space, leading digit, or a cell-like name | Remove the space, move the digit to the end, and avoid anything shaped like an address: Q1Sales, not Q1 (Step 3). |
| The name vanished right after typing it | Clicked away instead of pressing Enter | Retype it in the Name Box and press Enter to commit (Step 1). |
| New rows at the bottom are missing from the total | The name covers a fixed range | Extend the range in Name Manager, or convert the data to a table with Ctrl + T so column references grow automatically. See How to Format Data as a Table in Excel. |
#REF! in the Refers To column of Name Manager | The named rows, column, or sheet was deleted | Filter Name Manager to Names with Errors, select the name, and drag over the correct cells to repoint the Refers to box (Step 6). |
A name works on one sheet and returns #NAME? on another | The name has worksheet scope | Check the Scope column in Name Manager. Prefix it with the sheet name — =SUM(January!Total) — or recreate it with Workbook scope (Step 7). |
| Create from Selection skipped a column | The header is a number or an empty cell | Give the column a text header that starts with a letter, then run Create from Selection again (Step 5). |
IT Tip Tuesday
Get a short, actionable IT tip in your inbox every week.
Nothing loads from beehiiv until you click. Once it does, the form sets beehiiv's own cookies and loads beehiiv's own analytics.