Sub topic 11
Inserting Moved or Copied Cells in Place
This chapter assumes you can select ranges, copy and cut cells, and read relative and absolute references. Here you will learn to move or copy cells into the middle of existing data. Excel shifts the neighboring cells out of the way, so nothing is overwritten.
Why insert instead of paste
A normal paste writes over whatever is in the destination. If you cut B2:B5 and paste onto D2:D5, the old contents of D2:D5 are replaced. Excel may warn you about this when you drag, but a normal paste gives no warning.
Inserting avoids the overwrite. Excel opens a gap at the destination, shifts the existing cells right or down, and puts the moved or copied cells into the gap. Use it when you reorder a list, add a column between two others, or duplicate a row into a table.
There are two commands:
- Insert Cut Cells appears after you cut a selection.
- Insert Copied Cells appears after you copy a selection.
Both appear in the right-click menu and on the Home tab under Insert.
Insert Cut Cells and Insert Copied Cells
The menu method
- Select the cells you want to move or copy.
- Press
Ctrl+Xto cut, orCtrl+Cto copy. - Right-click the cell where the data should land. This is the top-left cell of the destination.
- Choose Insert Cut Cells or Insert Copied Cells.
- If the selection is a partial row or column, Excel asks whether to shift cells right or down. Choose one and click OK.
If you select a whole row or a whole column, Excel does not ask. It shifts rows down or columns right automatically, because shifting in any other direction would not make sense.
What changes and what stays
The two commands differ in what happens to the source:
| Command | Source cells | Destination | Neighbors |
|---|---|---|---|
| Insert Cut Cells | Removed, and the gap closes | Receives the data | Shift right or down |
| Insert Copied Cells | Left in place | Receives a duplicate | Shift right or down |
With a cut, the source gap closes, so cells beyond it shift back. If the source and destination are in the same row or column, the net result is a reorder.
Moving a row with a drag
You can insert while dragging. Select a row, a column, or a range. Hold Shift and drag the selection by its border. A green insertion line (or an I-beam shape for a column) shows where it will land. Release the mouse button to drop it there.
To insert a copy by dragging, hold Ctrl+Shift instead. A small plus sign appears next to the pointer.
Without Shift, a drag moves the cells and overwrites the destination. Excel asks "Do you want to replace the contents of the destination cells?" when it would replace data. Always watch for this prompt, and click Cancel if you did not mean to overwrite.
Worked example: reordering a list
Suppose a task list sits in A2:B6:
| Row | A | B |
|---|---|---|
| 1 | Task | Owner |
| 2 | Design | Ana |
| 3 | Build | Ben |
| 4 | Test | Chen |
| 5 | Review | Dara |
| 6 | Ship | Eli |
You want Review to come before Test.
- Select
A5:B5. - Press
Ctrl+X. - Right-click
A4. - Choose Insert Cut Cells. Because the selection is part of a row, Excel asks for a shift direction. Choose Shift cells down.
The result is:
| Row | A | B |
|---|---|---|
| 2 | Design | Ana |
| 3 | Build | Ben |
| 4 | Review | Dara |
| 5 | Test | Chen |
| 6 | Ship | Eli |
Only the cells in columns A and B moved. Any data in columns C and beyond stays where it was. This is a common source of misaligned records, covered below.
Whole rows and columns are safer
Cutting only part of a row moves only those cells. Cells in other columns of the same row stay behind, so a record can split apart.
To avoid that, select the whole row by clicking its row number, then cut and insert. Excel shifts entire rows down, and every column stays aligned.
The same applies to columns. Select the column letter, cut it, right-click the column letter where it should land, and choose Insert Cut Cells. Excel puts the column to the left of the one you clicked.
How formulas react
Moving and copying treat references differently, and insertion follows the same rules as the plain commands.
- Insert Cut Cells moves the cells and their formulas without changing the formulas' own references. Formulas elsewhere that point to the moved cells update to follow them.
- Insert Copied Cells works like an ordinary copy. Relative references in the copied formulas shift by the distance between source and destination. Absolute references stay fixed.
Here is an example with a copied formula:
Before: D2 contains =B2+C2
Copy D2 to D3 gives: =B3+C3
Cut D2 and paste to F2 gives: =B2+C2Inserting a copy of D2 into row 3 follows the first rule. The new formula reads =B3+C3. Inserting a cut of D2 follows the second, so the formula keeps its original references.
Inserting also changes the cells that already exist. When rows shift down, formulas that point to those rows adjust. A formula such as =SUM(B2:B6) grows to =SUM(B2:B7) if you insert a row inside the range. If you insert a row just below the last cell of the range, the range does not grow. Check totals after you insert at the edge of a range.
Limits and errors
Insertion fails or behaves oddly in a few situations:
- Merged cells. If the selection overlaps merged cells in a way that does not match the destination, Excel shows "We can't do that to a merged cell" or a similar message. Unmerge first.
- Tables. Inside an Excel Table, Insert Cut Cells can shift only whole table rows or columns. Partial shifts that would break the table are not allowed.
- Multiple selections. You cannot cut or copy a non-adjacent selection unless every area has the same shape and size in the same rows or columns. Otherwise Excel reports "That command cannot be used on multiple selections."
- Unavailable commands. Insert Cut Cells and Insert Copied Cells appear only while the marching-ants border is active. If you press
Escor type something in a cell, the border disappears and the commands vanish. Cut or copy again. - Full worksheet edges. If shifting would push data past the last row or column, Excel refuses to do it.
Choosing the right method
| Goal | Best approach |
|---|---|
| Reorder rows in a list | Select whole rows, cut, then Insert Cut Cells |
| Duplicate a row inside a table | Select the whole row, copy, then Insert Copied Cells |
| Move one block without disturbing the rest | Select the block, hold `Shift`, and drag |
| Replace data on purpose | Normal cut or copy, then paste |
| Add a column between two others | Cut the column and use Insert Cut Cells at the target |
Exercises
Exercise
You select A3:B3 (part of a row), press Ctrl+C, right-click A6, and choose Insert Copied Cells. Excel shows a dialog. What does it ask, and why does it not ask when you copy a whole row?
Show answer
It asks whether to shift the existing cells right or down, because a partial row could make room in either direction. With a whole row selected, the only sensible direction is down, so Excel shifts rows down without asking.
Exercise
D2 contains =B2+C2. You copy D2 and use Insert Copied Cells at D5, shifting cells down. What formula is in the new D5? What would it be if you cut D2 and used Insert Cut Cells at D5?
Show answer
The copied formula is =B5+C5, because relative references shift by three rows. The cut formula stays =B2+C2, because cutting moves the formula without changing its references.
Exercise
You have records in columns A to D. You cut A8:B8 and use Insert Cut Cells at A4, shifting cells down. What problem can this cause, and how do you avoid it?
Show answer
Only columns A and B of the record move. Columns C and D stay in row 8, so the record is split. Select the whole row by its row number before cutting, so every column moves together.