Microsoft Excel Keyboard Shortcut: F4 Reference Locking ($)

Excel F4 Key: Lock Cell References Masterclass

Master the practical mechanics of cell reference locking in Excel. Learn why references shift when copied, how Relative, Absolute ($B$1), and Mixed (B$1 / $B1) references work, and use the F4 shortcut to build bulletproof spreadsheet formulas.

Read Time: 12 mins
Core Concept: Relative ➔ Absolute ➔ Mixed
Interactive Labs: 5 Live Spreadsheet Workbenches
1

1. Why Do We Need to Lock Cell References?

In Excel, when you write a formula like =A2*B1 and copy it downward, Excel assumes you want to calculate relative to each new row.

THE COPY-DOWN PROBLEM ILLUSTRATED:

Suppose your Tax Rate (18%) is stored in cell B1, and you have sales figures in A2, A3, and A4:

Row 2 (Original Formula)=A2 * B150,000 * 18% = 9,000 (Correct)
Row 3 (Copied Down)=A3 * B2Multiplies by B2 instead of Tax Rate! (Corrupted)
Row 4 (Copied Down)=A4 * B3Multiplies by B3 instead of Tax Rate! (Corrupted)

The Goal: While we want A2 to shift to A3 and A4 (the next sales figures), we need B1 to remain permanently anchored to cell B1. That is why we must lock cell references.

2

2. 🔥 Relative vs Absolute Reference

Excel uses the Dollar Sign ($) as an anchor prefix:

Reference TypeSyntaxBehavior When Copied Down / AcrossKey Characteristic
Relative ReferenceB1Changes row when copied down; changes column when copied sidewaysDefault Excel behavior; moves relative to target cell
Absolute Reference$B$1Never changes. Always points to Column B, Row 1Locked with $ before Column and $ before Row
Formula with Absolute Reference: =A2 * $B$1

When copied down to Row 3, it becomes =A3 * $B$1.
When copied down to Row 4, it becomes =A4 * $B$1.
Result: A2 moves freely to read each product's sales, while $B$1 stays fixed on the tax rate!

3

3. 🔥 F4 Shortcut & Reference Cycle

Instead of manually typing dollar signs, place your cursor on or next to a cell coordinate inside the formula and press F4.

Pressing F4 cycles through all 4 reference states in an exact, predictable sequence:

Interactive Demonstration

Press F4 to Cycle Reference Types

Start (Default)
B1
Relative Reference
Both column and row adjust automatically based on destination cell position.
Press F4 (1x)
$B$1
Absolute Reference
Neither column nor row will move. Always points to B1 regardless of where formula is copied.
Press F4 (2x)
B$1
Mixed Reference (Row Locked)
Row 1 stays permanently fixed, but the column shifts (e.g. becomes C$1, D$1).
Press F4 (3x)
$B1
Mixed Reference (Column Locked)
Column B stays permanently fixed, but the row shifts (e.g. becomes $B2, $B3).
B1Column: Column B changes when copied sideways  |  Row: Row 1 changes when copied downward
HARDWARE NOTE: LAPTOP KEYBOARDS & Fn KEY

On many modern laptops (Dell, HP, Lenovo, MacBook running Windows), the top function keys are assigned to volume, brightness, or media controls by default. If pressing F4 alone does not cycle references, press Fn + F4.
Note: This is a device hardware setting, not an Excel rule.

4

4. 🔥 Live Interaction: Lock a Tax Rate

Walk through the entire problem and solution step-by-step in this live interactive spreadsheet:

Active Inspection: B2
B2fx=A2 * B1
ABC
1Tax Rate:18% (B1)Fixed Tax Rate Cell
-Sales ($)Tax Amount ($)Formula Evaluated
2$50,000$9,000=A2 * B1 (9,000)
3$30,000—Not calculated yet
4$20,000—Not calculated yet
5

5. 🔥 Absolute Reference Deep Dive

An Absolute Reference uses two dollar signs: $B$1.

$B ➔ Column Locked

The $ before letter B guarantees that even if you drag the formula sideways across columns C, D, and E, it will still point to column B.

$1 ➔ Row Locked

The $ before number 1 guarantees that even if you drag the formula down rows 2, 3, 4, 100, it will still point to row 1.

Common Business Constants Stored in Absolute Cells:
  • Tax Rate: e.g., VAT 20% or GST 18% in cell $B$1
  • Discount Rate: e.g., Black Friday 15% discount in cell $E$1
  • Commission Rate: e.g., Sales rep bonus 5% in cell $G$1
  • Currency Exchange Rate: e.g., USD to EUR conversion rate in cell $C$1
