Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. 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: Understanding Relative and Absolute Addressing.

Understanding Relative and Absolute Addressing

by Allen Wyatt
(last updated November 21, 2015)

2

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 (12221) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Understanding Relative and Absolute Addressing.

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

Watching Cell Values

Want to know what is happening in certain cells in your worksheet? Using the Watch Window is a great way to keep an eye on ...

Discover More

Preventing the Loss of Personal Information

For security purposes, you can configure a document so that no personal information is stored with the document. But what if ...

Discover More

Disabled Macros

Do your macros seem to be disabled on your new machine? It could be because of the security settings in Excel. Here's where ...

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)

Displaying a Hidden First Column

Hiding columns is easy, even hiding column A. How, then, do you get that left-most column displayed again? Here are a few ...

Discover More

Status Bar Summing No Longer Available

When you select a range of cells, Excel normally displays the sum of those selected cells on the status bar. If the sum no ...

Discover More

Saving Movement on Enter with a Workbook

Press Enter when working in a workbook and Excel moves to a cell adjacent to the one in which you were working. If you want, ...

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. 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 - 3?

2015-11-29 04:22:28

Rakesh Nair

You can easily mark a cell address as absolute by clicking on the desired cell and hitting F4. Hitting F4 the second, third and fourth time gives you other options - try them out to meet your requirement. Cheers.


2015-11-23 12:35:10

Willy Vanhaelen

In edit mode (press F2) you can cycle through the different possibilities by pressing F4 repeatedly (=A1, =$A$1, =A$1, =$A1)


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.