Back to all posts
FormulasBasics

The $ Sign in Excel: Absolute References, Explained Forever

The dollar sign locks parts of a cell reference so your formula keeps pointing at the right cell when you drag it. Every combination, when to use it, and the F4 shortcut that saves your hands.

CellSkill·July 14, 2026·8 min read

You write a clean formula in one cell. =B2*C1. It works. You drag it down.

Suddenly row 5 shows #DIV/0!. Row 8 shows 0. Row 12 shows a random number that has nothing to do with anything. The formula that worked at the top is broken everywhere else.

If you've felt this pain, you've met the reason the dollar sign exists.

What the $ actually does

The $ symbol in an Excel cell reference is a lock. It tells Excel: "When someone copies or drags this formula, do not change the thing next to me."

A reference like A1 has two parts:

  • The column letter (A)
  • The row number (1)

The $ can lock the column, the row, or both:

| Reference | What happens when you drag down or copy sideways | |---|---| | A1 | Column and row both shift with the formula | | $A1 | Column stays locked to A. Row still shifts as you go down. | | A$1 | Row stays locked to 1. Column still shifts as you go right. | | $A$1 | Both locked. Reference never changes, no matter where you copy it. |

That's the whole rule. Master those four states and 90% of "why does my formula break?" problems disappear.

Why relative references exist in the first place

Before you fight relative references, remember that they're a gift. They're what lets you write one formula in the top cell and drag it down 500 rows without editing 500 formulas.

Say you have this:

    A          B
1   Price      Doubled
2   10         =A2*2
3   25         [drag down]
4   40         [drag down]

When you drag =A2*2 from row 2 down to row 4, Excel automatically shifts it:

  • Row 2: =A2*2
  • Row 3: =A3*2
  • Row 4: =A4*2

That's Excel being helpful. The reference is relative to where the formula lives. Move the formula down one row, Excel moves the reference down one row.

The $ is what you use when you want to override that helpfulness.

The moment it clicks: sales tax on a list of prices

Imagine you sell products in a state with 7.5% sales tax. Your tax rate lives in cell E1. Your product prices are in column A.

You write this in B2:

=A2*E1

Row 2 works. 10 * 0.075 = 0.75. Correct.

You drag the formula down. Now look at what Excel wrote in B5:

=A5*E4

E4 is empty. The formula returns 0. Every row below is broken.