6

6. 🔥 Mixed References (B$1 vs $B1)

A Mixed Reference locks only the row or only the column, allowing the other coordinate to adjust dynamically:

B$1Row 1 Locked

Row 1 is locked (cannot move down), but Column B is free to shift sideways (becomes C$1, D$1 when dragged across columns).

$B1Column B Locked

Column B is locked (cannot move sideways), but Row 1 is free to shift down (becomes $B2, $B3 when dragged down rows).

ReferenceColumn CoordinateRow CoordinateWhen Copied DownWhen Copied Across
B1ChangesChangesB2C1
$B$1LockedLocked$B$1$B$1
B$1ChangesLockedB$1C$1
$B1LockedChanges$B2$B1
7

7. 🔥 Live Interaction: 2D Mixed Reference Grid

The Classic Challenge: Build a single formula in cell B2 that can be copied both across columns (B to E) and down rows (2 to 5) to populate a 4x4 multiplication table:

Selected Cell: B2
B2fx=A2 * B1
*ABCDE
1-1234
211234
3224816
43481632
548163264
❌ Relative =A2*B1 Fails:

In 2D copy, relative references multiply the cell directly to the left by the cell directly above instead of referencing the original table headers!

8

8. 🔥 F4 Live Practice: Reference Prediction Simulator

Test your understanding: For the reference shown below, predict what it becomes when copied Down 1 Row and Across 1 Column:

Target Reference
A1
Relative
9

9. 🔥 Practical Business Example: Product Invoicing

Calculate Total Tax for each line item where Tax Rate (18%) is stored in cell F1:

Tax Rate Cell: F1
E3fx=(B3 * C3) * F1
A (Product)B (Price)C (Qty)D (Gross)E (Tax Amt)F (Constants)
1Store Header ConstantsTax: 18% (F1)
2ProductPriceQuantityGross TotalTax (18%)-
3Laptop$50,0002$100,000$18,000Base Formula
4Monitor$30,0003$90,000—Relative F2
5Keyboard$10,0005$50,000—Relative F3
10

10. 🔥 When to Use Which Reference? (Decision Guide)

Do not add dollar signs automatically to every formula. Choose the reference type based strictly on how your formula will be copied:

B1
Both Row & Column Move

Use for standard table calculations where every row/column has its own matching data (e.g., =Price * Quantity).

$B$1
Neither Moves (Fixed)

Use for single constants located in a standalone cell (Tax Rate, Discount %, Currency Conversion rate, Goal Target).

B$1
Row Fixed, Column Moves

Use in 2D matrices when referencing horizontal column headers located along the top row (e.g. Month headers across Row 1).

$B1
Column Fixed, Row Moves

Use in 2D matrices when referencing vertical row headers located down the left column (e.g. Product names down Column A).

11

11. Common Mistakes & Traps

1. Forgetting to Lock Fixed Values

Dragging a formula down without locking fixed rates results in #VALUE!, 0, or multiplied garbage numbers.

2. Over-Locking in 2D Tables

Using $A$2 instead of $A2 in a matrix prevents the formula from picking up row changes when copied down.

3. Wrong F4 Cycle Step

Pressing F4 too many times lands on $B1 instead of $B$1. Always inspect the dollar sign placement before hitting Enter.

4. Laptop Fn Key Confusion

Pressing F4 on laptops with multimedia action keys may trigger screen brightness or mute instead of Excel locking. Use Fn + F4.

12

12. 🔥 Final Live Challenge

Put your skills to the test with two real-world formula challenges:

Challenge 1: Product Discount Invoice with F4 Locked Rate

Fixed Discount Rate = 10% is stored in cell E1. Calculate the Final Net Price = (Price * Quantity) * (1 - Discount Rate):

Challenge 2: 2D Volume Tier Discount Matrix

Base Product Prices are down Column A (A3:A6). Volume Discount Tiers (5%, 10%, 15%) are across Row 2 (B2:D2). Which formula in cell B3 can be dragged across all columns and down all rows?

13

13. Assessment Knowledge Quiz

Test your mastery of Excel reference types, F4 keyboard mechanics, and formula copy rules:

TEST YOUR KNOWLEDGE

Excel F4 Key & Reference Locking Certification Quiz

Answer all 5 questions to test your practical understanding of relative, absolute, and mixed references.

Question 1 of 5Current Score: 0 / 0
Q1

1. What happens when the formula =A2*B1 in cell B2 is copied downward to cell B3 if references are relative?