Copy Formulas Without Changing Cell References in Excel

Excel adjusts references when you copy a formula: =C2*C3 copied three columns right becomes =F2*F3. Here are five ways to keep the formula exactly as it is, from a quick cut-and-paste to moving a whole block of formulas.

One cellCopy from the formula bar
Cell belowCtrl + '
A blockFind and Replace = with a placeholder

Why references change

References are relative by default. Copy =C2*C3 from C4 to F7 and both references move with it, becoming =F5*F6.

Formula references changing after copying

Quick ways

Method How Best for
Cut instead of copy Ctrl + X, then Ctrl + V Moving formulas: references never change
Copy from the formula bar Click in the formula bar, select the text, Ctrl + C, Esc, then paste into the new cell One formula
Copy the cell above In the cell below, press Ctrl + ' (apostrophe), then Enter Repeating the formula just above
Lock references Press F4 while editing to add $: =$C$2*$C$3 Formulas you'll copy often
Copying the formula text from the formula bar

Copy a block: Find and Replace

  1. Select the formula cells → Ctrl + H.
  2. Find =, replace with §= (or any character not used in your formulas) → Replace All. The formulas become text.
  3. Copy and paste them to the new place.
  4. Select both the original and pasted cells, and replace §= back with =.
Replacing the equals sign with a placeholder
Formulas turned into text
Formulas restored in the new location

The original post used #. Avoid it if your formulas contain spill references (A2#) or text like #N/A.

Copy a block: Show Formulas and Notepad

  1. Press Ctrl + ` to show formulas.
  2. Copy the cells and paste into Notepad.
  3. Copy from Notepad and paste into Excel at the new place.
  4. Press Ctrl + ` again.
Formulas shown instead of results
Formulas pasted back from Notepad

Things to know

  • Formulas that point to another sheet keep that sheet name; check them after pasting into a different workbook.
  • Excel Table formulas use column names ([@Qty]), which don't shift when copied within the table.

Related