Absolute Reference in Excel ($A$1 Explained)
$A$1 keeps pointing at the same cell when you copy a formula. The $ before the letter locks the column and the $ before the number locks the row, so A$1 and $A1 are mixed references that lock only one. Press F4 while the cursor is in a reference to cycle through A1, $A$1, A$1 and $A1 (Cmd+T in Excel for Mac). This is also called an anchored, fixed or locked cell reference, and it works the same in Google Sheets.By default, spreadsheet references are relative: copy =A2*B2 down one row and it becomes =A3*B3. That is usually what you want, until a formula needs to keep using one particular cell. Dollar signs fix that.
Relative vs absolute reference
| You type | Column when copied across | Row when copied down | Use it for |
|---|---|---|---|
A1 | changes | changes | Most formulas (relative) |
$A$1 | stays | stays | One fixed cell: a tax rate, exchange rate or total |
A$1 | changes | stays | A header row you copy across |
$A1 | stays | changes | A label column you copy down |
How to make a cell reference absolute (F4)
Click inside the reference in the formula bar, or type it, then press F4. Each press cycles A1 > $A$1 > A$1 > $A1 > A1. In Excel for Mac use Cmd+T (or Fn+F4 on some keyboards). In Google Sheets F4 works the same way on most keyboards; on a Mac you may need Fn+F4. You can also type the $ signs yourself.
Example 1: one fixed rate for every row
Prices are in A2:A10 and the tax rate is in B1. In B2 type:
=A2*$B$1
Fill down and every row multiplies by B1. Without the dollar signs the second row would use B2, then B3, and return zeros or wrong numbers.
Example 2: percent of total
With amounts in B2:B10, this gives each row's share of the total. The total range is locked so it does not slide down:
=B2/SUM($B$2:$B$10)
Format the column as a percentage. More percentage formulas are in our percentage change guide.
Example 3: mixed references (multiplication table)
Put 1-10 down column A (A2:A11) and 1-10 across row 1 (B1:K1). In B2 type:
=$A2*B$1
Copy it across and down. $A2 always reads column A, and B$1 always reads row 1, so each cell multiplies its row label by its column label. Mixed references are how you build any grid formula with one entry.
Example 4: running total
Lock only the start of the range so it grows as you fill down:
=SUM($B$2:B2)
See running total in Excel and Google Sheets for totals by category and by month.
Absolute references in SUMIFS, lookups and conditional formatting
- SUMIFS and COUNTIFS: lock the data ranges, e.g.
=SUMIFS($C$2:$C$500,$A$2:$A$500,E2), so they don't move when you copy the formula down a summary table (see SUMIFS and COUNTIFS examples) - XLOOKUP and VLOOKUP: lock the lookup table, e.g.
=VLOOKUP(A2,$F$2:$G$100,2,FALSE). A table range that slides down is a common cause of #N/A errors - Conditional formatting: to colour a whole row from one column, lock the column only:
=$E2="Done"(see highlight a row based on a cell value)
Alternatives to dollar signs
- Named ranges: name cell B1 TaxRate (Excel: Formulas > Define Name; Sheets: Data > Named ranges) and write
=A2*TaxRate. Names always point to the same cell - Excel tables: structured references such as
[@Price]fill down correctly without $ signs
Quick FAQ
What does the $ sign mean in an Excel formula? It locks the part of the reference it sits in front of: the column letter, the row number, or both, so that part does not change when the formula is copied.
What is the difference between $A$1 and A1? A1 is relative and shifts when copied; $A$1 is absolute and always points to cell A1.
What is a mixed reference? A reference with only one $, such as A$1 (row locked) or $A1 (column locked).
What is the shortcut for an absolute reference? F4 on Windows (Excel and Google Sheets). In Excel for Mac use Cmd+T.
Why does my formula return 0 or the wrong number when I drag it down? A cell that should stay fixed, such as a rate or total, is probably relative. Add $ signs or press F4 on that reference.
Prefer a ready-made file?
- Excel & Google Sheets Formula Cheat Sheet (50 tested formulas + practice workbook) (US$4, Payhip): 50 formulas for lookups, SUMIFS, IF, text, dates, percentages and FILTER/UNIQUE, each shown with its result, plus an error-fix page and a practice workbook.