📆 14-day money-back guarantee | 🔃 Switch courses anytime | 🔒 Secure payment and fast support

How are absolute and relative cell references used in Excel?

How are absolute and relative cell references used in Excel?

If you have worked a lot in Excel, you have probably encountered absolute and relative cell references before. Most people have likely had to learn about these references after noticing that their formulas or functions sometimes behave unexpectedly. Therefore, this article will discuss the differences between an absolute and a relative cell reference.

What is a cell reference?

A cell reference refers to a cell, e.g., cell A1, or a range of cells, e.g., A1:A10. These cell references are most often used in formulas and functions so that Excel can locate the values you are referring to or extract data from them.

In a formula, you do not necessarily have to reference a cell or range in the same worksheet you are working in. There are concepts such as external references and external program references. External references mean referring to another worksheet, while external program references mean referring to cells in other programs. While it can be useful to know about these, they will not be covered further in this article.

Another point worth noting is that you can also refer to a named range. For example, the range B1:D21 can be named “ProductList.” For simplicity, this article will not explore named ranges further, and we will instead use actual cell ranges. Consequently, we will also set aside external and external program references and focus solely on absolute and relative references.

What is a relative cell reference?

Relative cell references are the default type of references that Excel uses automatically, without any additional adjustments.

The range A1:A10 is a relative reference. It is simply the combination of column letters and row numbers without any dollar signs ($). When you copy a cell downward, the relative cell address changes according to the relative position of the column and row. Of course, this is best illustrated with an example:

In the example, a simple formula can be seen in cell N2, and you can also see that the relevant cells for the formula, L2 and M2, are highlighted.

If you then copy the formula downward, go to N3 and click in the formula bar, you will see that the references have moved down one row, while the columns remain the same. The relative references for L2 and M2 change to L3 and M3, and so on. This happens depending on the relative position of the row.

What is an absolute cell reference?

An absolute cell reference is one where both the row and column are made constant by adding dollar signs. You can think of it as “locking” the column and row by simply placing a $ before the column letter and row number. An absolute reference does not change when you copy the formula from one cell to another.

You can also create a mix. For example, you can lock the column but not the row, or vice versa. This is called a mixed reference. Of course, there is a shortcut to make a cell reference absolute: press F4 while the cursor is in or next to the cell reference in the formula bar.

The image above is an example of both absolute and relative references. Here, relative and absolute cell references are mixed, but this is not what is called a mixed reference. More on that later.


Leave a Reply

You must be logged in to post a comment.

More blog posts

Tired of Googling?
Get the best Excel tips every week. Subscribe to our newsletter.