 Relative cell reference

Updated: 08/02/2019 by Computer Hope

A cell reference or relative cell reference describes how far away a cell or group of cells is from another cell in the same spreadsheet. When dealing with a spreadsheet formula, the relative cell reference is the default behavior of a formula. For example, to add cells A2 and B2 together you could use the formula "=SUM(A2+B2)" in cell C2, and if you were to copy that formula into cell C3, it would be relative to C3 and become "=SUM(A3+B3)." Example of a relative cell reference

=A2

The above formula is telling the spreadsheet program to show the value that occupies the cell in the first column (A) and second row (2). Using the Excel spreadsheet example picture, if this formula was placed into the B8 cell, it would show "100" since this value is in cell A2.

As mentioned earlier, relative cell references are the default behavior of any formula inserted into Excel. If you do not want the cell, row, or column references to change in your formula when copied, use an absolute cell reference, which is any column or row starting with a dollar sign (\$).

Relative column and absolute row reference

=A\$2

The above formula is using a relative column with an absolute row reference. If the cell formula was copied, the row would always remain the same (2) but the column would be relative to where it is being copied.

Absolute column with a relative row reference

=\$A2

The above formula is using an absolute column reference with a relative row reference. If the cell formula was copied, the column would always remain the same (A) but the row would be relative to where it is being copied.

Absolute cell reference with relative cell reference

=SUM(\$A\$2+B2)

Finally, the above formula will always use the value in A2, but add that value to the next relative cell. If the cell formula was copied from C2 to C3, it would become "=SUM(\$A\$2+B3)."

Tip

In short, what makes the relative cell reference different than an absolute cell reference is that copying or moving the formula to different cells causes them to change. Absolute cells always point to the exact row or column described, regardless of where the reference appears.