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.
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.
Learn more about Allen...
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: Easily Changing Links.
Excel allows you to link information from one worksheet to another, or even from one workbook to another. Many people do this very thing when they use one worksheet as a "summary" overview of information contained in other worksheets.
If you organize your data in this manner, you may be wondering about the best way to change links within your worksheet. When you link information, Excel keeps track within the link of the source of the link. For instance, the following link refers to cell C7 in the OctoberData worksheet of the 2011Budget.xls workbook:
If you have quite a few of these links in a worksheet, it can be bothersome to update each link when you change the source workbook or worksheet used by the links. You could, of course, use Excel's find and replace feature to make the desired changes, but there is an easier way: Use the INDIRECT and ADDRESS functions.
For instance, let's assume that you have cells containing a workbook name (J1), a worksheet name (J2), a numeric row number (J3), and a column number (J4). In this instance, you could use the following formula to specify a link:
The result is that Excel calculates an indirect address based on the contents of the cells. If you want to change the place from which Excel pulls information, all you need to do is change the contents of cells J1 through J4 so they represent the desired source.
You should note that you will need to have the source workbooks open in order to use this approach. If they are not open, Excel won't be able to update the information as desired.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (1968) 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: Easily Changing Links.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!