Sub topic 5
Moving cells with cut and paste or drag
This chapter assumes you can select cells and ranges, copy and paste with the keyboard, and read a formula such as =B2+C2. The chapter on relative and absolute references covers how copied formulas change. Here the focus is moving, where the cells change location but their contents stay the same.
Moving with cut and paste
Cut and paste moves cells to a new location and clears the original cells.
- Select the cells or range to move.
- Press Ctrl+X. A moving dashed border appears around the selection.
- Click the top-left cell of the destination.
- Press Ctrl+V, or press Enter.
Enter pastes and also clears the dashed border, so the cut ends. Ctrl+V leaves the border, but for a cut the source is cleared anyway. Press Esc before pasting to cancel the move.
The cut cells stay in place until you paste. If you cut and then type in another cell, the cut is canceled.
Excel pastes the whole block starting at the cell you click. You only choose the top-left corner, and the rest of the range fills in from there. Make sure the destination has room, because Excel overwrites whatever is already there.
Moving by dragging
Dragging is quicker when the destination is close by and visible.
- Select the range.
- Move the pointer over the selection border, not the fill handle in the bottom-right corner. The pointer becomes a four-headed arrow.
- Drag to the new position and release.
Modifier keys change what a drag does:
| Action | Result |
|---|---|
| Drag | Moves the cells |
| Ctrl+drag | Copies the cells (the pointer shows a small plus sign) |
| Shift+drag | Moves the cells and inserts them between existing cells |
| Alt+drag onto a sheet tab | Moves the cells to that worksheet |
Shift+drag is covered in detail in the chapter on inserting moved or copied cells in place.
What happens to formulas
A moved formula keeps its references exactly as written. Moving it does not shift them the way copying does. Formulas elsewhere that point to the moved cells are updated to follow them.
Before: D2 contains =B2+C2
Cut D2 and paste to F2 gives: =B2+C2
Before: E2 contains =D2*2
After D2 is moved to F2, E2 becomes: =F2*2This is why moving is the safe choice when you want to reorganize a sheet without breaking calculations. Copying a formula and deleting the original does not give the same result, because the copy's references shift and other formulas still point at the deleted cells.
Common errors
- Overwriting data. Pasting or dropping onto filled cells replaces them. When you drag, Excel asks whether to replace the destination contents. When you paste, it usually does not ask. Press Ctrl+Z right away if you overwrite something by mistake.
- Dragging the fill handle by accident. Grabbing the small square in the corner fills or copies the cells instead of moving them. Aim for the border line.
- Pasting a cut range into part of itself. Overlapping destinations work, but check the result, because part of the source is replaced.
- Expecting cut to work across a filtered list. Cut in a filtered range can behave unexpectedly with hidden rows. Work on visible cells only, or clear the filter first.
Exercise
Cell D2 contains =B2+C2, and cell E2 contains =D2*2. You cut D2 and paste it into F2. What do F2 and E2 contain afterward?
Show answer
F2 contains =B2+C2, because a moved formula keeps its references. E2 contains =F2*2, because Excel updates formulas that pointed to the moved cell.