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

Creating Oval Pictures

A couple of ways to create oval shaped pictures in a Word document.

Discover More

Duplex Printing from Multiple Trays

Printing in duplex has not always been easy in Word, particularly when you want that printing to be controlled by a ...

Discover More

Creating Registry Keys or Values

The Registry is the central depository of configuration information used by Windows and by programs running on your ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (menu)

Last Non-Zero Value in a Row

If you have a lot of values in a single row, you might want to pull the last non-zero value from that row. There are a ...

Discover More

Only Showing the Maximum of Multiple Iterations

When you recalculate a worksheet, you can determine the maximum of a range of values. Over time, as those values change, ...

Discover More

Figuring Out the Low-Score Winner

Need to figure out the lowest score in a range of scores? Here's the formulas to get the information you need.

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 2?

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.