In Excel: select the whole row, cut it with Ctrl+X, right-click the destination row and choose Insert Cut Cells so Excel moves the row without overwriting existing data.
Click the row number to select the entire row.
Press Ctrl+X or choose Cut.
Right-click the row where the moved row should appear above.
Choose Insert Cut Cells, then verify formulas and sorting still make sense.
What this does
Moving a row changes its position while preserving formulas, formats and row contents. The safe command is Cut followed by Insert Cut Cells; it opens space at the destination instead of pasting over another row. Dragging can work too, but holding Shift is what tells Excel to insert rather than overwrite. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “move a row in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected rows change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a layout choice that keeps the sheet readable and sortable useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
A task in row 18 belongs above row 7. Click row header 18, press Ctrl+X, right-click row header 7 and choose Insert Cut Cells. The old row 18 moves above row 7, and rows 7 through 17 shift down cleanly. Moving rows safely prevents the classic spreadsheet accident: a record is shifted in one column but not the others, corrupting the table. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. If you take one thing from this page on “move a row in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
Common mistakes
- Pasting over the destination row and overwriting data.
- Selecting only some cells in the row, which can misalign records.
- Dragging without Shift and replacing cells instead of inserting.
- Moving rows inside filtered data without checking which records are hidden.
Frequently asked questions
How do I move a row without replacing another row?
Use Cut, then right-click the destination row and choose Insert Cut Cells.
Can I move multiple rows?
Yes. Select all row headers first, then cut and insert them together.
Will formulas update?
Most references adjust, but audit formulas that depend on row order.
Other ways people ask this
On the way here you may have searched this as “how to move rows in excel”, “move rows in excel”, “move a row in excel” and “move row in excel” — it is all the same task, and this page is the single, complete answer to it.
This guide also answers
- how to move lines in excel
- how to reorder rows in excel
- how to swap lines in excel
Why do people search for this in so many different ways?
Because the same task has many names. “how to move rows in excel”, “move rows in excel”, “move a row in excel” all point at the one operation explained on this page, which is why they all lead here.