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

Changing Character Color

Need to easily change the color of some selected text? A quick way to do it is with a custom macro that sets just the hue ...

Discover More

Adding Tabs at the Beginning of a Line

Press a tab at the beginning of a paragraph, and Word normally assumes you want to indent the paragraph. If you don't ...

Discover More

Replacing Spaces in Part Numbers with Dashes

Word has a power capability to search for information and then replace that information in some way. Finding the right ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (menu)

Viewing Formulas versus Results

Sometimes it is helpful to see the actual formulas in a cell, rather than the results of those formulas. Here's how to ...

Discover More

Excluding Values from Averaging

Calculating an average of a group of numbers is easy. What if you want to exclude a couple of the numbers from the group ...

Discover More

Determining Winners, by Category

Do you need to determine the top three values in a range of columns? The techniques discussed in this tip will come in ...

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 nine minus 5?

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.