Shortcutdrill

Excel shortcuts / formula / Lock a reference with F4

Lock a reference with F4 in Excel: F2, F4 (Mac: Fn+F4 (or Cmd+T))

EscF1F2F3F4F5F6F7F8F9F10F11F12`1234567890-=BackspaceTabQWERTYUIOP[]\CapsASDFGHJKL;'EnterShiftZXCVBNM,./ShiftCtrl⊞AltSpaceAltCtrl←↑↓→
WindowsF2, F4
MacFn+F4 (or Cmd+T)
Groupformula
Practice this shortcut

Drill: Lock the column only. Free, no sign-up.

What it does and when to use it

While editing a formula, F4 cycles the reference under the cursor through $B$13, B$13, $B13 and back to B13. The mixed forms are what let one formula fill a whole grid: lock the column to fill right, the row to fill down.

The common mistake

Stopping one press short. Four states means three presses from B13 to $B13; count them, or read the reference before you press Enter.

Related shortcuts

Questions

What does F4 do in Excel?

In a formula it cycles the absolute and relative forms of the reference at the cursor. Outside a formula it repeats the last action.

F4 does nothing on my laptop. Why?

The F-keys are set to media keys. Press Fn+F4, or change the keyboard setting so the F-keys behave as function keys.

Learn it by pressing it

Shortcutdrill gives you a task on a live sheet and a limit on key presses, so the shortcut has to become a reflex. Twenty-five drills are free; Pro unlocks all 80 for $9 a month, $29 a year, or $49 once.

Start the drill