Name Box in Excel: All you need to know

The Name Box in Excel is the box at the left end of the formula bar that shows the address or name of the selected cell, and you can type in it to name a range or jump to any cell.

This guide covers naming cells, selecting ranges, the rules Excel applies to names, name scope, Name Manager, and the errors people run into.

How to give a name in the Name Box

Naming a cell or range from the Name Box takes three steps, and the name works in Excel formulas on every sheet of the workbook.

  1. Select the cell, range or nonadjacent selections you want to name.
  2. Click the Name Box at the left end of the formula bar.
  3. Type the name, for example Sales_Tax, following the naming rules below.
  4. Press Enter.
  5. Type =Sales_Tax in another cell to use the value.

A name created in the Name Box has workbook-level scope. You cannot name a cell while you are still editing its contents, so press Enter or Esc first.

What is Name Box in Excel and where can you find it?

The Name Box sits directly above column A, to the left of the formula bar and its fx button. It does three jobs at once: it displays, it navigates and it names.

Name Box job What it does Example
Shows the active reference Displays the address of the selected cell, or its name if it has one Selecting C4 shows C4; selecting a named range shows its name
Jumps to a cell or range Selects any reference you type and press Enter on Type B1:B3 to select that range
Lists named ranges The arrow next to the box opens a list of the workbook's names Click a name to select those cells
Creates names Typing a new name with cells selected defines it Select A2:A20, type Customers

The Name Box cannot delete or rename an existing name. Those changes are made in Name Manager on the Formulas tab.

Name Box in Excel: All you need to know
The Name Box sits directly above column A, left of the formula bar and its fx button, and shows the selected cell's address. (Image: Microsoft)

How to use the Name Box

The Name Box is the fastest way to reach a far-off cell or a named range without scrolling.

  1. To go to a cell, click the Name Box, type a reference such as B3, and press Enter.
  2. To select a range, type a reference such as B1:B3 and press Enter.
  3. To select a named range, click the arrow next to the Name Box and click the name.
  4. To select several named ranges at once, click the first name in the list, then hold Ctrl while you click the others.
  5. To use Go To instead, press F5 or Ctrl + G, pick a name or type a reference in Reference, and select OK.

Go To accepts several references separated by commas, and a spill reference such as A1# selects the whole result of a dynamic array formula. Select Special in the Go To dialog to pick cells by type, such as formulas or visible cells only.

Create names from selection in Excel

When your data already has row or column labels, Excel can turn those labels into names in one pass.

  1. Select the range you want to name, including the row or column labels.
  2. Select Formulas > Defined Names > Create from Selection, or press Ctrl + Shift + F3.
  3. In Create Names from Selection, check Top row, Left column, Bottom row or Right column to match where your labels are.
  4. Select OK.
  5. Click the arrow next to the Name Box to see the new names.

Names made this way refer only to the cells with values, not to the labels themselves, and they have workbook scope.

How to define a name in Excel with Define Name

Use Define Name instead of the Name Box when you need a worksheet-level name, a comment, or a name for a constant or formula.

  1. On the Formulas tab, in the Defined Names group, select Define Name.
  2. In New Name, type the name in the Name box.
  3. Choose Workbook or a sheet name in the Scope list.
  4. Optionally type a note of up to 255 characters in Comment.
  5. In Refers to, select the cells, or type = followed by a constant such as =8.3 or a formula.
  6. Select OK.

Selecting cells with the mouse creates an absolute reference such as Sheet1!$B$1. Typing B1 creates a relative reference that shifts depending on where you use the name.

Excel name rules

Excel rejects a name typed in the Name Box if it breaks any of these rules.

Rule What is allowed Example
First character A letter, an underscore (_) or a backslash (\) _Total works; 1Total does not
Other characters Letters, numbers, periods and underscores First.Quarter, Q1_Sales
Spaces Not allowed; use _ or . as separators Sales_Tax, not Sales Tax
Cell references A name cannot look like a cell reference Z$100 and R1C1 are rejected
Single letters C and R C, c, R and r cannot be names Use Rate instead of R
Length Up to 255 characters Keep names short enough to read in formulas
Case Excel ignores case Sales and SALES count as the same name

Named range scope in Excel: workbook vs worksheet

Every name has a scope, and a name must be unique within it. The same name can exist once per sheet and once for the workbook.

Scope Where the name works How to refer to it elsewhere
Workbook (default) Every sheet in the workbook, not other workbooks Type the name, or WorkbookFile!Name to override a sheet-level name
Worksheet Only the sheet it was defined for Prefix the sheet name, such as Sheet1!Budget_FY08
Name conflict A sheet-level name wins over a workbook-level name with the same text Prefix the workbook name to use the workbook version

