Back to Blog

How to Drag Formula in Excel: Step-by-Step Guide | SheetXAI

D
David DeSouza
Dec 1, 2025
Vector illustration showing two people interacting with a digital interface, representing copying and extending formulas across cells in Excel

The Problem

You have a formula in one cell (like =A2+B2) and need to apply the same formula to multiple cells below or across. Instead of typing the formula in each cell, you want to quickly copy it by dragging.

The Easy Way: Use SheetXAI

If you don't want to manually drag formulas, the fastest way is to simply ask SheetXAI.

With SheetXAI, you can open the sidebar and type:

Apply the formula from cell C2 to all cells in column C down to row 100.

SheetXAI will instantly copy and adjust the formulas for you, handling all the cell references automatically. It's much faster than dragging, especially for large ranges.

The Manual Way: Step-by-Step Instructions

To drag (copy) a formula in Excel, follow these steps:

Step 1: Enter Your Formula

  1. Click on the cell where you want to start (e.g., C2)
  2. Type your formula (e.g., =A2+B2)
  3. Press Enter to confirm the formula

Step 2: Select the Cell with the Formula

  1. Click on the cell containing the formula
  2. The cell will be highlighted with a border
  3. Look for the small square in the bottom-right corner - this is the fill handle

Step 3: Drag the Fill Handle

  1. Hover over the fill handle: Move your cursor to the small square in the bottom-right corner of the cell
  2. Your cursor will change: It will become a thin black cross (+)
  3. Click and drag:
    • Click and hold the fill handle
    • Drag down to fill cells below
    • Drag right to fill cells to the right
    • Drag diagonally to fill both directions
  4. Release: Let go of the mouse button when you've selected the range you want

Step 4: Verify the Results

  1. Click on one of the filled cells
  2. Check the formula bar to see the formula
  3. Notice that Excel automatically adjusted the cell references:
    • Original: =A2+B2
    • Copied down: =A3+B3, =A4+B4, etc.
    • Copied right: =B2+C2, =C2+D2, etc.

Dragging Down (Filling Down)

To copy a formula down a column:

  1. Enter formula in the top cell (e.g., C2)
  2. Click the cell to select it
  3. Hover over the fill handle (bottom-right corner)
  4. Click and drag down to the last row you need
  5. Release the mouse button

Keyboard shortcut: Select the range including the formula, then press Ctrl+D (Windows) or Cmd+D (Mac) to fill down.

Dragging Across (Filling Right)

To copy a formula across a row:

  1. Enter formula in the leftmost cell (e.g., C2)
  2. Click the cell to select it
  3. Hover over the fill handle (bottom-right corner)
  4. Click and drag right to the last column you need
  5. Release the mouse button

Keyboard shortcut: Select the range including the formula, then press Ctrl+R (Windows) or Cmd+R (Mac) to fill right.

Double-Click to Auto-Fill

For the fastest way to fill down:

  1. Enter your formula in the first cell
  2. Select the cell with the formula
  3. Double-click the fill handle (bottom-right corner)
  4. Excel will automatically fill down to the last row with data in the adjacent column

Note: This works when there's data in the column to the left. Excel stops when it encounters a blank cell.

Filling in Multiple Directions

To fill both down and across:

  1. Enter formula in the top-left cell
  2. Select a range that includes the formula cell and extends both down and across
  3. Press Ctrl+D to fill down, then Ctrl+R to fill right
  4. Or drag the fill handle diagonally

Understanding Cell Reference Types

When you drag formulas, Excel adjusts references based on their type:

Relative References (Default)

  • Example: =A2+B2
  • Behavior: Adjusts when copied
  • When dragged down: =A3+B3, =A4+B4, etc.
  • When dragged right: =B2+C2, =C2+D2, etc.

Absolute References

  • Example: =$A$2+$B$2
  • Behavior: Stays the same when copied
  • When dragged: Always =$A$2+$B$2

Mixed References

  • Example: =$A2+B$2
  • Behavior: Column or row stays fixed
  • $A2: Column A fixed, row adjusts
  • B$2: Row 2 fixed, column adjusts

Common Mistakes to Avoid

  1. Not selecting the fill handle correctly: Make sure you see the thin cross cursor, not the arrow
  2. Dragging too far: Be careful not to overwrite existing data
  3. Forgetting absolute references: Use $ when you need a reference to stay fixed
  4. Not checking results: Always verify a few cells to ensure formulas copied correctly
  5. Dragging when you should use absolute: If you need the same reference everywhere, use $A$2 instead of A2

Tips for Better Formula Dragging

  • Use absolute references: Add $ to references that shouldn't change (e.g., =$A$2+B2)
  • Check the first few cells: After dragging, verify the formulas are correct
  • Use double-click: For quick fill-down, double-click the fill handle
  • Select range first: For precise control, select the range first, then use Ctrl+D or Ctrl+R
  • Use SheetXAI for complex formulas: For formulas that need careful setup, SheetXAI can generate and apply them correctly

Filling Formulas with Patterns

Excel can recognize patterns when dragging:

  1. Enter formulas in the first 2-3 cells to establish a pattern
  2. Select all the cells with the pattern
  3. Drag the fill handle
  4. Excel will continue the pattern

Example:

  • Cell 1: =A2
  • Cell 2: =A4
  • Cell 3: =A6
  • When dragged: =A8, =A10, =A12, etc.

Using Fill Series

For more control:

  1. Enter formula in the first cell
  2. Select the range you want to fill (including the formula cell)
  3. Go to Home tab → FillSeries
  4. Choose options:
    • Linear: Regular increment
    • Growth: Multiplicative increment
    • Date: Date increments
    • AutoFill: Excel detects the pattern

Conclusion

Now you know how to drag formulas in Excel. It's a fundamental skill that saves time when working with large datasets.

But for those times when you need to apply complex formulas across many cells or ensure formulas are set up correctly, SheetXAI can generate and apply formulas automatically with simple commands, reducing errors and saving time.

Boost your productivity today.
Start automating your spreadsheets.

Join thousands of professionals saving hours every week. No credit card required to start.

Learn more