Smart Systems for Home

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

How to Shift Cells in Excel: Step-by-Step Guide

· 5 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 shift cells in Excel, select the cells you want to move, then either drag their border with the mouse or use Home > Insert > Insert Cells (or Delete Cells) and choose "Shift cells right" or "Shift cells down." For a clean move without overwriting neighbors, cut (Ctrl+X) and paste (Ctrl+V) into the target, or right-click and pick Insert > Shift Cells. The exact menu labels can differ slightly by Excel version, platform, and region, but the underlying commands are the same on Windows, Mac, and Excel for the web.

What You'll Need

  • Excel for Windows, Mac, or Excel for the web (the steps below work on all three; keyboard shortcuts for Mac use Command instead of Ctrl unless noted).
  • A workbook with data already entered, or a blank sheet to practice on.
  • Basic familiarity with selecting a cell or range.

Step-by-Step

  1. Select the cells you want to shift. Click the first cell, then drag to the last, or hold Shift and click the last cell to select a range. To shift entire rows or columns, click the row number or column letter header instead.
  2. Decide whether you want to move or insert. Moving takes existing data to a new location and leaves a gap; inserting pushes existing cells aside to make room. Choose based on whether the destination already has data you want to keep.
  3. To move by dragging: hover the mouse over the border of the selected range until the pointer becomes a four-headed arrow, then drag the range to the new location. Hold Shift while dragging to insert the cells between existing data instead of overwriting it.
  4. To move by cut and paste: press Ctrl+X (Command+X on Mac), click the destination cell, and press Ctrl+V. This overwrites whatever is in the destination, so confirm the target area is empty or expendable first.
  5. To insert and shift cells right or down: select the cell or range where you want the gap to appear, go to Home > Insert > Insert Cells (or right-click and choose Insert), then pick "Shift cells right" or "Shift cells down" in the dialog. The existing data moves in the direction you choose.
  6. To delete and shift cells left or up: select the cells to remove, go to Home > Delete > Delete Cells (or right-click > Delete), then choose "Shift cells left" or "Shift cells up." This closes the gap left behind.
  7. To shift an entire row or column: click the row number or column letter, then drag the border of the selection, or right-click the header and choose Insert or Delete. Excel shifts the whole row or column without prompting for a direction.
  8. Check formulas and references afterward. Moving cells can change relative references in formulas that point at them. Click a few dependent cells and confirm the results still make sense; use Ctrl+Z to undo if not.

Common Mistakes

  • Overwriting data with paste. A normal paste replaces the destination contents. If the destination is not empty, insert cells first or use Shift+drag.
  • Forgetting that cut-and-paste updates references. Excel adjusts formulas that refer to moved cells, which can surprise you if you expected the original references to stay put. Copy and paste instead of cut if you want references to remain pointing at the original location.
  • Selecting only part of a merged cell. Merged cells cannot be shifted partially; unmerge first (Home > Merge & Center) if Excel refuses the operation.
  • Shifting in a filtered or grouped sheet. Hidden rows and grouped outlines can make the visible result differ from what you expect. Clear filters or ungroup before shifting large ranges.
  • Dragging with the fill handle instead of the border. The small square at the bottom-right corner copies or fills data; it does not move cells. Grab the border, not the handle.

Tips

  • Press Ctrl+Z immediately if a shift goes wrong; Excel undoes the last action cleanly.
  • Use Shift+drag to insert cells between existing data without opening a dialog.
  • For large reorganizations, work on a copy of the sheet (right-click the sheet tab > Move or Copy > Create a copy) so the original stays intact.
  • Turn on formula view with Ctrl+` (grave accent) to see which cells reference the range you are about to move.
  • When shifting many rows, insert blank rows first, then paste into them, rather than shifting repeatedly.

Troubleshooting

  • Excel says it cannot shift cells because of merged cells: unmerge the affected range, shift, then remerge if needed.
  • The Insert Cells option is greyed out: the sheet may be protected. Go to Review > Unprotect Sheet (you will need the password if one was set).
  • Data disappears after a paste: press Ctrl+Z to undo, then insert cells at the destination before pasting.
  • Formulas show #REF! after a shift: the moved cells broke a reference. Undo, then copy rather than cut, or update the formulas to point at the new location.
  • Dragging does not move the selection: make sure you are on the border, not inside the cell. The pointer should change to a four-headed arrow before you drag.
  • Only part of the data moved: the selection likely included hidden rows. Unhide them (right-click row headers > Unhide) and repeat.

Frequently Asked Questions

What is the difference between moving cells and shifting cells?

Moving takes data from one place to another and leaves the original area empty. Shifting inserts or deletes cells so surrounding data slides right, left, up, or down to accommodate the change.

Can I shift cells without overwriting existing data?

Yes. Use Insert Cells and choose Shift cells right or Shift cells down, or hold Shift while dragging the selection border to insert between existing cells.

Why does Excel refuse to shift my cells?

The most common causes are merged cells in the range, a protected sheet, or a selection that includes hidden rows. Unmerge, unprotect, or unhide as appropriate, then retry.

Does shifting cells break formulas?

Cut-and-paste moves update references to follow the data; copy-and-paste leaves references pointing at the original location. Inserting or deleting cells can also adjust references, so check dependent formulas afterward.

Can I shift entire rows or columns?

Yes. Select the row number or column letter, then drag the border or use right-click > Insert or Delete. Excel shifts the whole row or column without asking for a direction.

Is there a keyboard shortcut for inserting shifted cells?

Ctrl+Shift+"+" (plus) opens the Insert dialog on Windows, where you can choose Shift cells right or down. On Mac, use Command+Shift+"+" or the Insert menu.