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: Understanding Relative and Absolute Addressing.
Written by Allen Wyatt (last updated January 4, 2020)
This tip applies to Excel 97, 2000, 2002, and 2003
You already know that one of the powerful features of spreadsheets is that you can refer to the contents of other cells within a formula. In Excel, cells are referred to by a combination of their column letter and row number. Thus, the cell at the intersection of column D and row 15 is known as cell D15.
When you copy a formula that contains a cell reference, Excel automatically assumes that you want the cell reference modified to reflect the cell into which you are pasting the formula. For example, suppose that the cell at B1 contains the simplest of formulas, as follows:
=A1
This simply means that B1 will contain the same value as in A1. Now suppose you copy cell B1 and paste it into B2 through B5. As Excel pastes each cell, it modifies the formula so the cell reference is the same, relative to the new location, as it was to the old. In the original formula, Excel knows that the cell being referenced was one cell to the left of the cell containing the formula. Thus, every cell into which the formula is pasted will contain a formula that has a cell reference one cell to the left of the target cell. For example, cell B2 will contain the formula =A2 and cell B5 will contain the formula =A5.
If you don't want Excel to modify the row or column designator in your cell references, then you must use absolute cell references. You designate a reference as absolute (unchangeable) by preceding it with a dollar sign ($). You can precede either the column letter or row number with the dollar sign. When you later copy and paste the formula containing the absolute reference, Excel will not modify that portion of the reference, but will paste it unchanged in the target.
Normally you use absolute referencing when you want to refer to a non-changing position in a formula. For instance, if the cell at A7 contains an interest rate, and you want that interest rate referred to specifically, without it being modified by Excel, then you would use the following cell reference:
=$A$7
Another way to ensure that Excel does not modify your cell reference is to name the references and use the names in your formulas. Defining cell names is covered elsewhere in ExcelTips.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2062) 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: Understanding Relative and Absolute Addressing.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Referring to cells is typically done using a letter and a number, which represent the column and row. That's not the only ...
Discover MoreWhen entering data into a range of cells, the cell in which you are working appears in a different color than the other ...
Discover MoreAfter customizing your Excel toolbars, it is a good idea to make a backup of the file that contains the information. ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments