To drag a row in Excel, select the entire row by clicking its row number, then point at the thick border at the top or bottom edge of the selection until the pointer becomes a four-headed arrow (a crosshair with arrows). Press and hold the mouse button, drag the row up or down, and release it where you want it to land. Excel will insert the row at the drop point and push the existing rows down, so nothing is overwritten. Dragging is the quickest way to reorder data on the same sheet; to move a row to a different sheet or workbook, use Ctrl+X and Ctrl+V instead. This guide covers the exact steps, how to keep Excel from replacing cells, dragging with keyboard shortcuts, and what to do when the pointer will not cooperate.
What You'll Need
- Microsoft Excel on Windows or Mac, or the Excel desktop app. The mobile apps and Excel for the web do not support free-form row dragging in the same way, so these steps focus on the desktop version.
- A worksheet with data in it, ideally with a header row.
- A mouse or trackpad. Dragging with a mouse is far more precise; a trackpad works but is easier to mis-drop.
Step-by-Step
- Save a copy first if the data matters. Press Ctrl+S (Windows) or Cmd+S (Mac) so you can close without saving if a drag goes wrong. You can also press Ctrl+Z once to undo a bad drop.
- Click the row number on the left edge of the sheet. The entire row highlights, from column A to the last used column. This is important: if you click inside a cell instead, you will only drag the contents of that cell. Labels and button positions can differ slightly between Excel versions, but the row-number selection behaves the same everywhere.
- Find the edge of the selection. Move the pointer to the top or bottom boundary of the highlighted row. On Windows the pointer becomes a four-headed arrow; on Mac it changes to a similar move cursor. Do not aim for the small square in the bottom-right corner (the fill handle) - that copies data instead of moving it.
- Press and hold the primary mouse button. Keep the button down and move the pointer slowly. Excel shows a faint outline or insertion line following the cursor to show where the row will land.
- Watch the indicator before releasing. A bold horizontal line across the sheet means Excel will insert the row between two existing rows. An outlined box over a whole row means Excel will replace that row. Make sure you see the insertion line, not the box.
- Release the button at the target position. The row is inserted there and everything below shifts down by one row. Existing rows are not overwritten.
- Check the result. Look at the row numbers and any formulas that reference the moved range. Excel adjusts relative references automatically, but formulas using $ absolute references will still point at the original location, so verify key totals.
- To drag several rows at once, select them with the row numbers (drag down the numbers or hold Shift), then drag from the border of the whole block. Excel moves the group together.
- To move a row with the keyboard, select it, press Ctrl+X (or Cmd+X), click the first cell of the destination row, and press Ctrl+V (or Cmd+V). This is the safer option for distant moves and for moving data to another sheet or workbook, which dragging cannot do.
- To delete a dragged row's old spot, remember that a drag leaves no gap; the rows close up automatically. If you actually wanted a blank line inserted instead, right-click the row number and choose Insert rather than dragging.
Common Mistakes
- Dragging from inside a cell. Clicking cell A5 and dragging only moves the contents of A5 and overwrites whatever is underneath. Always start from the row number or the selection border.
- Grabbing the fill handle. The tiny square at the bottom-right corner copies or fills data. If you see the pointer turn into a thin cross, move away from the corner.
- Dropping over a row instead of between rows. The outlined-box indicator means replace, not insert. Release only when you see the insertion line.
- Forgetting hidden rows and filters. Dragging while a filter is active can place data in unexpected rows because hidden rows are skipped visually but still exist. Clear filters first (Data tab > Clear) and check for hidden rows before moving.
- Assuming a drag will update absolute references. Formulas with dollar signs keep pointing to the old location, which can silently break totals.
- Dragging a row that belongs to a merged cell or table. Merged cells and Excel Tables can refuse the drop or behave oddly; unmerge or convert to a normal range first if a drag fails.
Tips
- Hold Shift while dragging to force an insert (move-and-shift) and Ctrl (Windows) or Option (Mac) while dragging to copy the row instead of moving it.
- Zoom in a little (View tab > Zoom) for fine control when dragging across many rows.
- Convert your range to an Excel Table (Ctrl+T) - data stays linked and formulas fill down automatically, which makes accidental breaks easier to spot.
- Insert a helper column with a sort order number, then sort by it. This is more reliable than dragging for long lists.
- Press Esc mid-drag to cancel before releasing - though once you release, undo with Ctrl+Z.
Troubleshooting
- The pointer never becomes a four-headed arrow. You are probably inside a cell, on the fill handle, or the sheet is protected. Click the row number, then hover the border. If the sheet is protected, go to the Review tab and check Unprotect Sheet (a password may be required).
- The data disappeared or was replaced. Press Ctrl+Z immediately. The drop box indicator was showing, meaning Excel overwrote a row. Redo the drag from the row number and watch for the insertion line.
- Excel moves the wrong rows. Hidden rows or an active filter are likely. Show all rows (right-click a row number > Unhide, or Data > Clear to remove the filter) and try again.
- Formulas broke. This is expected if the moved cells feed formulas with absolute references. Use Ctrl+Z, or update the references, or switch them to relative references where appropriate.
- Nothing happens when you release. The destination may be outside the used range or blocked by a merged cell. Try a different row or unmerge cells.
- You need to move the row to another sheet. Dragging cannot do this. Use Ctrl+X, switch sheets, and Ctrl+V.
Frequently Asked Questions
Can I drag a row in Excel without replacing another row?
Yes. Grab the row number's border, drag, and release only when a bold insertion line appears between rows. Excel then inserts the row and shifts the others down.
Why does dragging a cell overwrite the next cell?
Because you started the drag from inside a cell rather than the row number. You are moving just that cell's contents into the destination cell, which replaces what was there.
How do I copy a row instead of moving it?
Hold Ctrl (Windows) or Option (Mac) while you drag. The pointer shows a plus sign, and the original row stays in place.
Can I move a row to another worksheet by dragging?
Not directly in the desktop app. Use Ctrl+X and Ctrl+V, or right-click the row and choose Cut, then paste on the other sheet.
Why is the move cursor not appearing?
Common causes are hovering inside a cell rather than on the selection border, pointing at the fill handle, or a protected sheet. Check those three first.
Does dragging a row update linked formulas?
Relative references usually follow the move, but absolute references (with $) do not. Review key formulas after any large move.