Quickly Create Excel Names From Labels

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.

Type name in Name Box
Type name in Name Box

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).

Select Labels and Cells
Select Labels and Cells

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

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.

Create From Selection dialog box
Create From Selection dialog box

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.

Underscore in Created Name

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.
_________________

6 thoughts on “Quickly Create Excel Names From Labels”

  1. 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.

  2. […] 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 […]

Leave a Reply to Anonymous Cancel reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.