
An absolute reference in Excel is a cell address that does not change when you copy the formula to another cell. You make one by adding dollar signs, as in $B$1, or by pressing the F4 key. This guide explains relative, absolute and mixed references with made-up examples, shows the F4 shortcut and walks through the cases where the dollar sign saves you from wrong results.
Relative references change when you copy
A normal reference like B2 is relative. If you copy a formula from C2 to C3, the reference moves down one row and becomes B3. This is useful when every row needs its own numbers. For example, with a price in B2 and a quantity in C2:
=B2*C2
Fill it down and each row multiplies its own price and quantity.

Absolute references stay fixed
Sometimes every row must use the same cell, such as a tax rate. Say the rate is in F1 and the amounts are in B2:B6. A formula like =B2*F1 breaks when you fill it down, because F1 becomes F2, then F3 and so on. Lock the rate:
=B2*$F$1
The dollar before F locks the column and the dollar before 1 locks the row. Now every copy still points to F1.

The F4 shortcut
Click inside the reference in the formula bar and press F4. Each press cycles through four forms:
$F$1locks the column and the row.F$1locks only the row.$F1locks only the column.F1goes back to relative.
On some laptops you need to hold the Fn key as well. On a Mac, the shortcut is usually Command+T, and it can differ by version, so check your own keyboard if F4 does nothing.

Mixed references
A mixed reference locks only one part. They are the key to multiplication tables and price grids. Put the numbers 1 to 5 down column A and across row 1, then in B2 write:
=$A2*B$1
Copy it across and down. The column A part stays on column A while the row changes, and the row 1 part stays on row 1 while the column changes. One formula fills the whole grid.

Absolute references in lookup formulas
When you copy a VLOOKUP, the lookup table must not move. Anchor it:
=VLOOKUP(E2, $A$2:$C$100, 3, FALSE)
Without the dollar signs the range slides down and eventually misses the data, and you get #N/A. See how to fix VLOOKUP #N/A for this and other causes.
Absolute references in COUNTIF and SUMIF
Criteria ranges need anchoring too. To count each name in a list against the full list:
=COUNTIF($A$2:$A$100, A2)
The range is fixed and the criterion A2 moves down with each row. The same rule applies to SUMIF and the other conditional functions.
A named cell as an alternative
Instead of $F$1 you can name the cell, for example TaxRate. Select the cell, type the name in the Name Box at the left of the formula bar and press Enter. Then write =B2*TaxRate. Named cells are absolute by default and make the formula easier to read.
Common mistakes
- Locking too much. If you use $B$2 where you needed $B2, the formula gives the same value in every cell.
- Locking too little. A lookup range without dollar signs drifts as you fill down.
- Typing dollar signs by hand. It works, but F4 is faster and less error prone.
- Editing after copying. Fix the reference in the first cell, then copy again.
Questions and answers
What does the dollar sign mean in an Excel formula?
It tells Excel to keep that part of the address fixed when the formula is copied.
Does it work the same in Google Sheets?
Yes. Google Sheets uses the same dollar signs and the F4 key cycles through the same forms in most setups.
Does the dollar sign change the value?
No. It only affects what happens when you copy the formula.
Do dollar signs matter when I move, not copy, a formula?
No. Moving a formula keeps its references. Only copying and filling adjust them.
Summary
Use relative references for values that change per row, absolute references for fixed cells and tables, and mixed references for grids. Press F4 to switch between them.
