Skip to main content

How to Use Absolute and Mixed Cell References in Excel

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

When you copy a formula, Excel moves its references with it: A2 copied one row down becomes A3. A $ stops that. $C$7 never moves, $A2 keeps its column but moves its row, and B$1 keeps its row but moves its column. Mixed references let one formula fill a whole grid.

The examples are from the old overtime timesheet in Part 1 of the Overtime Timesheet series: a grid of monthly totals and a sheet of clock-change times.

Prerequisites​

The Four Kinds​

ReferenceColumn when copiedRow when copiedExample
A2movesmovesOrdinary, relative
$A$2fixedfixedAbsolute
$A2fixedmovesMixed: always column A
A$2movesfixedMixed: always row 2

Microsoft's Switch between relative, absolute, and mixed references shows the same thing: A$1 copied two columns right becomes C$1, and $A1 copied two rows down becomes $A3.

Example 1: One Formula for a Whole Grid​

Monthly totals has a name in each row, column A, and a month in each column, row 1. The total for one person in one month is in B2:

Monthly totals → B2
=SUMIFS(OvertimeLog[Hours],OvertimeLog[Employee],$A2,OvertimeLog[Date],">="&B$1,OvertimeLog[Date],"<"&EDATE(B$1,1))
  • $A2: the name is always in column A, but the row changes with each person.
  • B$1: the month is always in row 1, but the column changes with each month.

I copied B2 into B2:C4. In C3, Ben Harris in November, the formula reads $A3 and C$1, exactly the right name and month:

The Monthly totals sheet with C3 selected, the formula bar showing =SUMIFS(OvertimeLog[Hours],OvertimeLog[Employee],$A3,OvertimeLog[Date],">="&C$1,OvertimeLog[Date],"<"&EDATE(C$1,1)), and the grid of totals for Aisha Khan, Ben Harris and Maya Patel in Oct 2026 and Nov 2026

Example 2: A Cell Every Row Uses​

On the Clock change sheet, every shift is compared with the same two cells, B7 and C7, the times the clocks change. They're absolute, $B$7 and $C$7, so copying the formula from row 10 to row 11 changed A10 to A11 and left them alone:

D11 selected with the formula bar showing =C11+AND(A11<$C$7,B11>$C$7)-AND(A11<$B$7,B11>$B$7)

How to Type the $​

Type $ before the column letter, the row number, or both. Microsoft's page notes that in the desktop app, F4 switches a selected reference between the four kinds.

Common Mistakes​

MistakeWhat happensDo this instead
A2 where you need $A2Copied right, the formula reads names from column BFix the column with $
$B$1 where you need B$1Every month's column uses OctoberFix only the row
Adding $ everywhere to be safeCopies don't adjust at allFix only what must stay put

Troubleshooting​

SymptomLikely causeFix
Copied totals repeat the first column's numbersThe month reference is fully absoluteUse B$1
Copied rows read empty cellsA reference to a shared cell movedMake it absolute, like $C$7

FAQ​

Do references inside a table need $?​

No. Microsoft's Using structured references with Excel tables says structured references such as OvertimeLog[Hours] stay the same when you copy a formula, which is why OvertimeLog[Hours] is unchanged in C3 above. Filling a formula sideways by dragging is different: column names can then shift like a series.

Does moving a formula change its references?​

No. Microsoft's Move or copy a formula in Excel explains that moving keeps references as they are; only copying adjusts relative ones.

Conclusion​

$ before the column keeps the column, $ before the row keeps the row, both keep the cell. Mix them, like $A2 and B$1, and one formula fills a whole grid.

Additional Resources​