This week I’m working on a giant Excel workbook, and my client wants all the data entry cells named.
There are about 600 cells to name, so I’m looking for ways to same some time.
Use the Name Box
A quick way to name a cell is to click in the Name Box, type the name, the press the Enter key.
In the screen shot below, cell C4 is being named as FullName.
Create From Selection
Even quicker is to use the Create Names feature, and name the cells based on the labels in adjacent cells .
Here, the cells with labels, and the data entry cells, are selected (B4:C8).
Ribbon Command
Then, on the Ribbon, click the Formulas tab
Next, click Create From Selection.
- Or, in Excel 2003, click Insert | Name | Create.
Create From Selection dialog box
In the Create From Selection dialog box, select the location of the labels.
In this example, the labels are in the left column of the selected cells.
Then click OK to create the names.
Name a Range of Cells
In this example, I named a single cell with each label. You can select multiple cells adjacent to each label, and the label will name the range of cells.
Valid Characters in Names
If the labels contains spaces, they’re replaced with an underscore.
Other invalid characters, such as ampersand ( & ) and hashtag / pound sign (# ) will be removed or replaced by an underscore character.
More Information
For more information on naming cells, go to the Excel Names and Named Ranges page on my Contextures site.
_________________
How come I didn’t know that? That is a real timesaver. Thanks. You might want to add in your article that it works for ranges too.
Thanks Jeff, and I’ve added a note about ranges.
This is one of those great tips you always forget to use. I have known about this for some time, but I can never get in the habit of using it. Damned!
All that blog reading finally paying off! This is something I actually do know and even practice sometimes.
[…] Create Names From Excel Labels […]
[…] the Scenario Summary shown above, the changing cells are shown as addresses. If you name the value cells, the Scenario Summary will show those names, instead of the cell […]