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

Scrolling Text Sideways

Most people use the mouse wheel to scroll their document up and down. What if it starts scrolling left and right, ...

Discover More

Making AutoComplete Work for an Entire Column

AutoComplete is a great feature for quickly adding data to a worksheet. If you are confused by why some things are picked ...

Discover More

Creating a Copy without Formulas

Excel makes copying worksheets (duplicating them) rather easy. However, you may want a worksheet copy that differs from ...

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)

Generating a Gift Exchange List

Want to figure out how to do a gift exchange for your family or office? There are a variety of ways you can approach the ...

Discover More

Number of Terms in a Formula

Formulas are made up of operands that separate a series of terms acted upon by the operands. You may want to know, for ...

Discover More

Understanding Operators

At the heart of working with Excel is the process of creating formulas that calculate results based on information within ...

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 4 + 9?

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.