Names typed into the Name Box and names from Create from Selection are always workbook-level. Set a worksheet scope with Define Name.

Using Name Manager in Excel

Name Manager lists every defined name and table name in the workbook with its Value, Refers To, Scope and Comment. It is the only place to rename or delete a name.

  1. On the Formulas tab, in the Defined Names group, select Name Manager.
  2. To edit, double-click a name or select it and choose Edit, change the name or the Refers to reference, and select OK.
  3. To change only the range, edit the Refers to box at the bottom and select the Commit check mark.
  4. To delete, select one or more names (hold Shift or Ctrl to select several), choose Delete, then select OK.
  5. To find broken names, open Filter and choose Names With Errors.
  6. Close the dialog box when you finish.

Renaming a name updates every formula that uses it. Name Manager does not show names defined in VBA or hidden names, and it cannot open while you are editing a cell.

Excel Name Manager dialog listing defined names with Value, Refers To and Scope
Open it from Formulas > Defined Names > Name Manager; it is the only place to rename or delete a name. (Image: Microsoft)

Use a named range in an Excel formula

  1. Select a cell and start typing a formula, such as =SUM(.
  2. Type the first letter of the name and pick it from the AutoComplete list.
  3. Or select Formulas > Defined Names > Use in Formula and click the name.
  4. Close the formula and press Enter.
  5. To list every name in the sheet, select an empty cell, then select Use in Formula > Paste and choose Paste List in the Paste Names dialog box.

A formula such as =SUM(FirstQuarterSales) is easier to audit than =SUM(C20:C30). Defined names also work with dynamic array formulas and the LET and LAMBDA functions.

Use a named range in an Excel formula with COUNTA in the formula bar
Typing the name instead of a cell address keeps the formula readable, while the Name Box still shows the active cell, B3. (Image: Microsoft Q&A)

Excel Name Box not working: common problems

Excel will not accept the name typed in the Name Box

The name breaks a naming rule, for example a space, a leading number or a cell-like name.

  1. Replace spaces with an underscore or period.
  2. Start the name with a letter or underscore.
  3. Avoid names such as A1, R1C1, C or R.

Typing in the Name Box does nothing

The cell is still in edit mode.

  1. Press Enter or Esc to leave the cell.
  2. Click the Name Box again and type the name.

A name already exists or selects the wrong cells

Names are not case-sensitive and must be unique within their scope.

  1. Open Formulas > Name Manager.
  2. Find the existing name and correct its Refers to range, or pick a different name.

Cannot delete or rename a name from the Name Box

The Name Box only creates and selects names.

  1. Open Formulas > Defined Names > Name Manager.
  2. Select the name and choose Edit or Delete.

A formula with a named range shows #NAME?

The name is not defined or is misspelled in the formula.

  1. Check the name in Name Manager.
  2. Insert it with Formulas > Use in Formula instead of typing it.
  3. Fix the cause rather than hiding the error with IFERROR.

A named range shows #REF! in Name Manager

The cells the name referred to were deleted.

  1. Filter Name Manager by Names With Errors.
  2. Edit Refers to to point at the right cells, or delete the name.
Excel named range #NAME? fix: insert the name from Use in Formula
Picking Profit from Formulas > Use in Formula adds the defined name without a typo, the usual cause of #NAME? errors. (Image: Microsoft)

Excel Name Box FAQ

Where is the Name Box in Excel?

The Name Box is at the left end of the formula bar, directly above column A. It shows the address or name of the selected cell, and it has a drop-down arrow that lists the workbook's named ranges.

How do I name a range using the Name Box?

Select the cells, click the Name Box, type a name without spaces, and press Enter. The name gets workbook scope and works in formulas on every sheet of that workbook.

How do I delete a name from the Name Box in Excel?

You cannot delete names from the Name Box itself. Open Formulas > Name Manager, select the name, choose Delete, and select OK to confirm.

Can a name in Excel contain spaces?

No. Excel does not allow spaces in names. Use an underscore or a period as the separator instead, such as Sales_Tax or First.Quarter.

What is the difference between the Name Box and Name Manager?

The Name Box creates names and selects cells or named ranges. Name Manager lists every name with its value, reference, scope and comment, and it is where you edit, filter and delete names.

How do I go to a cell using the Name Box?

Click the Name Box, type the cell reference, such as B3, or a range such as B1:B3, and press Enter. Excel selects it immediately, even if it is far off screen.

Is the Excel Name Box case-sensitive?

No. Excel does not distinguish uppercase from lowercase in names, so Sales and SALES are treated as the same name and Excel asks you to pick a unique one.

How long can a name in Excel be?

A defined name can be up to 255 characters long. Shorter names are easier to read in formulas and in the Name Box drop-down list.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *