In Excel: select the range, type a name like SalesData in the Name Box (left of the formula bar) and press Enter, then use =SUM(SalesData) in place of =SUM(B2:B100).
Select the cell or range you want to name.
Use Formulas ▸ Define Name, or type the name in the Name Box (left of the formula bar) and press Enter.
Or select a range with header labels and use Formulas ▸ Create from Selection to name it from the headers.
Use the name in formulas, e.g. =SUM(SalesData).
Open Name Manager (Ctrl+F3) to edit or delete names.
What this does
A named range is a human-readable label for a cell or range. Once defined, you can use the name in any formula instead of cell references, so =SUM(SalesData) reads more clearly than =SUM(B2:B100) and survives when rows move. Names are workbook-scoped by default. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “name box in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a text operation that turns messy entries into clean, usable data, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
Select B2:B100, click the Name Box at the left of the formula bar, type SalesData and press Enter. Now =SUM(SalesData) totals the column and reads as plain English instead of =SUM(B2:B100). Named ranges make formulas readable and self-documenting, so a sheet someone else built is easy to follow and safe to edit. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Here is the takeaway for “name box in excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
Common mistakes
- Using spaces in a name (not allowed — use SalesData or Sales_Data).
- Starting a name with a number (names must start with a letter or underscore).
- Choosing a name that looks like a cell reference such as
A1orQ3. - Forgetting that a workbook-scoped name must be unique across the whole workbook.
Frequently asked questions
How do I create a named range?
Select the range, then use Formulas ▸ Define Name or type a name in the Name Box and press Enter.
Where is the Name Box?
It is the small box at the left end of the formula bar that shows the current cell address.
How do I edit or delete a named range?
Open Name Manager with Ctrl+F3, then edit or delete any name there.
Can I do this in Google Sheets?
Yes. Use Data ▸ Named ranges to define and manage names.
Other ways people ask this
People reach this page typing “click the name box in excel” and “name box arrow in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.
Why do people search for this in so many different ways?
Because the same task has many names. “click the name box in excel”, “name box arrow in excel” all point at the one operation explained on this page, which is why they all lead here.