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 18, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


6

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

Inserting a Document's Path

You can use the FILENAME field to insert a document's filename and, optionally, the path to that filename. However, if ...

Discover More

Locking the Background Color

You can spend a lot of time getting the formatting in your worksheets just right. If you want to protect an element of ...

Discover More

Creating a Hyperlink to a Specific Page

Most people add hyperlinks in a document to reference pages on the Web. You can, however, create hyperlinks to other Word ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Filling References to Another Workbook

When you create references to cells in other workbooks, Excel, by default, makes the references absolute. This makes it ...

Discover More

Inserting Dashes between Letters and Numbers

If you need to add dashes between letters and numbers in a string, the work can quickly get tedious. This tip examines ...

Discover More

Moving the House Number to Its Own Cell

Excel is great at manipulating data, but sometimes it is difficult to figure out the best way to do the manipulation. ...

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 8 + 7?

2024-03-18 10:46:41

Henry Kafeman

Allen

Thank you for the tip sent in your "ExcelTips Daily Nugget: Applying Range Names to Formulas" EMail today.

However, you need to actually select the names you want to apply, with the ability to select multiple ones. So in your example you need to click on "Tax_Rate" before clicking "OK".

Actually I found somewhere: "If Excel is able to match any of the existing names with the references used in your formulas, the names will be selected for you automatically.".

However, the automatic selection does NOT seem to work, rather remembering the last selection made, even if it is not relevant to the selected cells.

I am currently using "Microsoft® Excel® for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20124) 64-bit". So could you please check the functionality and how it is supposed to work, if there is a known bug, etc.

Also could you explain the "Ignore Relative/Absolute", "Use row and column names" and "Options" settings uses, pros/cons, etc. - I think it could be all too easy to break a spreadsheet with incorrect/unexpected changes if this was used on a large selection of Cells containing formulae?

Thanks


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.