The fastest way to copy a formula in Excel

The quickest method is to click the cell with the formula, copy it with Ctrl+C (or Cmd+C on Mac), then select the cells where you want it and paste with Ctrl+V (or Cmd+V on Mac). Excel automatically adjusts the cell references in the formula for each new location — so if your original formula adds A1 and B1, the pasted version in the next row will add A2 and B2 instead.

If you only need to paste the formula into a few adjacent cells, you can skip the copy step entirely. Click the cell with the formula, then drag the small square in its bottom-right corner down or across to fill the cells you want. This is called the fill handle, and it copies the formula while adjusting references as it goes.

For larger ranges or non-adjacent cells, the copy-and-paste method gives you more control. You can paste into any cells you choose, even on different sheets, and the formula adjusts automatically.

Key Takeaways

  • Copy a formula with Ctrl+C, then select your target cells and paste with Ctrl+V — Excel adjusts cell references automatically for each row or column.
  • The fill handle (small square at the bottom-right of a cell) lets you drag a formula across adjacent cells without using copy and paste.
  • When you paste a formula, relative references change to match the new location, but absolute references (marked with a dollar sign, like $A$1) stay the same.
  • Paste Special (Ctrl+Shift+V) lets you paste only the formula, only the values, or only the formatting — useful when you want to keep the original cell's appearance.

Understanding relative and absolute references

When you copy a formula, Excel treats most cell references as relative — they shift based on where you paste. If your formula in cell C1 is =A1+B1 and you paste it into C2, it becomes =A2+B2. This is usually what you want, because it applies the same calculation to each row.

Sometimes you need a reference to stay put. If you want every formula to use the same value from a single cell, add a dollar sign before the column letter and row number. The formula =A1+$B$1 will always add B1, no matter where you paste it. You can also lock just the column (=$B1) or just the row (=B$1) if you need partial locking.

To add dollar signs quickly, click inside the formula bar and press F4 while your cursor is on the cell reference. Each press cycles through the four locking options: no lock, column lock, row lock, and both.

Using the fill handle to copy formulas across rows and columns

The fill handle is the small square at the bottom-right corner of a selected cell. When you hover over it, your cursor changes to a plus sign. Click and drag in any direction to copy the formula into adjacent cells.

Dragging down copies the formula to cells below, adjusting row numbers. Dragging right copies it to cells to the right, adjusting column letters. You can drag diagonally to fill a rectangular range. Release the mouse when you reach the last cell you want to fill.

If you have a large range to fill, you can double-click the fill handle instead of dragging. Excel will automatically fill down to the last row that has data in the adjacent column, which saves time on big spreadsheets. If this doesn't work as expected, it means the adjacent column has gaps in its data.

Copying formulas between different sheets

To copy a formula from one sheet to another, use the standard copy-and-paste method. Click the cell with the formula, press Ctrl+C, then switch to the other sheet, select your target cell, and press Ctrl+V. The formula pastes with adjusted references just as it would within the same sheet.

If your formula refers to cells on a different sheet, the reference includes the sheet name. For example, =Sheet1!A1+B1 means "add the value from cell A1 on Sheet1 to the value in B1 on the current sheet." When you copy this formula, the sheet reference stays the same, but the B1 reference adjusts to match the new row or column.

You can also type a formula that references another sheet directly. Click the cell where you want the formula, type an equals sign, then click on the other sheet's tab and click the cell you want to reference. Excel builds the reference for you.

Paste Special: keeping only the formula or only the values

Sometimes you want to paste a formula into a cell that already has formatting you want to keep, or you want to paste only the calculated values instead of the formula itself. Use Paste Special by pressing Ctrl+Shift+V (or Cmd+Shift+V on Mac). A dialog box opens with several options.

Choose "Formulas" to paste only the formula, leaving the target cell's formatting untouched. Choose "Values" to paste only the result of the formula — useful when you want to lock in a calculation and stop it from updating if the source data changes. Other options let you paste only the formatting, only comments, or combinations of these.

Paste Special is also helpful when you copy a formula from one spreadsheet and want to paste it into another without bringing along any hidden formatting that might cause problems.

Copying formulas with mixed references

A formula can mix relative and absolute references. For example, =A1*$B$1 multiplies the value in A1 by a fixed value in B1. When you copy this formula down, A1 becomes A2, A3, and so on, but $B$1 always stays the same.

This is useful for applying a single rate or constant to a range of values. If B1 contains a tax rate and column A contains prices, you can write the formula once and copy it down to calculate tax for each price without the tax rate changing.

You can also use a partial lock: =$A1 keeps the column fixed but lets the row change, and =A$1 keeps the row fixed but lets the column change. Experiment with these in a test spreadsheet to see how they behave when you copy across and down.

Troubleshooting common copy-and-paste problems

If your formula shows an error after pasting, check whether the cell references are correct for the new location. Click the cell and look at the formula bar to see what references it contains. If a reference points to the wrong cell, you may need to use absolute references (with dollar signs) instead of relative ones.

If the pasted formula shows the same result as the original instead of calculating for the new row, the references may be locked when they shouldn't be. Edit the formula to remove unnecessary dollar signs, then copy and paste again.

If you paste and nothing appears, make sure you actually copied the cell first. Also check that you're not trying to paste into a protected sheet — Excel will reject the paste if the sheet is locked. If the fill handle doesn't work, the cell may contain text instead of a formula, or the adjacent column may have gaps that confuse Excel's auto-fill logic.

Frequently Asked Questions

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

Yes. Open both files, copy the cell with the formula from the first file, switch to the second file, and paste. If the formula references cells in the first file, Excel will update the reference to include the file name, like [File1.xlsx]Sheet1!A1. This creates a link between the files.

What's the difference between copying a formula and copying its value?

Copying a formula copies the calculation itself — if the source data changes, the pasted formula updates automatically. Copying only the value pastes the result as a number or text, so it won't change if the source changes. Use Paste Special and choose "Values" to paste only the result.

Why does my formula show a circular reference error after pasting?

A circular reference means the formula refers back to itself. This often happens when you paste a formula into a cell that the original formula already references. Check the formula bar to see which cells it refers to, and make sure the target cell isn't one of them.

Can I copy a formula without changing the cell references?

Yes, use absolute references with dollar signs. The formula =$A$1+$B$1 will always refer to those exact cells, no matter where you paste it. You can also use Paste Special and choose "Formulas" to paste the formula as-is, then manually edit the references if needed.

Does the fill handle work with formulas that reference other sheets?

Yes. If your formula is =Sheet1!A1+B1 and you drag the fill handle down, it becomes =Sheet1!A2+B2. The sheet reference stays the same, but the cell references adjust like they would in a normal formula.