How do I copy a formula down a column?
Write the formula in the first row, then drag the fill handle downward. Relative cell names shift to each new row.
BasicsBeginner4 minExcel · Google Sheets
Example content. The numbers are fictional and made for learning.
Answer
Write the formula beside the first data row, using the cells on that row. If row 2 uses =B2-C2, row 3 should use the cells on row 3, not row 2.
Excel and Google Sheets both adjust ordinary cell names when you fill down. =B2-C2 becomes =B3-C3 on the next row. A dollar sign locks a reference: =$B$2 stays on B2 in every row. Use the dollar signs only when every row should read the same cell.
Copying does not translate a function name. If the formula uses SUM, a Swedish spreadsheet still needs the Swedish name in the original cell. The copied rows keep that same language.
Steps
1. Enter the formula on the first row
Select the result cell on the first data row. Type the formula with that row’s cell names and press Enter.
2. Drag the fill handle
Select the cell that now holds the formula. Drag the small square at its lower-right corner down the column. This works in Excel and in Google Sheets.
3. Or use the keyboard
Select the formula cell and the cells below it. On Windows, press Ctrl+D. On a Mac, press Cmd+D. Excel and Google Sheets both fill the selection from the top cell.
4. Check one copied row
Look at the formula in the next row. The row numbers should have moved. If every row still says B2, the original formula locked that cell with dollar signs, or the cell was copied as a value.
A formula that shifts when you fill it down.
=B2-C2This formula does not use a function name. The cell names and the math signs are the same in Excel and Google Sheets.
Parts of the formula
B2A relative reference. Filled onto row 3, it becomes B3.
-Minus. The sign does not change from row to row.
C2The other relative reference. Filled onto row 3, it becomes C3.