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

Setting Stable Column Widths in a PivotTable

When you update a PivotTable, Excel can take liberties with any formatting you previously applied to the PivotTable. ...

Discover More

Using the INFO Field

The INFO field allows you to include all sorts of information in your document. Here's a quick overview of the field and ...

Discover More

Printing an Extra Blank Envelope

You can easily use Word to print envelopes for your letters. What happens, however, if your printer insists on pushing ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

Counting Unique Values

Need to know a count of unique values in a range of cells? There are a couple of ways you can tackle the problem.

Discover More

Finding the Sum of a Sequential Integer Range

In mathematics, the sum of a range of sequential integers, starting with 1, is known as a triangular number or Gaussian ...

Discover More

Formatting Canadian Postal Codes

Postal codes in Canada consist of six characters, separated into two groups. This tip explains the format and then shows ...

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 one less than 9?

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.