Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Copy and Paste Formulas in Excel: Step-by-Step

· 8 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Copying and pasting formulas in Microsoft Excel is one of the most common tasks you will do, but it is also where a lot of frustration starts. The goal is to move a calculation from one cell to another without breaking it, and Excel gives you several ways to do that depending on whether you want the cell references to stay the same or change. This guide walks you through the basic copy-paste, the fill handle, and the paste special options that keep your formulas working correctly.

What You'll Need

  • A computer with Microsoft Excel installed (any recent version, including Excel for Microsoft 365, Excel 2019, 2021, or Excel for Mac).
  • A workbook that already contains at least one formula you want to copy.
  • Basic familiarity with selecting cells and using the mouse or keyboard shortcuts.

Step-by-Step

Method 1: The Standard Copy and Paste

  1. Click the cell that contains the formula you want to copy. The formula appears in the formula bar above the grid.
  2. Copy the cell. You can press Ctrl + C (Windows) or Command + C (Mac), right-click and choose Copy, or click the Copy button on the Home tab.
  3. Select the destination cell where you want the formula to go. This can be a single cell or a range of cells.
  4. Paste the formula. Press Ctrl + V (Windows) or Command + V (Mac), right-click and choose Paste, or click the Paste button on the Home tab.
  5. Check the result. The formula is pasted, but its cell references have shifted relative to the new location. For example, if you copied =A1+B1 from row 1 and pasted it into row 2, it becomes =A2+B2. This is normal and is called a relative reference.

Method 2: The Fill Handle (Fastest for Adjacent Cells)

  1. Select the cell with the formula.
  2. Move your mouse to the bottom-right corner of that cell. The cursor changes to a thin black plus sign (the fill handle).
  3. Click and hold the left mouse button, then drag down, up, or across to cover the cells where you want the formula copied.
  4. Release the mouse button. The formula is copied into every highlighted cell, with references adjusted for each row or column.
  5. For even faster copying, double-click the fill handle. Excel copies the formula down the column until it hits a blank cell in the adjacent column.

Method 3: Paste Special to Keep the Formula Only

  1. Copy the cell or range containing the formula (Ctrl + C).
  2. Select the destination cell or the top-left of the destination range.
  3. Right-click and choose Paste Special. Alternatively, on the Home tab, click the arrow under Paste and select Paste Special.
  4. In the dialog box, under Paste, select Formulas.
  5. Click OK. This pastes only the formulas, not any formatting, borders, or conditional formatting from the original cells.

Method 4: Keeping References Absolute (The Dollar Sign)

  1. Before copying, edit the formula so that the part you do not want to change has a dollar sign before the column letter and/or row number. For example, =A1*$B$1 locks the reference to cell B1.
  2. You can type the dollar signs manually, or click on the cell reference in the formula bar and press F4 (Windows) or Command + T (Mac) to cycle through the absolute and relative combinations.
  3. Copy and paste the formula as usual. The parts with dollar signs stay fixed; the parts without them adjust to the new location.
  4. Use $A1 to lock only the column, and A$1 to lock only the row. This is useful for tables where you want the row to change but the column to stay constant, or vice versa.

Method 5: Copying a Formula Down a Whole Column Quickly

  1. Select the cell with the formula.
  2. Press Ctrl + Shift + End (Windows) or Command + Shift + End (Mac) to select from the current cell to the last used cell in the worksheet. This is not always what you want.
  3. A better way: select the cell, then hold Ctrl + Shift and press the Down Arrow to select all cells in the column down to the last filled cell in the adjacent column.
  4. Press Ctrl + D (Windows) or Command + D (Mac) to fill down. This copies the formula from the top cell into all selected cells.

