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

Deleting Every X Rows

Grab some info from a source other than Excel, and you may find the need to delete a certain pattern of rows from a ...

Discover More

Detecting if the Insertion Point is Inside a Bookmark

When processing a document using a macro, you may need to know if the insertion point is within a bookmark or not. This ...

Discover More

Spellcheck for Two Languages

Are you creating a document that mixes different languages? Word can handle the multi-language scenario, but it may take ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Simulating Alt+Enter in a Formula

You can use the Alt+Enter keyboard shortcut while entering information in order to force your data onto multiple lines in ...

Discover More

Averaging Values for a Given Month and Year

Excel is often used to analyze data collected over time. In doing the analysis, you may want to only look at data ...

Discover More

Deriving a Secant and Cosecant

Two rather common trigonometric functions are secants and cosecants. Excel doesn't provide functions to calculate these, ...

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 four minus 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.