What an absolute reference does and why you need it
An absolute reference in Excel is a cell address that stays the same when you copy a formula to other cells. When you copy a normal formula down or across a spreadsheet, Excel automatically adjusts the cell addresses — a feature called relative referencing. An absolute reference prevents that adjustment, keeping the formula pointed at the exact same cell no matter where you paste it.
The most common reason to use absolute references is when you have a single value — like a tax rate, discount percentage, or conversion factor — that you want to use in calculations across many rows. Without absolute references, you would have to rewrite the formula for each row. With them, you write the formula once and copy it everywhere.
For example, if you have a sales tax rate in cell B2 and you want to multiply it by prices in column A, you would use an absolute reference to B2 so that every formula in your price column points back to the same tax rate cell.
Key Takeaways
- An absolute reference uses dollar signs before the column letter and row number — for example, $B$2 — and does not change when you copy the formula.
- You can make only the column absolute ($B2), only the row absolute (B$2), or both ($B$2), depending on which direction you are copying the formula.
- Type the dollar signs yourself or press F4 after selecting a cell reference to cycle through the different reference types.
- Absolute references are most useful when a single cell contains a value you need to use in many calculations across your spreadsheet.
How to type an absolute reference
The simplest way to create an absolute reference is to type a dollar sign before the column letter and before the row number. If you want to lock cell B2, you type $B$2 instead of B2. The dollar signs tell Excel to keep that address fixed when the formula is copied.
In a real formula, it looks like this: =A1*$B$2. When you copy this formula down to row 5, it becomes =A5*$B$2. The A1 changed to A5 (relative reference), but $B$2 stayed the same (absolute reference).
You can type the dollar signs directly into the formula bar, or you can type the formula without them first and then add them by hand. Either way works — Excel does not care whether you type them as you go or edit them afterward.
Using the F4 key to add dollar signs quickly
If you are building a formula and want to add absolute references without typing dollar signs, you can use the F4 key. Click on the cell reference in your formula (or select it by clicking and dragging), then press F4. Excel will cycle through four options: relative (B2), absolute column only ($B2), absolute row only (B$2), and fully absolute ($B$2).
This is faster than typing dollar signs by hand, especially if you are building a long formula with multiple references. Press F4 once for fully absolute ($B$2), which is what you want most of the time. Press it again to move to the next option, and keep pressing until you reach the one you need.
The F4 key only works while you are editing the formula — either in the cell itself or in the formula bar at the top of the screen. Once you press Enter to confirm the formula, F4 will not work on that cell anymore.
When to use partial absolute references
Sometimes you want to lock only the column or only the row, not both. This is called a mixed reference and uses one dollar sign instead of two.
Use $B2 (dollar sign before the column only) when you are copying a formula across columns and want the column to stay the same but the row to change. For example, if you have monthly totals in row 1 and you want to calculate a percentage of each month's total, you would use $B1 so the column stays locked to B but the row number changes as you copy across.
Use B$2 (dollar sign before the row only) when you are copying a formula down rows and want the row to stay the same but the column to change. This is less common but useful when you have a header row with values you want to reference and you are copying the formula down multiple columns.
A practical example: calculating with a tax rate
Suppose you have a spreadsheet with prices in column A (rows 2 through 10) and a tax rate of 0.08 in cell D1. You want to calculate the total price including tax for each item.
In cell B2, you would type: =A2*1+$D$1. This multiplies the price in A2 by 1 plus the tax rate in D1. When you copy this formula down to B3, B4, and so on, the A2 changes to A3, A4, and so on (because it is a relative reference), but $D$1 stays the same (because it is an absolute reference). Every row uses the same tax rate from D1.
Without the dollar signs, if you copied the formula down, Excel would change D1 to D2, D3, and so on — which would give you wrong answers because those cells are empty. The absolute reference prevents that mistake.
Copying formulas with absolute references
Once you have written a formula with absolute references, copying it works exactly the same as copying any other formula. Select the cell with the formula, copy it (Ctrl+C on Windows or Command+C on Mac), then select the range where you want to paste it and paste (Ctrl+V or Command+V).
You can also click and drag the small square at the bottom-right corner of the cell to fill the formula down or across. This is called the fill handle. The absolute references will stay locked no matter which method you use.
If you want to check that your absolute references are working correctly, click on one of the cells where you pasted the formula and look at the formula bar. You should see the same absolute reference ($D$1 or whatever you used) in every formula, while the relative references change from row to row.
Editing absolute references later
If you need to change an absolute reference after you have already copied the formula, you only have to edit it in one place — the original cell. Do not edit every copy individually. Instead, go back to the cell where you first wrote the formula, change the absolute reference, and then copy the corrected formula over the old ones.
For example, if you realize the tax rate should be 0.09 instead of 0.08, change the value in D1 itself. Every formula that references $D$1 will automatically recalculate using the new value. You do not have to touch the formulas at all.
Frequently Asked Questions
What is the difference between $B$2 and B$2?
$B$2 locks both the column and the row, so B stays B and 2 stays 2 when you copy the formula. B$2 locks only the row, so the column can change (B might become C or D) but the row stays 2. Use $B$2 most of the time unless you have a specific reason to let one part change.
Can I use absolute references in other spreadsheet programs like Google Sheets?
Yes. Google Sheets uses the same dollar sign syntax ($B$2) and the same F4 key behavior. The process is identical to Excel, and formulas with absolute references will work the same way.
What happens if I copy a formula with absolute references to a different sheet?
The absolute reference stays locked to the same cell on the same sheet. If you want the formula to reference a cell on a different sheet, you need to include the sheet name in the reference, like =$Sheet2.$B$2. This is an absolute reference to a specific cell on a specific sheet.
Do I have to use absolute references, or can I just rewrite the formula for each row?
You can rewrite the formula each time, but absolute references save time and reduce mistakes, especially in large spreadsheets. If you have 100 rows and you need to change the tax rate, you only have to change one cell instead of editing 100 formulas.
Can I make a reference absolute in only one direction when copying diagonally?
Yes. If you are copying a formula both down and across at the same time, you can use mixed references like $B2 or B$2 to lock only the column or only the row. This is less common but works the same way — press F4 to cycle through the options until you get the combination you need.