The fastest way to copy a formula in Excel

To copy a formula in Excel, select the cell containing the formula, then drag the small square in the bottom-right corner of that cell down or across to the cells where you want the formula to appear. Excel automatically adjusts the cell references as it copies — so if your original formula adds A1 and B1, the next row will add A2 and B2 without you having to do anything.

If dragging feels awkward, you can also copy the cell (Ctrl+C on Windows, Command+C on Mac), select the range where you want it to go, and paste (Ctrl+V or Command+V). Both methods work the same way: Excel updates the references for you.

The reason this matters is that most formulas are meant to repeat with different data in each row. Copying is how you avoid typing the same formula dozens or hundreds of times.

Key Takeaways

  • Drag the fill handle (the small square at the bottom-right corner of a cell) down or across to copy a formula to nearby cells.
  • Excel automatically adjusts cell references when you copy — A1 becomes A2, A3, and so on as you move down rows.
  • Use absolute references (dollar signs like $A$1) when you want a cell reference to stay the same as you copy the formula across rows or columns.
  • Copy and paste (Ctrl+C then Ctrl+V) works the same way as dragging and is often faster for copying to distant cells.

Understanding relative and absolute references

When you copy a formula, Excel treats most cell references as relative — meaning they shift based on where you paste. If you have =A1+B1 in row 1 and copy it to row 2, it becomes =A2+B2. This is usually what you want.

Sometimes you need a reference to stay put. If you have a tax rate in cell D1 that applies to every row, you do not want that reference to change when you copy down. To lock a reference in place, add dollar signs: =$D$1. Now when you copy the formula, that part stays D1 while the other references adjust normally.

You can also lock just the column (=$D1) or just the row (=D$1) if you need partial locking. The dollar sign always goes before the part you want to freeze.

Copying formulas to a large range at once

If you need to copy a formula to hundreds of rows, dragging is impractical. Instead, select the cell with the formula, copy it (Ctrl+C), then select the entire range where you want it to go and paste (Ctrl+V). Excel fills every cell in that range with the formula, adjusting references as it goes.

A faster method: select the cell with the formula, then double-click the fill handle (the small square at the bottom-right corner). Excel automatically copies the formula down to the last row that has data in the adjacent columns. This works only if your data is continuous with no blank rows in between.

If your data has gaps, select from your formula cell down to the last row you need, then press Ctrl+D (Windows) or Command+D (Mac). This fills down the formula to every selected cell.

What happens when you copy formulas between sheets

Copying a formula from one sheet to another works the same way, but the cell references change to include the sheet name. If you copy =A1+B1 from Sheet1 to Sheet2, it becomes =Sheet2!A1+Sheet2!B1. The formula still works, but now it refers to cells in Sheet2 instead of Sheet1.

If you want the formula to keep referring to the original sheet, use absolute references with the sheet name: =Sheet1!$A$1+Sheet1!$B$1. Now no matter where you paste it, it always pulls from Sheet1.

Fixing formulas that copy incorrectly

Sometimes a copied formula does not behave the way you expected. The most common reason is that you needed absolute references but used relative ones instead. If a formula suddenly starts referring to empty cells or the wrong data, check whether the cell references should have dollar signs.

Another issue: if you copy a formula that refers to a named range (a cell or group of cells you have given a custom name), the reference does not adjust when you copy. Named ranges are always absolute, which is useful if that is what you intended but confusing if it is not.

To see what a formula is actually doing, click on the cell and look at the formula bar at the top of the screen. You can also press Ctrl+` (backtick, the key near 1) to toggle a view that shows all formulas in the sheet instead of their results.

Copying formulas without changing the format

When you copy and paste a formula, Excel also copies the cell formatting — colors, fonts, borders, number formats. If you only want the formula and not the formatting, use Paste Special instead of regular paste.

After copying the cell (Ctrl+C), right-click where you want to paste and choose Paste Special. A dialog opens with options. Click Formulas to paste only the formula, leaving the formatting of the destination cells unchanged. On Mac, use Ctrl+Shift+V to open Paste Special.

You can also use Paste Special to paste only the values (the results of the formula, not the formula itself), which is useful when you want to lock in a calculation and stop it from updating if the source data changes.

Frequently Asked Questions

How do I copy a formula to every row in my spreadsheet?

Select the cell with the formula, copy it (Ctrl+C), then select from that cell down to the last row you need. Paste (Ctrl+V) and Excel fills every selected cell. Or double-click the fill handle if your data is continuous with no blank rows.

Why did my formula change when I copied it?

Excel adjusts cell references when you copy — this is normal and usually correct. If a reference should not have changed, add dollar signs to lock it: $A$1 instead of A1. Check the formula bar to see exactly what the formula became after copying.

Can I copy a formula from one Excel file to another?

Yes. Copy the cell from the first file, switch to the second file, and paste. If the formula refers to cells in the original file, Excel keeps that reference and pulls data from the closed file (though it may ask you to update the link).

What is the difference between copying and using fill down?

Both work the same way — they copy the formula and adjust references. Fill down (Ctrl+D) is slightly faster if you have already selected the range, while copy-paste (Ctrl+C then Ctrl+V) is easier when the cells are far apart or on different sheets.

How do I paste only the formula, not the colors and formatting?

Use Paste Special instead of regular paste. Right-click and choose Paste Special, then click Formulas. This pastes only the formula and leaves the destination cell's formatting alone.