The fastest way to move a row in Excel
To move a row in Excel, select the entire row by clicking its number on the left side, then cut it using Ctrl+X (or Cmd+X on Mac). Click the row number where you want it to go, right-click, and choose "Insert Cut Cells". This moves the row and shifts everything else out of the way automatically.
If you only need to move part of a row — say, columns B through D — select just those cells instead of the whole row, then follow the same cut-and-insert steps. The method works the same way whether you are moving one row or ten rows at once.
The reason to use "Insert Cut Cells" instead of just pasting is that pasting overwrites whatever was already there. Inserting makes room first, so nothing gets deleted by accident.
Key Takeaways
- Click the row number on the left to select an entire row, then press Ctrl+X to cut it.
- Right-click the row where you want it to go and select "Insert Cut Cells" to move it without overwriting data.
- You can move multiple rows at once by clicking the first row number, holding Shift, and clicking the last row number you want to move.
- If you only want to move certain columns within a row, select just those cells instead of the whole row and follow the same steps.
- Dragging rows works for small moves but can accidentally overwrite data, so cut-and-insert is safer for most situations.
Moving multiple rows at the same time
When you need to move more than one row, select them all before cutting. Click the first row number you want to move, then hold Shift and click the last row number. All rows in between will highlight in blue, showing they are selected.
Once they are selected, press Ctrl+X to cut them. Then click the row number where you want them to start, right-click, and choose "Insert Cut Cells". Excel will move all of them together and keep them in the same order.
This works whether the rows are next to each other or scattered throughout the sheet. If the rows are not next to each other, hold Ctrl instead of Shift while clicking each row number you want to include.
Using drag-and-drop to move rows
Excel also lets you drag rows to a new location by clicking and holding on the row number, then dragging it to where you want it. This is faster for small moves within the same screen, but it carries a real risk: if you accidentally release the mouse over a row that already has data, that data gets overwritten.
To drag safely, make sure you can see both the row you are moving and the destination row on your screen at the same time. Click and hold on the row number, drag slowly, and watch for a thick line to appear between rows — that line shows where the row will land when you release.
For moves involving more than a few rows or data you cannot afford to lose, stick with cut-and-insert instead. It is one extra step but eliminates the risk of accidentally destroying information.
Moving rows to a different sheet
To move a row from one sheet to another, select and cut it the same way: click the row number and press Ctrl+X. Then click the sheet tab at the bottom of the screen to switch to the destination sheet. Click the row number where you want it, right-click, and choose "Insert Cut Cells".
The row will appear in the new sheet and disappear from the old one. If you want to copy the row to another sheet instead of moving it, use Ctrl+C to copy rather than Ctrl+X to cut, then paste it in the new sheet.
One thing to watch: if the two sheets have different column layouts, the data might not land in the columns you expect. Check the destination sheet before you cut, and make sure the columns line up the way you want them.
What to do if you move a row by mistake
If you move a row and realize it was wrong, press Ctrl+Z immediately to undo. Excel will put the row back where it came from and restore any data that was affected. You can undo multiple steps in a row by pressing Ctrl+Z several times.
The undo history stays available as long as you have not closed the file. Once you close and reopen the file, the undo history is gone, so you cannot undo moves from a previous session.
If you are about to move rows that contain important data and you are not sure what will happen, save a copy of the file first. That way, if something goes wrong, you still have the original to go back to.
Moving rows with formulas or links
When you move a row that contains formulas, Excel updates the formula references automatically. If a formula in row 5 refers to row 3, and you move row 5 to row 10, the formula still points to row 3 — the reference does not change.
However, if a formula uses relative references (like =A3+B3 instead of =$A$3+$B$3), and other rows reference that formula, those other rows might break when you move it. Check any formulas that other cells depend on before you move a row.
If you are moving rows with links to other files, those links stay intact as long as the other file stays in the same location. Moving the linked file itself will break the connection, but moving the row within your current file will not.
Organizing rows by sorting instead of moving
If you are moving rows to put them in a specific order — alphabetical, by date, by size — sorting is usually faster and less error-prone than moving them one at a time. Select all the data you want to sort, click the Data menu, and choose "Sort".
Sorting lets you arrange rows by any column. You can sort A to Z, Z to A, smallest to largest, or largest to smallest. You can also sort by multiple columns at once — for example, sort by last name first, then by first name within each last name.
The advantage of sorting is that it moves all related data in a row together automatically. If you move a row manually but forget to move a column that belongs with it, your data gets split up. Sorting prevents that mistake.
Frequently Asked Questions
Can I move a row to the very top or very bottom of the sheet?
Yes. To move a row to the top, select and cut it, then right-click on row 1 and choose "Insert Cut Cells". To move it to the bottom, cut it, scroll to the last row with data, click the row below it, right-click, and choose "Insert Cut Cells".
What happens to row numbers when I move a row?
Excel renumbers everything automatically. If you move row 5 to between rows 2 and 3, the old row 3 becomes row 4, the old row 4 becomes row 5, and so on. The row you moved becomes row 3. All formulas that reference row numbers update automatically.
Can I move rows in Excel on my phone or tablet?
The mobile version of Excel does not support moving rows the same way the desktop version does. You can cut and paste, but the "Insert Cut Cells" option is not available. For complex row moves, use the desktop version of Excel.
Does moving a row affect any charts or pivot tables I created?
If a chart or pivot table is based on a range that includes the row you moved, the chart or table updates automatically to include the row in its new location. The data stays connected to the chart, so nothing breaks.
What is the difference between moving and copying a row?
Moving removes the row from its original location and puts it somewhere else. Copying leaves the row where it is and creates a duplicate in the new location. Use Ctrl+X to cut before inserting if you want to move; use Ctrl+C to copy if you want to keep the original.