How Do I Move a Row in Excel

To move a row in Excel, select the row number, hold Shift, and drag the row’s border to its new position to drop it between existing rows without overwriting them. Alternatively, cut the row with Ctrl+X (Cmd+X on Mac), right-click the destination row number, and choose Insert Cut Cells.
If you are working with a large data set in Microsoft Excel, it is common to find the need to rearrange the order of your data. Moving an entire row to a different location in your spreadsheet can help streamline your work process, and there are a few different ways to accomplish this in Excel. In this blog post, we will go over the steps to move a row in Excel using both drag-and-drop and the cut and paste method. By the end of this guide, you will be able to quickly and easily rearrange data in your spreadsheets. If you need to shift more than one at a time, see moving multiple entire rows, and to reorder columns instead, see how to move a column.
Selecting the Row
First, we need to select the row that you want to move. This can be done by clicking on the row number on the far-left side of your worksheet. The entire row will be highlighted with a blue color, indicating that it is selected.
Drag-and-Drop Method
One of the easiest methods for moving a row in Excel is to use the drag-and-drop method:
Step 1
Hover your mouse over the top edge of the row that you want to move, until it turns into a “move” cursor (four arrows pointing in different directions).
Step 2
Click and hold down the left mouse button, and continue to hold it down as you drag the row to a new location. A thin, horizontal line will appear to indicate where the row will be moved to.
Step 3
Release the mouse button once you have dragged the row to its desired location.
Tip: move without overwriting. A plain drag drops the row on top of whatever is already there, replacing it. To slide the row between existing rows and push the others down instead, hold the Shift key while you drag. A long horizontal insertion bar appears showing exactly where the row will be inserted. This same Shift+drag trick works for moving rows without replacing data and for rearranging columns.
Cut and Paste Method
If you prefer to use the keyboard instead of the mouse, or if you need to move the row to a different worksheet or workbook, you can use the cut and paste method:
Step 1
Right-click on the row number of the row you want to move. Click “Cut” or press “Ctrl+X” on your keyboard to cut the row.
Step 2
Right-click on the row number where you want to move the cut row. Click “Insert Cut Cells” or press “Ctrl+Shift+Plus (+)” to paste the row in its new location.
On a Mac, the steps are identical except you press Cmd+X to cut. Choosing Insert Cut Cells (rather than a plain paste) is what slides the row into place and shifts the others down, so nothing gets overwritten. If your goal is simply to trade the positions of two rows, see how to swap two rows.
The Importance of Row Order
Mastering the ability to move rows in Excel is crucial to organize your data, especially when it comes to large-scale projects with numerous categories. This process takes only a few seconds and can save time when compared to manually copying and pasting the content of the row manually.
Final Thoughts
We hope this guide has helped you learn how to quickly and efficiently move rows in Excel. We also hope this process will help you keep your data organized so you can focus on the important details of your project. With these tips, you should be able to sort and rearrange your Excel data with ease for every project you come across.
Copying a Row
Sometimes, rather than moving a row, you may want to create a copy of it in another location. In this case, you can use the copy and paste method:
Step 1
Right-click on the row number of the row you want to copy. Click “Copy” or press “Ctrl+C” on your keyboard to copy the row.
Step 2
Right-click on the row number where you want to place the copied row. Click “Insert Copied Cells” or press “Ctrl+Shift+Plus (+)” to paste the row into the new location.
Keyboard Shortcuts
If you are a fan of using keyboard shortcuts, there are several that can come in handy when moving rows in Excel:
- Select the row you want to move, then press “Shift+Alt+Up Arrow” to move the row up one cell or “Shift+Alt+Down Arrow” to move the row down one cell.
- To cut a row, select the row you want to cut, then press “Ctrl+X”. To paste the row, select the cell where you want to place the row and press “Ctrl+V”.
Be Careful When Deleting Rows
When deleting a row, it is important to double-check that you have selected the correct row before proceeding with the deletion. Once a row is deleted, it cannot be retrieved. Also, if you have formulas or references in other cells that are dependent on the data in the row you are deleting, you may need to update those formulas or references so that they do not reference the deleted data.
Moving rows in Excel is a simple process that can save you time and effort when working with large data sets. Whether you prefer the drag-and-drop method or the cut and paste method, Excel offers several options to help you move data quickly and easily. Remember to copy complete data before deleting a row as data cannot be retrieved once deleted.
FAQ
Here are some commonly asked questions people have about moving rows in Excel:
Can I move multiple rows at once?
Yes, you can select multiple rows at once and move them all together using the drag-and-drop or cut and paste methods. To select multiple rows, click and drag your mouse over the row numbers for each row you want to select.
Can I move a row to another worksheet or workbook?
Yes, you can use the cut and paste method to move a row to another worksheet or workbook. Simply cut the row in the original worksheet, open the new worksheet or workbook, select the row where you want to place the cut row, and paste it in place.
What should I do if the row I moved contained formulas?
If you move a row that contains formulas, the references in those formulas will be updated automatically to reflect the new location of the row. However, if the formulas contain absolute references, the values may not update correctly. To avoid this, it is best to use relative references in your formulas whenever possible.
Can I move a row using a keyboard shortcut?
Yes, you can move a row up or down one cell at a time using the “Shift+Alt+Up Arrow” or “Shift+Alt+Down Arrow” shortcuts. However, if you want to move a row to a specific location, it is best to use the drag-and-drop or cut and paste methods.
Is there a way to undo a row move?
Yes, you can use the “Ctrl+Z” keyboard shortcut to undo the most recent action you performed in Excel, including moving a row. If you have closed Excel or saved the workbook since moving the row, however, the undo option may no longer be available.
Frequently Asked Questions
How do I move a row in Excel without overwriting the destination?
Select the row by its number, then hold the Shift key and drag the row’s border to where you want it. A long horizontal insertion bar shows the drop point, and Excel inserts the row there while pushing the other rows down instead of replacing them. Without Shift, a plain drag overwrites whatever is at the destination. The cut-and-paste equivalent is to cut the row, then right-click the target row number and choose Insert Cut Cells rather than a regular paste.
What is the difference between “Insert Cut Cells” and a normal paste?
A normal paste (Ctrl+V) drops the row’s contents on top of the destination cells, overwriting them. Insert Cut Cells instead inserts the row at that position and shifts the existing rows down, so no data is lost. Use Insert Cut Cells whenever you are reordering data rather than replacing it.
How do I move a row in Excel on a Mac?
The methods are the same as on Windows. For drag-and-drop, select the row, hover over its border until the move cursor appears, then hold Shift and drag. For cut-and-paste, press Cmd+X to cut, then right-click the destination row number and choose Insert Cut Cells. The Shift+Option+Up/Down Arrow shortcut is not available on Mac, so use drag or cut-and-paste there.
Can I move multiple rows at once?
Yes. Click the first row number, then Shift-click the last row number to select multiple rows (they must be adjacent for a clean move). Then Shift+drag the selection or cut and Insert Cut Cells as you would for a single row. For larger blocks, see the guide on moving multiple entire rows.
Why does dragging a row replace my data instead of inserting it?
That happens when you drag without holding Shift — a plain drag is a move-and-overwrite operation. Hold the Shift key during the drag (watch for the horizontal insertion bar) to insert the row between others instead. Press Ctrl+Z to undo if you accidentally overwrote data.
How do I move a row to a different worksheet?
Drag-and-drop only works within a single sheet, so use cut-and-paste for cross-sheet moves. Cut the row with Ctrl+X (Cmd+X on Mac), switch to the other worksheet, right-click the target row number, and choose Insert Cut Cells. The same approach works for moving rows between workbooks.