Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Applying Range Names to Formulas.

Applying Range Names to Formulas

Written by Allen Wyatt (last updated March 16, 2019)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


5

Named ranges can be a great boon when you are writing formulas. For instance, if you assign the name Tax_Rate to cell A7, you can then use the name Tax_Rate in your formulas instead of A7. This makes your formulas (and their purpose) easier to understand when you are later working with them.

This approach is great if you have not yet created any formulas. What if you already have a bunch of formulas in your worksheet, and they already reference cell A7 instead of Tax_Rate? You could, of course, select each formula and edit them to refer to Tax_Rate instead of A7, but that could be a long process that is prone to mistakes. (My fat fingers often introduce mistakes that I never intended. :>))

The solution is to allow Excel to do the editing for you. It is easy to do; just follow these steps:

  1. Define the named range you want used in your worksheet.
  2. Select the cells that contain formulas.
  3. Display the Formulas tab of the ribbon.
  4. Click the down-arrow at the right of the Define Name tool (in the Defined Names group) and then choose Apply Names. Excel displays the Apply Names dialog box. (See Figure 1.)
  5. Figure 1. The Apply Names dialog box.

  6. Click OK.

That's it; Excel examines your formulas and any reference to cell A7 is replaced with the name of A7, Tax_Rate.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8266) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Applying Range Names to Formulas.

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

Copying a Chart and Related Shapes to a Word Document

Excel and Word are intended to work together, but sometimes it can seem that getting them to do so isn't that intuitive. ...

Discover More

Counting Wins and Losses

Need to count the number of W (win) or L (loss) characters in a range of cells? You can develop a number of formulaic ...

Discover More

Storing Macros in Templates

How Excel uses templates is different than how Word uses templates. This tip looks at those differences and discusses ...

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 (ribbon)

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

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

Returning a Weight and a Date

If you have two columns containing dates and weights from those dates, you may want to pick a date associated with a ...

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 more than 9?

2020-09-29 12:23:44

Philip Andrew

Is there a way to select multiple cells with formulas and convert all their A1 references to their respective cell Names?


2020-02-12 15:32:39

Tripp Knightly

I believe this doesn't work if the name range is in a different worksheet in the workbook (as many people set things up). It does work if the named range is on the same worksheet as the formulas to which you are trying to propogate the names. By the way you can apply multiple names at once just by using control-click to select multiple in the dropdown.


2019-05-15 13:55:55

Ron Haggin

This did not work for me. I receive an error window stating: "Microsoft Excel cannot find any references to replace".


2019-03-17 22:57:44

rob

You cannot select multiple names to apply at once, each has to be done individually. Rather frustrating when there are a lot of named cells to apply.

Can someone please explain the two checkbox option?


2019-03-16 05:52:20

sandeep kothari

It seems "Term" has been selected instead of "Tax_Rate". Please check.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu 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.