The $ sign tells a spreadsheet what to do with a cell reference when you copy or fill a formula somewhere else. Without it, the reference shifts by the same number of rows and columns the formula moves. With it, the reference stays fixed on the part you lock.
Most broken spreadsheets trace back to this one behaviour. A formula looks right in the cell where it was typed, then returns a wrong figure a few rows down because it is quietly pointing at a different cell.
What a cell reference actually does
A cell reference is an instruction, not a fixed address. When you type =B2*F1 in cell C2, the formula does not store “column B, row 2” as a permanent fact. It stores “the cell one column to the left and zero rows up” in one sense, and “the cell at column B, row 2” in another, and the spreadsheet keeps the relative version internally so that copying the formula keeps its pattern.
Consider a formula in C2 that reads =B2*F1. Copy it into C3 and it becomes =B3*F2. Both references moved down one row. Copy it into D2 and it becomes =C2*G1. Both references moved one column right.
This is the default behaviour, and it is useful. If you have a column of sales figures and want the same calculation applied to every row, you write the formula once and fill it down. Each row automatically refers to its own sales figure.
The trouble starts when part of a formula should not move. A tax rate, a commission percentage or a currency conversion rate sits in one cell and must be used by every row. If that reference shifts with the fill, each row reads a different cell, and most of them read the wrong number.

Skip the setup
Cell Rangers: Google Sheets Lessons for Kids
Self-checking spreadsheet activities that teach formulas, sorting and charts step by step.
How the $ sign changes copying behaviour
The $ sign goes in front of the column letter, the row number, or both. It locks that part of the reference so it does not change when the formula is copied, filled, or pasted.
There are three forms:
- Relative:
B2. Both the column and the row shift when the formula moves. - Absolute:
$B$2. Both the column and the row stay fixed. - Mixed, column locked:
$B2. The column stays fixed; the row shifts. - Mixed, row locked:
B$2. The row stays fixed; the column shifts.
Using the same example, if C2 contains =B2*$F$1, copying it to C3 produces =B3*$F$1. The sales figure moves to the next row, and the rate stays on F1. Copying it to D2 produces =C2*$F$1, which is still correct if the rate is meant to apply everywhere.
Column-locked and row-locked references
Mixed references are less common than fully absolute ones, but they solve a different problem. They are useful when a formula needs to combine a row header with a column header, as in a grid.
Suppose cell B1 holds a unit price, and cell A2 to A6 holds quantities. A grid that multiplies each quantity by each price across the top row needs one reference that locks the row and one that locks the column. Writing =B$1*$A2 in B2, then filling right and down, gives the correct product in every cell of the grid. The B$1 keeps the price row fixed as the formula moves across, and the $A2 keeps the quantity column fixed as it moves down.
How to choose between relative, absolute and mixed references
Choose the reference type by asking what the formula should do when it is copied. The answer is usually clear once you ask the question.
- Ask whether the referenced cell is a single value that every row or column should use. If yes, lock it with absolute references (
$F$1). - Ask whether the referenced cell belongs to the same row as the formula and should follow it. If yes, leave it relative (
B2). - Ask whether the formula combines a header row with a header column. If yes, use mixed references, locking the row for the header row and the column for the header column.
- Test the result by copying the formula two rows down and one column across, then checking the values in the cells you copied into.
The test in step 4 matters more than the rule. A formula can look correct in its original cell and still fail when filled. Checking a copied cell takes a few seconds and catches most errors before they reach a report.
Worked example: commission and VAT for a sales team
This example uses a small sales sheet. Column A holds the names of five sales representatives. Column B holds each person’s monthly sales in pounds. Two assumptions sit in a separate block to the right, so that they are visible and easy to change.
| Cell | Content |
|---|---|
| E1 | Commission rate |
| F1 | 5% (0.05) |
| E2 | VAT rate |
| F2 | 20% (0.20) |
The sales figures are in B2 to B6. The task is to calculate each representative’s commission in column C and their sales including VAT in column D.
Step 1: write the commission formula with the rate locked
In C2, enter:
=B2*$F$1
The sales figure is relative, so it moves to B3, B4 and so on as the formula fills down. The commission rate is absolute, so it stays on F1 for every row.
Fill C2 down to C6. The results are:
| Representative | Sales (£) | Commission at 5% (£) | Sales incl. VAT (£) |
|---|---|---|---|
| Ana | 12,000 | 600.00 | 14,400.00 |
| Ben | 8,500 | 425.00 | 10,200.00 |
| Chloe | 15,250 | 762.50 | 18,300.00 |
| Dev | 9,400 | 470.00 | 11,280.00 |
| Eli | 11,000 | 550.00 | 13,200.00 |
Step 2: write the VAT formula with the rate locked
In D2, enter:
=B2*(1+$F$2)
Fill D2 down to D6. The VAT rate stays fixed on F2 while the sales figure in each row changes.
Step 3: see what happens without the $ sign
Suppose the commission formula had been written as =B2*F1, with no locks. Filling it down would produce this in C3:
=B3*F2
That cell now multiplies Ben’s sales by F2, which holds the VAT rate of 0.20, not the commission rate of 0.05. The result is £1,700.00 instead of £425.00. The cell looks like a normal number, so nothing flags the error unless someone checks the logic.
Fill the broken formula down and every row after the first uses a different cell from the assumptions block: row 4 uses F3, which is blank, so it returns zero, and so on. The sheet still produces numbers, and a total at the bottom would still add up to something plausible. This is the most common form of silent error in spreadsheets.
Step 4: add a total that uses the locked rate correctly
If the business also wants a total commission figure, place it in C7:
=SUM(C2:C6)
The range here uses relative references because it covers the column of results directly above. If the company later decides to add a sixth representative, the range must be extended, which is the point where absolute ranges and named ranges become useful (covered below).
Common mistakes and how to avoid them
Most errors in this area follow a small set of patterns. Recognising them is faster than debugging them.
Locking the wrong part of the reference
A formula that needs a mixed reference but receives an absolute one (or the reverse) will produce results that are correct in the first row and wrong elsewhere, or correct along one axis and wrong along the other. Check which direction the formula is meant to move before choosing the lock.
Typing the $ sign by hand when the rate cell moves
If the assumptions block is moved to a different column, every absolute reference that pointed to it still points to the old location. Excel and Google Sheets adjust references when you move cells using cut and paste, but they do not guess at what you meant. Keep assumptions in one clearly labelled area, and check formulas after any restructuring.
Assuming a fill copies the formula exactly
Filling is the most common way to copy formulas, and it behaves exactly as described above. Copy and paste behaves the same way for relative references. Dragging the fill handle across a range with a mix of locked and unlocked references is a frequent source of error because the handle makes it easy to fill a formula in an unintended direction.
Hardcoding ranges that will not grow
A range such as $B$2:$B$6 is absolute, so it will not change when the formula is copied. That is correct for a total at the bottom of a fixed table. It is a mistake for a list that will receive new rows. The total will silently exclude anything added below row 6.
Forgetting to lock the lookup table
Functions such as VLOOKUP and XLOOKUP search a table. If the table reference is relative, it shifts as the formula fills down, and the search range gradually moves away from the data. Lock the table reference, usually with a full absolute range ($A$2:$C$50), every time a lookup function is copied.

