Why $B$1 is hard to read, and what a name fixes
You open a workbook someone else built (or that you built six months ago) and find =B4*$B$1. To understand it you have to click B1, read the label next to it, and remember what it means while you look back at the formula. Now imagine the same formula written as =B4*TaxRate. You understand it at a glance, before you even look at the sheet. That is the whole idea of defined names in Excel, and it is the subject of this free first lesson.
This guide is for anyone who builds spreadsheets other people have to read or trust: shop owners pricing a product list, bookkeepers preparing invoices, analysts building a forecast, students handing in a model. If you have ever copied a formula down and watched a reference slide from B1 to B2, B3 and B4, or if you have ever been asked "where does this number come from?", names are the cheapest fix Excel offers. They cost nothing, they work in every desktop version of Excel, and they make formulas both easier to read and harder to break.
We use the same example as the lab above: Orchard Lane Cycles, a fictional bike shop that keeps its sales tax rate in one cell, B1, and adds tax to six items on its price list. The 8% rate is an illustrative number for practice, not the rate of any real country or state.
The core concept: a name is a label for a cell, a range or a value
A defined name is a word you attach to a cell (B1), a range (B4:B9), a constant (0.08) or even a formula. Once B1 is named TaxRate, you can write TaxRate anywhere you would have written $B$1. Excel stores the name in the workbook together with its Refers to address, here =Sheet1!$B$1.
Three properties make names so useful. First, a name created from a selected cell is absolute: it always points to the same cell, so you can copy a formula anywhere without dollar signs. Second, a name is self-documenting: the formula tells the reader what it uses, not only where it lives. Third, a name is one place to change: if the tax rate moves to another cell, you edit the name once in the Name Manager and every formula follows.
Names are not case-sensitive. taxrate, TAXRATE and TaxRate are the same name, and Excel always displays the spelling you used when you defined it. That is a handy check: if you type a name in lower case and Excel does not convert it to your defined spelling when you press Enter, you have probably misspelt it.
Worked example: tax on the Orchard Lane Cycles price list
The shop has six items with net prices in B4:B9 and the tax rate (8%, for example) in B1. We calculate the tax twice, once with an absolute reference and once with the name, and then the gross price. The results are identical; only the readability differs.
| Item (A) | Net price (B) | Tax with $B$1 (C) | Tax with name (D) | Gross price (E) |
|---|---|---|---|---|
| City bike | 649.00 | =B4*$B$1 → 51.92 | =B4*TaxRate → 51.92 | =B4*(1+TaxRate) → 700.92 |
| Gravel bike | 1,490.00 | 119.20 | 119.20 | 1,609.20 |
| Kids bike | 289.00 | 23.12 | 23.12 | 312.12 |
| Helmet | 79.90 | 6.39 | 6.39 | 86.29 |
| Lock | 44.50 | 3.56 | 3.56 | 48.06 |
| Floor pump | 32.00 | 2.56 | 2.56 | 34.56 |
| Total | 2,584.40 | 206.75 | 206.75 | 2,791.15 |
The formulas are entered once in row 4 and copied down to row 9: C4: =B4*$B$1, D4: =B4*TaxRate and E4: =B4*(1+TaxRate). Notice that the gross price uses 1+TaxRate: multiplying by 1.08 adds the tax to the net price in one step. You could also write =B4+D4, which gives the same 700.92 for the city bike. The totals row is a plain =SUM(B4:B9), =SUM(C4:C9) and so on. The helmet tax is 6.392, which Excel displays as 6.39 with a currency format; the stored value keeps all decimals, so totals can differ by a cent from a sum of rounded displays. If your invoices must add up to the displayed cents, round each line with =ROUND(B4*TaxRate,2).
Now change B1 from 8% to 7.5%. Every value in columns C, D and E updates immediately, because all of them point to the same cell. The difference shows up only when someone has to read or maintain the sheet: =B7*TaxRate needs no explanation, =B7*$B$1 does.
Step by step: create and use the name TaxRate in Excel
- Type the label Sales tax rate in A1 and the rate
8%(or0.08) in B1. Format B1 as a percentage with Ctrl+Shift+%. - Click B1. Look at the Name box, the small field to the left of the formula bar: it shows
B1. - Click into the Name box, type
TaxRate(no spaces) and press Enter. Pressing Enter is essential: if you click away instead, the name is not created. - Click another cell and then B1 again. The Name box now shows
TaxRateinstead of B1. The name exists. - In C4 type
=B4*$B$1. Tip: type=B4*B1and press F4 once while the cursor is on B1 to add both dollar signs. Copy down to C9 by double-clicking the fill handle (the small square at the bottom-right of the selection). - In D4 type
=B4*Ta. Excel's formula AutoComplete listsTaxRatewith a name tag icon; press Tab to accept it, then Enter. Copy down to D9. - In E4 type
=B4*(1+TaxRate)and copy down to E9. - Open Formulas > Name Manager (Windows shortcut Ctrl+F3). You see TaxRate, its current value (0.08) and its Refers to address
=Sheet1!$B$1. This is where you edit, rename or delete names later. - To jump to a named cell from anywhere in the workbook, open the Name box drop-down (the small arrow) or type the name into it and press Enter. Excel selects the cell, even on another sheet.
Other ways to create names
The Name box is the fastest way for a single cell, but Excel offers three more methods that you will use as your models grow:
- Formulas > Define Name opens a dialog where you type the name, choose its scope (the whole workbook or one sheet), add a comment that appears as a tooltip, and set the Refers to box. Use it when you want to document what the name means.
- Formulas > Create from Selection (Windows Ctrl+Shift+F3) turns labels into names in bulk. Select A1:B1, choose Left column, and Excel names B1 after the text in A1. Labels with spaces become names with underscores, so Sales tax rate becomes
Sales_tax_rate. - Named constants do not need a cell at all. In Define Name, type
=0.08into Refers to. The rate is then hidden from the grid, which is good for values that never change and bad for assumptions people should see. For a tax rate, a visible input cell is usually the better choice. - Excel tables (Insert > Table, Ctrl+T) give every column an automatic name such as
Prices[Net price]. These structured references grow with the table and are covered later in the course together with lookups.
Naming rules you have to follow
Excel is strict about what a name may look like. The rules are short: a name must start with a letter, an underscore or a backslash; it may contain letters, numbers, periods and underscores; it may not contain spaces; it may not look like a cell reference; and it can be up to 255 characters long. The single letters R and C are reserved. The surprising one is the cell-reference rule: since Excel 2007 the grid has columns up to XFD, so a name like TAX2026 is rejected because column TAX, row 2026 is a real cell.
| Name | Allowed? | Why |
|---|---|---|
TaxRate | valid | Starts with a letter, no spaces. |
Tax_Rate | valid | Underscores are allowed and are a common replacement for spaces. |
Tax Rate | invalid | Spaces are not allowed. |
2026Rate | invalid | A name must start with a letter, an underscore or a backslash. |
TAX2026 | invalid | Looks like a cell address: column TAX, row 2026 exists in modern Excel. |
R or C | invalid | Reserved for the R1C1 reference style. |
A good convention is PascalCase without units in the name (TaxRate, ShipFee, FreeShipFrom), or a short prefix for inputs such as in_TaxRate if your model has hundreds of names. Pick one style per workbook and keep it.

