Named ranges are one of these crusty old features in Excel that few users understand.
But named ranges are actually a pretty cool feature.
They can make formulas a lot easier to create, read, and maintain.
And as a bonus, they make formulas easier to reuse (more portable).
In fact, I use named ranges all the time when testing and prototyping formulas.
They help me get formulas working faster.
A named range is just a human-readable name for a range of cells in Excel.
after you snag a named range, just use it just like a cell reference.
Just select a range of cells, and bang out a name into the name box.
Excel will opt for range on the worksheet.
pick the name you want to work with, then change the reference directly (i.e.
edit “refers to”), or hit the button at right and select a new range.
There’s no need to opt for Edit button to update a reference.
When you click Close, the range name will be updated.
If you know a way to do this, chime in below!
Whenever you change the date in “updated”, the message will update wherever the formula is used.
Seethis pagefor more examples.
Named ranges are absolute by default
By default, named ranges behave like absolute references.
As a result, relative named ranges are useful building generic formulas that work wherever they are moved.
Important: ensure the active cell is at the correct location before creating the name.
Start by selecting the cells that contain formulas you want to update.
Then run Formulas > Define Names > Apply Names.
Excel will then replace references that have a corresponding named range with the name itself.
This is because they replace cryptic references with meaningful names.
For example, consider this worksheet with data on planets in our solar system.
This is a great way to quickly get a formula working.
As long as “data” contains numeric values, the formula will work straightway.
This stops Excel from creating names on-the-fly and lets you to fully control the name creation process.
internet tool, text editor, etc.).
Named ranges can be used for navigation
Named ranges are great for quick navigation.
Just opt for dropdown menu next to the name box, and choose a name.
When you release the mouse, the range will be selected.
When a named range exists on another sheet, you’ll be taken to that sheet automatically.
Named ranges work well with hyperlinks
Named ranges make hyperlinks easy.
However, you might define a name equal to a table (i.e.
=Table1) and hyperlink to that.
A range set up this way is referred to as a “dynamic named range”.
There are two ways to make a range dynamic: formulas and tables.
Table1), but you’re free to rename the table as you like.
when you land created a table, it will expand automatically when data is added.
The video below runs through this approach in detail.
Otherwise, you’ll see #NAME?
errors in formulas that still refer to deleted names.
For example, the scope for a local name might be “Sheet2”.
For example, you might use a global named range a tax rate assumption used in several worksheets.
Local scope
Local scope means a name is works only on the sheet it was created on.
This might allow you to reuse the same formulas in different sheets.
For example, you could name a cell “last_update”, enter a date in the cell.
Then you might use the formula below to display the date last updated in any worksheet.
Global names must be unique within a workbook.
Locally scoped named ranges make sense for worksheets that use named ranges for local assumptions only.
However, as a workaround, you could delete and recreate a name with the desired scope.
You candownload the Name Manager utility here.