The fastest way to copy a formula down
The quickest method is to select the cell with the formula, then double-click the small square in the bottom-right corner of that cell. Excel will automatically copy the formula down to the last row that has data in an adjacent column. This works when your data is continuous with no blank rows in between.
If your data has gaps or you want to copy to a specific row, select the cell with the formula, then hold Shift and click the last cell where you want the formula to go. Then press Ctrl+D (or Cmd+D on Mac). This fills down the formula to every cell you selected.
A third option is to select the cell with the formula, copy it (Ctrl+C), then select the range where you want it and paste (Ctrl+V). This gives you the most control over exactly which cells receive the formula.
Key Takeaways
- Double-clicking the fill handle (the small square at the bottom-right of a cell) copies a formula down automatically to match your data range.
- Selecting a range and pressing Ctrl+D fills the formula down to every cell in that selection.
- When you copy a formula down, Excel adjusts the cell references automatically — a formula using A1 becomes A2, A3, and so on in each row below.
- If you want the formula to always reference the same cell, add a dollar sign before the column letter or row number, like $A$1.
Understanding how cell references change when you copy down
When you copy a formula down a column, Excel changes the row numbers in the formula automatically. If your first cell contains =A1+B1, the cell below will show =A2+B2, the next will show =A3+B3, and so on. This is called a relative reference, and it is what you usually want.
Sometimes you need a cell reference to stay the same when you copy down. For example, if you are multiplying each row by a tax rate stored in a single cell, you do not want that cell reference to change. To lock a reference in place, add a dollar sign: =$A$1 locks both the column and row, while =A$1 locks only the row. When you copy this formula down, the locked reference stays exactly the same.
Using the fill handle for quick copying
The fill handle is the small square at the bottom-right corner of any selected cell. When you hover over it, your cursor changes to a small plus sign. Click and drag this handle down as far as you want, and Excel copies the formula to each cell you pass over.
This method works best when you can see the end of your data on screen. If you have thousands of rows, dragging becomes impractical. For large datasets, the double-click method (which auto-detects the end of your data) or the Ctrl+D method (where you select the exact range first) is faster and more reliable.
Copying formulas across columns instead of down
The same methods work for copying formulas across columns instead of down rows. Select the cell with the formula, then either double-click the fill handle on the right side, or select the range to the right and press Ctrl+R to fill right. You can also drag the fill handle to the right, or select and use Ctrl+C to copy, then paste.
The cell reference behavior is the same: column letters change automatically (A becomes B, C, D) unless you lock them with a dollar sign. If you have a formula like =A$1*2 and copy it to the right, it becomes =B$1*2, =C$1*2, and so on.
What to do when the double-click method does not work
The double-click fill handle works by looking at the column immediately to the left of your formula. If that column has no data, or if it has gaps, Excel will not know where to stop and may copy only one or two cells. In this case, select your formula cell and the range below it manually, then press Ctrl+D instead.
Another common issue is copying a formula into cells that already contain data. Excel will overwrite whatever is there. If you need to preserve existing data, copy the formula to a new column first, then move or delete the original column once you have verified the results are correct.
Checking your formula after copying
After you copy a formula down, click on a few cells in the copied range to verify the formula adjusted correctly. Look at the formula bar at the top of Excel to see what the actual formula is in each cell. The row numbers should change, but the structure should stay the same.
If you see an error like #REF! or #VALUE!, the formula may have referenced a cell that no longer exists or contains the wrong type of data. Check whether you needed to lock any cell references with dollar signs. If the results look wrong but there is no error message, recalculate the sheet by pressing Ctrl+Shift+F9 (or Cmd+Shift+F9 on Mac) to make sure Excel is not displaying stale values.
Frequently Asked Questions
Why does my formula show the same result in every row after I copy it down?
This usually means you locked a cell reference with a dollar sign when you should not have, or the formula references a single cell that contains the same value everywhere. Check the formula bar to see what the formula actually says in each row. If it should be changing but is not, edit the formula to remove unnecessary dollar signs.
Can I copy a formula down to thousands of rows at once?
Yes. Select the cell with the formula, then select the entire range where you want it copied (you can type the range in the Name Box, like A1:A10000, or select the first cell and press Ctrl+Shift+End). Then press Ctrl+D. Excel will fill the formula down to every cell in the selection instantly.
What is the difference between copying and filling down?
Copying (Ctrl+C then Ctrl+V) and filling down (Ctrl+D) produce the same result, but filling down is faster when you have already selected the range. Copying is useful if you want to paste the formula into multiple separate locations or into a different sheet.
How do I copy a formula down but keep one part of it locked?
Use a dollar sign before the part you want to lock. For example, =$A$1+B1 keeps column A row 1 locked, but B1 changes to B2, B3, and so on as you copy down. This is useful when you reference a single value (like a tax rate or exchange rate) that should not change, but other parts of the formula should adjust to each row.
Will copying a formula down work if I have blank rows in my data?
The double-click fill handle will stop at the first blank row it encounters. If your data has gaps, select the range manually (including the blank rows) and press Ctrl+D instead. This fills the formula into every cell in your selection, regardless of whether adjacent columns have data.