Using Named Formulas or Constants

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


Besides allowing you to define a name that refers to a cell or cell range, Excel allows you to define names that refer to formulas or constant values. For instance, suppose you have a constant you will be using in your worksheet quite a bit--the standard commission rate for staff sales people, which is 8.5%. To define a name for this constant, follow these steps:

  1. Select the Name option from the Insert menu and choose Define from the submenu. Excel displays the Define Name dialog box. (See Figure 1.)
  2. Figure 1. The Define Name dialog box.

  3. In the Names in Workbook field, enter the name you want to use for the formula or constant.
  4. Change the Refers To field, at the bottom of the dialog box, so it contains the desired formula. In this example, you would change it to =8.5%.
  5. Click on Add. Your name is now defined.
  6. Click on OK to close the Define Name dialog box.

The constant is now available for use in your worksheet. You can then use it in formulas just as you would any other defined name.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2659) 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

Breaking Lines in E-mail

If you are creating an e-mail in Word or are creating text that you will paste into an e-mail document, you may want to ...

Discover More

Picking a Group of Cells

Excel makes it easy to select a group of contiguous cells. However, it also makes it easy to select non-contiguous groups ...

Discover More

Watermarks in Excel

Excel is great at printing numbers on a piece of paper, but terrible at printing watermarks. This is apparently by ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Evaluating Formulas

Need a bit of help in figuring out how Excel is evaluating a particular formula? It's easy to figure out if you use the ...

Discover More

Returning the Smallest Non-Zero Value

In a series of values you may need to know the smallest value that isn't a zero. There is no built-in function to do ...

Discover More

Counting Employees in Classes

Excel is very good at counting things, even when those things need to meet specific criteria. This tip shows how you can ...

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 7 + 0?

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.