Common Mistakes

  • Forgetting to adjust absolute references. If you copy a formula with relative references and the source data is not laid out in the same pattern, the results will be wrong. Always check the pasted formula in the formula bar.
  • Pasting over data. When you paste a formula into cells that already contain values, Excel overwrites them without warning. Double-check your destination range before pasting.
  • Using the fill handle on a filtered list. The fill handle copies into hidden rows as well, which can corrupt your data. Unfilter the list first or use paste special on visible cells only.
  • Copying a formula but pasting the result. If you copy a cell and paste it with the default Paste option, you get the formula, not the value. If you want the value, use Paste Special > Values. The opposite mistake is copying a value and pasting it where you expected a formula.
  • Dragging the fill handle when you meant to copy. Dragging adjusts references; copying and pasting does not. If you need identical formulas (same references), use copy-paste, not the fill handle.

Tips

  • Use the F4 key (Windows) or Command + T (Mac) to toggle between relative, absolute, and mixed references while editing a formula. It saves time and prevents typos.
  • To copy a formula to a non-adjacent area, copy the cell, then hold Ctrl (Windows) or Command (Mac) while clicking each destination cell, then paste once. Excel fills all selected cells.
  • If you are copying a formula across many rows and columns, use the Fill Right (Ctrl + R) and Fill Down (Ctrl + D) shortcuts instead of dragging.
  • Check the Formula Bar after every paste. It shows exactly what was pasted, so you can catch reference errors immediately.
  • Use Paste Special > Formulas when copying from a formatted table to a plain range. It avoids bringing over unwanted table styles or data validation.
  • If you want to see all formulas in a worksheet at once, press Ctrl + ` (the grave accent key, usually above Tab). This toggles between showing values and showing formulas.

Troubleshooting

The pasted formula shows #REF! error. This means the formula references a cell that no longer exists. This happens when you delete a column or row that the formula depended on. Undo the deletion (Ctrl + Z) and re-copy the formula after fixing the source range.

The formula pastes as text, not as a calculation. Check if the destination cell is formatted as Text. Select the cell, go to the Home tab, and change the number format to General. Then re-enter the formula by pressing F2 and Enter.

The fill handle does nothing. Go to File > Options > Advanced and make sure the checkbox for Enable fill handle and cell drag-and-drop is ticked. On Mac, this is under Excel > Preferences > Edit.

Results are wrong but the formula looks right. Check the references. If you copied a formula with relative references down a column, but your source data is in a row, the references will point to the wrong cells. Switch to absolute references or rearrange your data.

Paste Special is greyed out. This usually happens when you are trying to paste into a worksheet that is protected. Unprotect the sheet (Review tab > Unprotect Sheet) or ask the workbook owner for permission.

Copying a formula from one workbook to another gives a #REF! error. If the formula references cells in the source workbook, those references may break. Use Paste Special > Formulas and then fix the external references, or copy the source data into the same workbook first.

Frequently Asked Questions

Why does my formula change when I copy it?
By default, Excel uses relative references. When you copy a formula to a new cell, Excel shifts the references by the same number of rows and columns you moved. This is intentional and usually what you want. To prevent it, add dollar signs ($) to lock the reference.

How do I copy a formula exactly without changing references?
Use absolute references (e.g., $A$1) in the original formula, or copy the formula text from the formula bar and paste it into the new cell as text, then press Enter. The second method is slower but works when you cannot edit the original formula.

What is the difference between copying and filling?
Copying (Ctrl+C, Ctrl+V) pastes the formula as-is and adjusts references based on the paste location. Filling (dragging the fill handle or using Ctrl+D/Ctrl+R) copies the formula into adjacent cells and adjusts references for each cell automatically. For non-adjacent cells, copying is better.

Can I copy a formula to another sheet or workbook?
Yes. Copy the cell, switch to the other sheet or workbook, select the destination, and paste. The formula will include the sheet name (e.g., =Sheet2!A1) if the reference is on another sheet. If the other workbook is closed, Excel may show a warning about updating links.

How do I copy only the result of a formula, not the formula itself?
Copy the cell, then use Paste Special > Values. This pastes the calculated number as a static value, removing the formula. This is useful for freezing data before sharing a file.

Why does my fill handle only copy the first cell's value instead of the formula?
This happens when Excel's calculation is set to manual, or when the cells above are formatted inconsistently. Check the Formulas tab and set Calculation Options to Automatic. Also, ensure the fill handle is not dragging over a blank row that breaks the pattern.