Why? Excel followed its normal rule and shifted BOTH references down. A2 became A5 (correct — you wanted the price on that row). But E1 also became E4 (wrong — the tax rate hasn't moved).

The fix: lock the tax rate cell with $:

=A2*$E$1

Drag it down. Now row 5 says =A5*$E$1 and row 12 says =A12*$E$1. The price reference shifts, the tax rate stays put. Every row calculates correctly.

That's the pattern: if a formula needs to pull from a fixed reference cell (a rate, a constant, a header value) while shifting for the rows around it — lock the fixed cell with $.

The F4 shortcut (or Fn+F4 on Mac)

Typing $ twice for every reference is painful. Excel gives you a keyboard cycle.

While your cursor is inside a cell reference in a formula, press F4 repeatedly:

  • Press once → adds both $s: A1$A$1
  • Press twice → row-only lock: $A$1A$1
  • Press three times → column-only lock: A$1$A1
  • Press four times → back to plain: $A1A1

Cycle it until you get the lock you want. On most Macs, F4 requires holding Fn. On some Windows laptops, F4 may be mapped to a media key — you'll need Fn as well.

Pro move: after typing a reference in the formula bar, F4 is the muscle memory that separates people who wrestle with Excel from people who dance with it.

The four states, in real examples

A1 — pure relative

Use when: every reference in the formula should shift together as you drag.

=A2+B2

Row-by-row addition across two columns. Drag down, both references shift down. Simple and correct.

$A$1 — fully absolute

Use when: a formula depends on one single cell that should never change no matter where the formula ends up.

=A2*$B$1

Every row's value times a single conversion factor sitting in B1. Drag it anywhere — $B$1 stays.

$A1 — column locked, row moves

Use when: you want the formula to always pull from a specific column while the row shifts to match its own row.

Classic use: building a summary row that references specific columns from many rows.

A$1 — row locked, column moves

Use when: you want a formula to always pull from a specific row while the column shifts.

Classic use: a multiplication table where the top row (A$1, B$1, C$1...) stays constant as you drag rightward.

The multiplication table pattern (the perfect mixed-reference example)

Imagine a grid where row 1 has the numbers 1 through 10 (in B1 through K1), and column A has 1 through 10 (in A2 through A11). You want each cell in the grid to be the product of its column header and its row header.

The trick is a single formula in B2 that you drag across AND down:

=$A2*B$1
  • $A2 — column locked (A), row shifts as you drag down
  • B$1 — row locked (1), column shifts as you drag right

Drag B2 across to K2: every cell in row 2 correctly reads =$A2*C$1, =$A2*D$1, etc. — always pulling row 2's value in column A, times the column header in row 1.

Drag B2 down to B11: every cell in column B correctly reads =$A3*B$1, =$A4*B$1, etc.

Fill the whole rectangle from B2 and you've built a multiplication table with one formula. That's the power of mixed references.

The most common mistake: forgetting to lock a VLOOKUP table

VLOOKUP is where dollar signs matter most because forgetting them looks like the function is broken.

Say you have a lookup table in cells E2:F20 and you want to look up values for the list in column A:

=VLOOKUP(A2, E2:F20, 2, FALSE)

Row 2 works. Row 3 works. Row 10 starts returning #N/A for values that clearly exist in the table.

Why? Excel shifted the table array too:

  • Row 2: VLOOKUP(A2, E2:F20, 2, FALSE) ← correct
  • Row 10: VLOOKUP(A10, E10:F28, 2, FALSE) ← now looking in a shifted range that cuts off half the real table

The fix: lock the table array.

=VLOOKUP(A2, $E$2:$F$20, 2, FALSE)

Now every row looks up against the exact same table. This is the single most common mistake in VLOOKUP formulas — and once you know to lock the range, you'll never make it again.

Rule of thumb: whenever a VLOOKUP, XLOOKUP, INDEX/MATCH, SUMIF, COUNTIF, or any function references a table or range, that range almost always needs to be locked with $. The lookup value can stay relative because it changes per row — but the range you're searching should not move.

Common mistakes, ranked

1. Not locking a lookup range. As above. Costs more Excel debugging time than any other single mistake.

2. Locking when you shouldn't. Occasionally a beginner locks everything with $A$1$B$5 because they figure locks can't hurt. Then they can't drag the formula usefully because nothing shifts. Locks are precision tools, not seatbelts — only lock what should actually stay.

3. Confusing $A1 with A$1. These look similar and do opposite things. Memory trick: the $ locks the character right after it. $A1 locks the A. A$1 locks the 1.

4. Using named ranges but still adding $. If you've named a cell (say TaxRate), you can just write =A2*TaxRate without dollar signs — named ranges are always absolute by default. Extra $ around them is harmless but pointless.

5. Not testing by dragging. Write a formula, drag it two rows, then look at row 2 and row 3 in the formula bar. If either looks wrong, you've got a lock mistake. Ten seconds of testing beats an hour of debugging later.

When you almost never need $

  • In a single-cell formula that will never be copied. Locks don't matter if the formula won't move.
  • Inside a table (Ctrl+T). Excel Tables use structured references ([@Column]) which are auto-relative-within-row. You get the drag behavior you want without dollar signs.
  • When using dynamic arrays (FILTER, SORT, UNIQUE, spill formulas). A single formula fills the range — you're not dragging.

The workflow that avoids all of this

Every time you write a formula that references another cell, ask yourself one question:

"If I dragged this formula somewhere else, should this reference move with the formula, stay locked to the column, stay locked to the row, or never move at all?"

Answer that for every reference before you drag. Press F4 the right number of times. Move on.

Once this becomes automatic (maybe a week of practice), you'll stop making the mistake entirely. You'll also start noticing bad formulas in other people's spreadsheets and quietly fixing them.

Try it in a real spreadsheet

Reading about the $ is fine. Actually pressing F4 in a formula that would otherwise break — that's when the concept locks in for real.

// Practice

Practice locking a VLOOKUP range in a real spreadsheet

Open the exercise →

Absolute references show up in every Excel workflow that lasts longer than five minutes. Nail this one skill and half of Excel starts to make sense.

// Practice what you read

Try the exercises next

Reading only gets you halfway. Do a hands-on exercise in a real spreadsheet — free during beta.

The $ Sign in Excel: Absolute References, Explained Forever · CellSkill