Defining a Name

Written by Allen Wyatt (last updated July 4, 2020)
This tip applies to Excel 97, 2000, 2002, and 2003


Names are used so that you can refer to a single cell or a cell range using something meaningful to you. You can define a name using Excel's menus by following these steps:

  1. Select the cell or cell range you want the name to represent.
  2. Choose Name from the Insert menu, and then Define from the resulting submenu. Excel displays the Define Name dialog box. (See Figure 1.)
  3. Figure 1. Define Name dialog box.

  4. Replace the suggested name (if any) with the name you want to use for the cell or cell range you selected in step 1.
  5. Click on Add. Your name is now defined.
  6. Click on OK to close the Define Name dialog box.

The names you define in Excel can be up to 255 characters in length and contain any numbers or letters, as well as the period, backslash, question mark or underscore. Names cannot contain any other special characters, including spaces. In addition, names must start with either a letter, backslash or the underscore.

You can also define a name by using the formula bar. To use this method, follow these steps:

  1. Select the cell or cell range you want the name to represent.
  2. Click in the area at the very left of the formula bar.
  3. Type the name you want to define, pressing Enter when done.

The name is defined and appears in the formula bar area whenever the cell or cells are selected.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2044) applies to Microsoft Excel 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Clearing the Undo Stack in a Macro

Excel keeps track of the actions you take so that you can undo those actions if any are taken in error. You may want to ...

Discover More

Printing a Chart Across Multiple Pages

Wouldn't it be great to have your huge charts print out on multiple pieces of paper that you could then piece together? ...

Discover More

Creating Labels

Using Word to create and print labels is a snap. All you need to do is provide the text you want on the labels, pick a ...

Discover More

Dive Deep into Macros! Make Excel do things you thought were impossible, discover techniques you won't find anywhere else, and create powerful automated reports. Bill Jelen and Tracy Syrstad help you instantly visualize information to make it actionable. You’ll find step-by-step instructions, real-world case studies, and 50 workbooks packed with examples and solutions. Check out Microsoft Excel 2019 VBA and Macros today!

More ExcelTips (menu)

Maintaining the Active Cell

Move from one worksheet to another, and Excel selects whatever cell was last used in the worksheet you are selecting. If ...

Discover More

Viewing Your Work Full-Screen

Want to use the maximum space possible for displaying information on screen? You'll want to learn how to use the ...

Discover More

Changing Input Conventions

Different cultures have different conventions for displaying numbers and for parameters in Excel's worksheet functions. ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is seven less than 8?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.