Ready-made template
Profit Loom Pricing Calculator
Work out cost, markup, margin and platform fees for each product, so every price you set leaves a profit.
Trade-offs and costs
Locking references has real costs, and they are mostly human.
Absolute references make a formula’s intent clear only if the locked cell is labelled. A formula that reads =B2*$F$1 tells a reader nothing about what F1 contains. A named range (=B2*CommissionRate) carries the meaning on its face.
Heavy locking also makes a workbook brittle. Each absolute reference is a fixed decision about where the data lives. When the layout changes, every locked reference has to be found and checked. Keeping assumptions in a small, labelled block reduces this maintenance load.
Relative references are more flexible but harder to check. A formula that is correct in its original cell may fail when copied, and the error may not appear in the first few rows that anyone looks at. The cost of a relative reference is a testing step after every fill.
Performance is rarely the issue. The $ sign itself has no measurable effect on calculation speed for typical workbooks. The cost of poor references shows up in accuracy and in time spent auditing, not in how fast the file opens.
Checking which references a formula uses
When a formula returns a surprising result, check its references before changing the formula.
- Press F2 on the cell (in Excel and Google Sheets). The referenced cells are highlighted in colour, so you can see whether each one is where you expect.
- Use Trace Precedents (Excel: Formulas tab, then Trace Precedents). Arrows show which cells feed into the selected formula.
- Show all formulas (Excel: Ctrl+` on Windows). This displays formulas instead of results across the sheet, which makes patterns and inconsistent references easy to see.
- Compare neighbouring formulas. In a column of formulas that should be identical in structure, one cell with a different pattern is almost always the error.
Keyboard shortcuts for setting the $ sign
Typing dollar signs manually works, but a shortcut is faster and avoids typos.
In Excel on Windows, select a reference inside the formula bar and press F4. The reference cycles through the four forms in order: B2, $B$2, B$2, $B2, and back to B2. In most recent versions of Excel for Mac, use Fn+F4 or Command+T, depending on your keyboard settings and version.
In Google Sheets, select the reference and press Ctrl+4 on Windows or Command+4 on Mac. It cycles through the same four forms.
A procedure for auditing references in an existing workbook
When inheriting a workbook, or checking one before it goes to others, follow this sequence.
- Identify every assumption cell, such as rates, thresholds and fixed prices, and note where each one sits.
- Select the first formula in each calculated column and check that every reference to an assumption is locked.
- Fill each formula one row further down, then check the copied result against a manual calculation.
- Look for ranges in totals and lookups that stop short of the last data row, and extend them or convert the data to a table.
- Replace the most important locked assumptions with named ranges, so the formulas document themselves.
- Record the layout in a short note inside the workbook, stating where assumptions live and which ranges are locked.
Decision checklist
Use this check before you copy any formula.
- Does the formula refer to one value that every row must use? Lock it with
$F$1. - Does the formula refer to a value in its own row? Leave it relative with
B2. - Does the formula combine a header row with a header column? Use
B$1and$A2as required. - Does the formula search a table? Lock the table range with
$A$2:$C$50. - Will the list grow? Use a table, a whole-column reference or a range that extends beyond the current data.
- Is the locked cell important enough to deserve a name? Create a named range.
- Have you copied the formula into a cell two rows down and one column across, and checked the result by hand?
