Smart Systems for Home

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

How to Drag a Formula in Excel: Step-by-Step

· 6 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

To drag a calculation (formula) in Excel, type the formula in the first cell, select that cell, hover the mouse over the small square at its bottom-right corner until the cursor turns into a black plus sign, then hold the left mouse button and drag down or across the cells you want filled. Release the mouse and Excel copies the formula into each cell, adjusting relative cell references automatically. This is called the fill handle, and it is the fastest way to apply one calculation to an entire column or row.

What You'll Need

  • A spreadsheet open in Excel for Windows, Mac, the web, or the mobile app (desktop versions are the easiest for dragging).
  • At least one column or row of data to calculate from, plus an empty adjacent column or row to hold the results.
  • A formula that uses relative references (like A2*B2) if you want Excel to adjust it per row.

Step-by-Step

  1. Enter the formula in the first cell. Click the cell where you want the first result, type an equals sign, and build the calculation, for example =B2*C2. Press Enter. Excel shows the result in that cell.
  2. Select the cell again. Click once on the cell containing your formula so it is highlighted with a green or grey border.
  3. Find the fill handle. Look at the bottom-right corner of the selected cell. There is a small square. Move the pointer over it; the cursor changes from a thick white cross to a thin black cross (the plus sign). This is the fill handle.
  4. Drag to fill. Press and hold the left mouse button on the fill handle and drag down (for columns) or right (for rows) to cover the cells you want. A grey outline shows the range being filled.
  5. Release the mouse. Excel copies the formula into every cell you covered, and each copy shifts its references to match its own row or column. Check the last cell: its formula should reference the last row of data, not row 2.
  6. Verify the results. Click a filled cell and look at the formula bar to confirm the references moved correctly. Then compare one or two results against a manual calculation to make sure the formula logic is right.

If you prefer not to drag, the same result comes from selecting the formula cell, pressing Ctrl+C (Cmd+C on Mac), selecting the target range, and pressing Ctrl+V (Cmd+V). You can also double-click the fill handle, which fills the formula down to the bottom of the adjacent data column automatically.

Common Mistakes

  • Dragging the cell border instead of the fill handle. If the cursor becomes a four-headed arrow, you are dragging the cell itself and will move or overwrite data. Release and start again from the tiny square in the corner.
  • Filling absolute references when you wanted relative ones. A formula with dollar signs like =$B$2*C2 keeps pointing at B2 in every row. Use $B$2 only for the part you want fixed, such as a tax rate in a single cell.
  • Copying numbers instead of formulas. If Auto Fill Options appears after dragging and shows a small icon with numbers in sequence, Excel may have filled a series instead of a formula. Click the Auto Fill Options button and choose Fill Formatting Only or Copy Cells as needed.
  • Stopping short or overshooting. Dragging past the last row of data fills blank rows with results or errors. Undo with Ctrl+Z and drag exactly to the end of your data.
  • Dragging over cells that already contain data. Filling overwrites existing content without a warning. Save your file first, or fill into an empty column.

Tips

  • Drag the fill handle with the right mouse button instead of the left. When you release, a context menu appears letting you choose Copy Cells, Fill Series, Fill Formatting Only, or Fill Without Formatting.
  • Double-click the fill handle to fill the formula down as far as the neighbouring column has data. This is much faster than dragging on long sheets.
  • To fill across a row, select the starting cell and its neighbour first, then drag the fill handle from the corner of the selection. Excel uses the two selected cells to judge the pattern.
  • Press Ctrl+Enter after selecting a range and typing a formula in the formula bar to fill every selected cell with that formula at once.
  • Convert your data to an Excel Table (Insert > Table) before filling. Formulas then extend automatically when you add new rows, so you do not need to drag again.
  • If the fill handle does not appear at all, open File > Options > Advanced and check that Enable fill handle and cell drag-and-drop is ticked (the location differs slightly by version and platform).

Troubleshooting

If dragging does not work or gives the wrong result, work through these checks in order:

  1. The fill handle is missing. Go to File > Options > Advanced and look for the editing options. Make sure Enable fill handle and cell drag-and-drop is checked. On Mac, this setting lives under Excel > Preferences > Edit.
  2. The cursor will not turn into a plus sign. Zoom in with Ctrl+plus to make the corner square easier to hit, and approach it slowly from outside the cell.
  3. Every cell shows the same value. Your references are absolute. Remove the dollar signs from the rows and columns you want to shift, as in B2*C2 instead of $B$2*$C$2.
  4. The formula copies but results show #REF! or #DIV/0!. The references point at empty, text-only, or deleted cells. Check the formula bar in the affected cell and confirm the source columns are populated.
  5. Excel fills a series instead of the formula. Click the Auto Fill Options button that appears at the corner after filling and select Copy Cells.
  6. Dragging is slow or the screen flickers. Close other large workbooks, or double-click the fill handle instead of dragging on very long columns.
  7. On mobile, dragging is awkward. Tap the cell, use the fill handle dots shown after selection, and drag them, or copy the cell and paste it into the range. The mobile app has fewer fill options than the desktop version.

Frequently Asked Questions

What is the fill handle in Excel?

It is the small square at the bottom-right corner of a selected cell or range. Dragging it copies the cell's content, or continues a pattern such as dates and numbers, into the cells you drag over.

How do I copy a formula down a column without dragging?

Select the formula cell, press Ctrl+C, select the range below, and press Ctrl+V. On Windows and Mac you can also double-click the fill handle to fill down to the end of adjacent data.

Why do all my dragged cells show the same number?

Because the formula uses absolute references with dollar signs. Edit the first formula to use relative references, such as B2*C2, then drag again.

Can I drag a formula across a row instead of down a column?

Yes. Select the cell and drag the fill handle to the right. The row references stay put while the column letters shift, so confirm the result with the formula bar.

Does dragging formulas work in Excel for the web and mobile?

Excel for the web supports the fill handle with a mouse. The mobile app offers a fill handle after you select a cell, but selection is touch-based and less precise, so copy and paste can be easier on a phone or tablet.

How do I stop Excel from overwriting existing data when I drag?

Excel does not warn before filling over existing content. Fill into an empty column or row, or save the workbook before attempting a large drag so you can undo with Ctrl+Z if something goes wrong.