Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Changing the Reference in a Named Range.

Changing the Reference in a Named Range

by Allen Wyatt
(last updated October 14, 2013)

5

Using named ranges can be very handy when you are working with formulas or when you just want to keep track of what certain cells in a worksheet are used for. At some point, however, you may want to change the cells referred to by an existing named range. For instance, if a named range called MyRange refers to cells A1:A5, you may want to have it refer to cells C7:C19 instead.

There are two ways you can accomplish this task. First, you could follow these steps:

  1. Choose Name from the Insert menu and then choose Define. Excel displays the Define Name dialog box.
  2. In the list of names shown in the dialog box, click once on the name whose reference you want to change. (In this case, choose MyRange.) The existing reference should show up in the Refers To box at the bottom of the dialog box. (In this case it should show something like =Sheet1!$A$1:$A$5.)
  3. Modify the range reference in the Refers To box. (In this case, change it to =Sheet1!$C$7:$C$19.)
  4. Click OK.

The second way you can redefine the named range is to follow these steps:

  1. Select the new cell range. (In this case, select the range C7:C19.)
  2. Choose Name from the Insert menu and then choose Define. Excel displays the Define Name dialog box.
  3. In the Names in Workbook box, type MyRange. (Don't click on MyRange in the list of names; type MyRange into the Names in Workbook box.)
  4. Click Add.
  5. Click OK.

That's it; MyRange now refers to cells C7:C19 instead of A1:A5.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8234) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Changing the Reference in a Named Range.

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

Generating a Web Page

Want your worksheets to be available to others on the Internet? Excel provides a way you can save your data in HTML format, ...

Discover More

Following a Number with Different Characters

When creating numbered lists, the normal characters that follow the number are a period and a tab. Here's how to force Word ...

Discover More

Printing a Document's Mirror Image

If you need to print the mirror image (backwards) of a document, you may think you are out of luck in Word. There are ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (menu)

Generating Random Strings of Characters

If you need to generate a random sequence of characters, of a fixed length, then you'll appreciate the discussion in this ...

Discover More

Pulling a Phone Number with a Known First and Last Name

When using an Excel worksheet to store data (such as names and phone numbers), you may need a way to easily look up a phone ...

Discover More

Determining a Name for a Week Number

You could use Excel to collect data that is useful in your business. For instance, you might use it to collect information ...

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}] in your comment text. You’ll be prompted to upload your image when you submit the comment. 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 six less than 6?

2017-02-17 05:14:33

Alan Elston

Hi Barry.
Interesting and useful, Thanks.
I wonder why it is different? I always thought that a normal cell address like A1 was a “pseudo reserved Name” named range, so that it should work similarly to a “user defined Name” named range..
Alan


2017-02-16 05:08:47

Barry

I make it a rule when writing macros to always refer to cells on a worksheet using a named range. That way if a user (if they are allowed to) were to add or delete rows or columns the referred range remains correct as Excel will adjust the range referred to automatically. Ranges referred to explicitly in macros are not updated if rows or columns are added or deleted.


2015-12-27 11:20:09

Brian

Hi There: I have been tasked with creating a series of graphs (27 in total) for a number of health clinics for a performance dashboard. There are 370 separate rows of data, for a number of periods (about 48). I am using the OFFSET function so the graphs will populate dynamically when new data is inserted into the master table. I have used the "Create..." Named Range feature in Excel 2011 (Mac), which helped in establishing all 370 named ranges. Now I want to update each named range to reflect its corresponding OFFSET function. Is there a fast and easy way to do this, or must I go into each Named Range and update manually?


2015-07-23 08:39:45

Alpesh

Thanks it helps me lot :)


2014-09-07 05:37:20

nico bakker

I want each ledgercode changed in another code. Then i want a each code to give a category-name. Then i want sub-totals of each category, and finally a total of these sub-totals.


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.