Common mistakes and how to spot them
- Forgetting Enter in the Name box. You type
TaxRate, click somewhere else, and the name is gone. Spot it: click B1 again; if the Name box shows B1, the name was not created. - Misspelt names give #NAME?.
=B4*TaxRtaereturns#NAME?because Excel cannot find a name or function with that spelling. Spot it: a correctly typed name is converted to your defined capitalisation when you press Enter; a misspelt one stays exactly as typed. - Putting a name in quotes.
=COUNTIF(B4:B9,">MinPrice")compares with the literal text MinPrice. Concatenate instead:=COUNTIF(B4:B9,">"&MinPrice). - Naming the wrong cell. If you click B2 by accident before typing the name, TaxRate points to an empty cell and every tax becomes 0. Spot it: in the Name Manager, the Value column shows the current content of each name.
- Duplicate names for one cell. Typing a new name into the Name box for a cell that already has a name creates a second name rather than renaming the first. Clean up in the Name Manager.
- Deleting the named cell. If you delete row 1, TaxRate becomes
=Sheet1!#REF!and every formula using it returns#REF!. Spot it: filter the Name Manager by Names with Errors. - Mixing styles. A model where half the formulas use
TaxRateand half still use$B$1is harder to audit than either style alone. On Windows, Formulas > Define Name > Apply Names replaces matching references with names in the selected cells.
Quick reference: names, shortcuts and functions used here
| Function, tool or shortcut | What it does |
|---|---|
=B4*TaxRate | Use a defined name in a formula exactly like a cell reference. |
| Name box (left of the formula bar) | Select a cell, type a name, press Enter to create it. Type an existing name and press Enter to jump to it. |
| Formulas > Define Name | Create a name with a comment and a scope (Workbook or one sheet). |
| Ctrl+F3 (Windows) | Open the Name Manager: edit, delete or filter all names. |
| Ctrl+Shift+F3 (Windows) | Create from Selection: turn labels next to cells into names in one step. |
| F3 (Windows) | Paste Name: insert a name into the formula you are typing. |
| F4 | While editing, cycle a reference through B1, $B$1, B$1, $B1. |
=SUM(Revenue) | Names work inside any function that accepts a range. |
=LET(rate,0.08,B4*rate) | A name that exists only inside one formula (Microsoft 365, Excel 2021+). |
Real-world uses for defined names
- Pricing and invoicing: a shop keeps
TaxRate,ShipFeeandMemberDiscountin a small input block. When a rate changes, one cell is edited and every quote and invoice template follows. - Budgets and forecasts: a finance team names its assumptions (
Inflation,GrowthRate,FXRate_EUR) so that a reviewer can read=Revenue*(1+GrowthRate)instead of hunting for cell D3 on an assumptions sheet. - Drop-down lists: Data Validation with Source
=Categoriespoints to a named list, so you can move or extend the list without editing every validation rule. - Dashboards: charts and KPI cells that read from names like
TotalProfitorTargetMarginkeep working when the data sheet is reorganised. - Handing over a workbook: a colleague, an auditor or your future self can open the Name Manager and see every important input with its value and a comment, which is far faster than reverse-engineering cell addresses.
What you will build in the rest of this course
Using Named Constants: TaxRate, ShipFee, FreeShipFrom & MemberDiscount. You price eight web-shop orders with four named inputs and not a single dollar sign. The formulas read like the shop's pricing policy, including the free-shipping threshold logic with IF, so you can check the rules by reading them.
Naming Ranges with the Name Box: SUM, AVERAGE, COUNTIF and SUMIF. Names are not only for single cells. You summarise twelve bike orders with range names, defining two yourself, and write summaries like =SUMIF(Category,"E-bike",Revenue) that explain themselves.
Names in Lookups: VLOOKUP and XLOOKUP on Named Tables. You price a dealer order against a named price list and find a volume discount in a tier table you name yourself. Lookups are where cell references break most often, and names make them robust.
Assumption Blocks and Scenario Inputs with Names. You drive a five-year e-bike revenue plan from a named scenario switch, pick the active growth and price increase with INDEX/MATCH and project units, prices and revenue. This is the structure professional forecast models use.
Naming Rules, Conventions, Scope and #NAME? Errors. You repair invalid names, fix a formula with a misspelt name and avoid the classic "name inside quotes" trap in COUNTIF, so the errors in this article never cost you an afternoon.
Refactoring a Model from Cell References to Names. You take a gravel-bike profit model full of cell addresses and rebuild it with names. The results stay the same, but every formula ends up reading like the business logic behind it.
Mid-course project: A Named-Range Dashboard and Chart. You build the shop's 2026 dashboard from names only: total profit, best month, months on target, and a chart of revenue against costs. You finish with the Tabellab certificate in readable Excel models.
Summary: try it in the lab above
A defined name is a label for a cell, range or value. Created from a selected cell, it is absolute, so =B4*TaxRate copies down safely without dollar signs, and it explains itself to anyone who reads the formula. Create names in the Name box (type and press Enter), with Define Name or with Create from Selection; manage them in the Name Manager; and follow the rules: no spaces, no leading digit, nothing that looks like a cell address.
Now scroll up to the interactive lab and do it yourself: calculate Orchard Lane Cycles' tax with $B$1 in column C and with TaxRate in column D, build the gross price, and find the cell the name points to. It takes about fifteen minutes, the Coach checks every step, and afterwards you will never look at a dollar sign in a formula the same way again.
Frequently asked questions
What is a named range in Excel?
A named range is a defined name that refers to a cell or a range of cells, for example TaxRate for B1 or Revenue for C2:C50. You can use the name in formulas instead of the address, such as =B4*TaxRate.
How do I create a named range quickly?
Select the cell or range, click into the Name box to the left of the formula bar, type the name without spaces and press Enter. You can also use Formulas > Define Name or Create from Selection.
Is a named range absolute or relative?
A name created from a selection is absolute by default (it refers to $B$1, not B1), so you can copy a formula that uses it anywhere without adding dollar signs.
Why does my formula show #NAME? when I use a name?
Excel cannot find the name, usually because of a typo, because the name was never created (Enter not pressed in the Name box) or because it has sheet scope on a different sheet. Check the spelling in the Name Manager (Ctrl+F3 on Windows).
Can a named range contain spaces?
No. Names cannot contain spaces. Use PascalCase such as TaxRate or underscores such as Tax_Rate instead.
How do I edit or delete a named range?
Open Formulas > Name Manager, select the name, then use Edit to change its name or Refers to address, or Delete to remove it. Formulas that still use a deleted name will show #NAME?.
Keep going: Excel Named Ranges & Readable Models: Constants, Names and the Name Box
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time $9.90.
- Using Named Constants: TaxRate, ShipFee, FreeShipFrom & MemberDiscount
- Naming Ranges with the Name Box: SUM, AVERAGE, COUNTIF and SUMIF
- Names in Lookups: VLOOKUP and XLOOKUP on Named Tables
- Assumption Blocks and Scenario Inputs with Names
- Naming Rules, Conventions, Scope and #NAME? Errors
- Refactoring a Model from Cell References to Names
- Mid-course project: A Named-Range Dashboard and Chart
- Named Criteria Cells: SUMIFS, COUNTIFS and AVERAGEIFS with a Selector
- A Named Cross-Tab: Mechanic × Job Type Hours with Mixed References
- Two-Way Lookups on a Named Rate Grid: INDEX with Two MATCHes
- Growing Lists: Dynamic Named Ranges with OFFSET and COUNTA
- Choosing a Named Range by Text: INDIRECT, Dependent Lists and a Validation Rule
- Named Constants Without Cells: Labour Rate, Billing Step, Markup and Minimum Charge
- Control Checks with Names: Tie-Outs, Blanks, Duplicates and One OK Flag
- Break-Even and Price Sensitivity from Named Drivers
- Named Dates: AsOfDate, a Season Window and Overdue Rental Invoices
- Budget vs Actual with Named Tolerances: Variance Flags, Highlighting and a Bar Chart
- Moving Windows with Names: a Selected Month, a Window Size and OFFSET
- Final Project: A Named Multi-Store Dashboard with Selector, KPIs and Chart