In Excel: while editing a formula, click the cell reference and press F4 to cycle through all four reference types: A1 → $A$1 → A$1 → $A1 → A1.
On this page8
Keyboard shortcut: Toggle Absolute Reference
| Platform | Shortcut |
|---|---|
| Windows | F4 |
| Mac | F4 (or Fn+F4) |
Press F4 while editing a formula to cycle through reference types: A1 → $A$1 → A$1 → $A1 → A1.
Enter or edit a formula in a cell.
Click or position the cursor so it touches the cell reference you want to lock.
Press F4 once to insert $A$1 (fully absolute), twice for A$1 (row locked), three times for $A1 (column locked), or four times to return to A1 (relative).
Continue editing the formula or press Enter to confirm.
On a Mac, press Fn+F4 if the function key does not respond (common on MacBook keyboards).
What this does
F4 is the shortcut for toggling absolute references in Excel formulas. When your cursor is inside a formula and touching a cell reference (like A1), pressing F4 cycles through the four reference types: relative (A1), absolute ($A$1), mixed row-locked (A$1), mixed column-locked ($A1), and back to relative. This F4 shortcut for absolute references is far faster than manually typing dollar signs — one or two presses of F4 locks exactly the rows or columns you need before you copy the formula down or across. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. Treat “absolute reference shortcut” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That turns a workflow that saves repeating the same clicks every week into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
You have a tax rate in B1 and sales figures in A2:A20. You write =A2*B1 in C2, then copy it down — but the formula breaks because B1 shifts to B2, B3, etc. Fix it: click C2, press F2 to edit, click B1 in the formula bar, and press F4. $B$1 appears — the absolute reference locks both the row and column. Now copy C2 down and the tax-rate reference B1 stays pinned while A2 shifts correctly to A3, A4, etc. Use the F4 absolute reference shortcut whenever you write a formula that references a fixed rate, lookup table, or constant while the rest of the formula needs to shift as you copy it. Mastering F4 eliminates the most common formula-copy error in Excel. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Treat “absolute reference shortcut” as a routine rather than a one-off. Once you know which setting or command controls it, the same few steps handle every workbook where it comes up in Excel, and you can explain them to a colleague in a sentence.
Common mistakes
- Pressing
F4outside of formula-edit mode — in that contextF4repeats the last action, not the reference toggle. - Pressing
F4when the cursor is not touching a cell reference in the formula bar — move the insertion point onto a reference first. - Confusing
F4"repeat last action" (outside formulas) withF4"toggle reference" (inside a formula) — they are the same key doing different things depending on context.
Frequently asked questions
Is there a Mac shortcut for absolute reference in Excel?
Yes — press F4 (or Fn+F4 on MacBook keyboards). The shortcut cycles the same reference types as on Windows: A1 → $A$1 → A$1 → $A1 → A1.
What if F4 doesn't toggle the absolute reference?
You must be in cell-edit mode (press F2 to enter) with the cursor touching a cell reference. If pressing F4 repeats the last action instead, you are not inside a formula — click into the formula bar first.
How many times should I press F4?
Once for fully absolute ($A$1), twice for row-only absolute (A$1), three times for column-only absolute ($A1), four times to return to fully relative (A1). Choose based on which axis you need locked when you copy the formula.
Other ways people ask this
On the way here you may have searched this as “excel shortcut for absolute reference”, “shortcut key for absolute reference in excel”, “shortcut for absolute reference in excel mac” and “absolute reference excel shortcut mac” — it is all the same task, and this page is the single, complete answer to it.
Platform & version notes
- If you are on a Mac, nothing here changes except the modifier key: swap Ctrl for ⌘ in every shortcut, and use the Windows/Mac toggle at the top of the page so the keystrokes shown match the keyboard in front of you.
Is there a keyboard shortcut for this?
Yes — “absolute reference shortcut” is one key combination away rather than a trip through the menus. Use the Windows/Mac toggle above to see the exact keys for your machine, and remember Ctrl on Windows maps to ⌘ on Mac.
How is it different on a Mac?
Only the keys. Press ⌘ where Windows uses Ctrl; the menus, formulas and result for "absolute reference shortcut" are the same on macOS as on Windows.