Adjusting row and column positions in Excel helps you structure data exactly how you need it. If you have ever wondered how to move row column in ms excel, you are not alone. Many users find this task confusing at first, but it is actually quite simple once you know the right techniques.
Whether you are reorganizing a spreadsheet for a report or just cleaning up messy data, moving rows and columns can save you hours of manual work. In this guide, I will show you multiple ways to do it, including drag-and-drop, cut-and-paste, and keyboard shortcuts. You will also learn some pro tips to avoid common mistakes.
Let us start with the most basic method that works in all modern versions of Excel.
How To Move Row Column In Ms Excel Using Drag And Drop
Drag and drop is the fastest way to move a row or column. It works in Excel 2010, 2013, 2016, 2019, and Microsoft 365. Here is how you do it:
- Select the entire row or column you want to move. Click on the row number or column letter.
- Hover your mouse over the border of the selection until the cursor changes to a four-sided arrow.
- Hold down the Shift key on your keyboard.
- Click and drag the selection to the new location. You will see a green line indicating where the row or column will be inserted.
- Release the mouse button and then release the Shift key.
That is it. The row or column moves to its new position, and existing data shifts to make room. This method does not overwrite any cells, so your data stays safe.
One common mistake is forgetting to hold the Shift key. If you drag without Shift, Excel will replace the target cells with your selection. Always use Shift to insert rather than overwrite.
Moving Multiple Rows Or Columns At Once
You can move several rows or columns together using the same drag-and-drop technique. Just select multiple rows or columns by clicking and dragging across their numbers or letters. Then follow the same steps with the Shift key.
This is extremly useful when you need to rearrange large sections of a spreadsheet. For example, you can move a group of monthly sales columns to a different part of your workbook in seconds.
Using Cut And Paste To Move Rows And Columns
If you prefer using menus or keyboard shortcuts, cut and paste works perfectly. This method is also safer if you are worried about accidentally overwriting data.
- Select the row or column you want to move.
- Right-click and choose Cut, or press Ctrl + X (Cmd + X on Mac).
- Right-click on the row number or column letter where you want to insert the cut data.
- Choose Insert Cut Cells from the context menu.
The row or column will be inserted at the new location, and existing data will shift down or right. This method works for single and multiple selections alike.
Note that if you just paste without using “Insert Cut Cells,” Excel will overwrite the target cells. Always look for the insert option to avoid data loss.
Keyboard Shortcut For Cut And Insert
For power users, here is a faster keyboard sequence:
- Select the row or column.
- Press Ctrl + X to cut.
- Press Ctrl + Shift + + (plus sign) to insert cut cells.
This shortcut works in Windows Excel. On Mac, use Cmd + X then Cmd + Shift + +. Practice it a few times, and it will become second nature.
How To Move Row Column In Ms Excel Using The Ribbon
Some users prefer clicking buttons in the ribbon. Here is the ribbon-based method:
- Select the row or column you want to move.
- Go to the Home tab.
- In the Clipboard group, click Cut (scissors icon).
- Click on the row number or column letter where you want to insert.
- In the Cells group, click the dropdown arrow under Insert.
- Choose Insert Cut Cells.
This method is a bit slower but very clear for beginners. It also works well if you are already using the ribbon for other tasks.
Moving Rows And Columns With The Mouse (No Shift Key)
There is another drag-and-drop method that does not require the Shift key. It uses a different mouse action:
- Select the row or column.
- Hold down the Alt key on your keyboard.
- Drag the selection to the new location.
- Release the mouse, then release the Alt key.
This method also inserts the data without overwriting. Some users find it more intuitive than the Shift key method. Try both and see which one feels better for you.
Common Mistakes And How To Avoid Them
Even experienced users make errors when moving rows and columns. Here are the most common pitfalls:
- Overwriting data: Always use Shift or the insert option to avoid replacing existing cells.
- Moving only part of a row: Make sure you select the entire row by clicking its number, not just a few cells.
- Losing formatting: When you move a row or column, all formatting moves with it. This is usually good, but be aware if you have conditional formatting rules.
- Breaking formulas: Excel automatically updates cell references when you move data. However, if your formulas reference specific cells, double-check them after moving.
If you accidentally mess up, press Ctrl + Z (Undo) immediately. Excel remembers many undo steps, so you can usually revert without permanent damage.
How To Move Row Column In Ms Excel With A Formula
Sometimes you need to move data based on a condition or dynamically. While not a direct “move,” you can use formulas to copy data from one location to another. Then you delete the original.
For example, use the INDEX or OFFSET function to reference a row or column in a new location. This is advanced and best for situations where you want the data to update automatically.
But for most everyday tasks, the drag-and-drop or cut-and-paste methods are faster and simpler.
Moving Rows And Columns Between Sheets
You can also move rows or columns to a different worksheet in the same workbook. The process is similar:
- Select the row or column.
- Cut it using Ctrl + X.
- Click on the sheet tab at the bottom to switch to the target worksheet.
- Select the row number or column letter where you want to insert.
- Right-click and choose Insert Cut Cells.
This works across sheets within the same workbook. If you need to move data to a different workbook, you can copy and paste, but the cut-and-insert method may not work across separate files.
Using Excel Tables To Simplify Moving Data
If your data is formatted as an Excel table (Insert > Table), moving rows and columns works a bit differently. Tables have structured references, and moving a row within a table is straightforward with drag-and-drop.
However, moving a column in a table can sometimes cause issues with table headers. It is often safer to convert the table back to a range (Table Design > Convert to Range) before moving columns, then reapply the table format.
This is a niche tip, but it saves headaches if you work with tables frequently.
How To Move Row Column In Ms Excel On Mac
Mac users have the same basic options, but the keyboard shortcuts are slightly different. Here is a quick comparison:
- Cut: Cmd + X
- Insert Cut Cells: Cmd + Shift + +
- Undo: Cmd + Z
The drag-and-drop method with the Shift key works identically on Mac. Just hold the Shift key while dragging the border of the selection.
One tip for Mac users: If you are using a trackpad, the drag-and-drop can be tricky. You might find cut-and-paste easier to control.
Moving Columns In Excel Online (Web Version)
Excel Online (the free browser version) also supports moving rows and columns. The drag-and-drop method works, but it can be less responsive than the desktop app. Cut-and-paste is more reliable in the web version.
To move a column in Excel Online:
- Select the column by clicking its letter.
- Right-click and choose Cut.
- Right-click on the column letter where you want to insert.
- Choose Insert cut cells.
The same steps apply to rows. The web version does not have all the keyboard shortcuts of the desktop app, but the basic functions are there.
Advanced Tip: Moving Rows And Columns With VBA
For repetitive tasks, you can automate moving rows and columns with VBA (Visual Basic for Applications). Here is a simple macro that moves the selected row up by one:
Sub MoveRowUp()
Selection.EntireRow.Cut
Selection.Offset(-1, 0).EntireRow.Insert Shift:=xlDown
End Sub
This is for advanced users only. If you are not comfortable with coding, stick to the manual methods. But if you move data frequently, a macro can save you a lot of time.
How To Move Row Column In Ms Excel Without Breaking Formulas
Excel is smart about updating cell references when you move data. For example, if cell A1 contains =B1+C1, and you move column B to column D, Excel will update the formula to =D1+C1.
However, there are edge cases:
- Named ranges: If your formula uses a named range, moving the referenced cells may break the name. Check named ranges after moving.
- External references: Formulas that reference other workbooks may not update correctly. Test after moving.
- Array formulas: Older array formulas (Ctrl+Shift+Enter) can be fragile. Avoid moving data that they reference.
In general, Excel handles formula updates well. But it is always a good idea to double-check your calculations after rearranging data.
Frequently Asked Questions
Can I Move A Row And Column At The Same Time In Excel?
No, you cannot move a row and a column simultaneously in one action. You must move them separately. First move the row, then the column, or vice versa.
What Is The Shortcut To Move A Row In Excel?
The fastest shortcut is to select the row, press Ctrl+X to cut, then press Ctrl+Shift++ to insert cut cells at the new location. This works in Windows Excel.
How Do I Move A Column To The Left In Excel?
Select the column, hold Shift, and drag it to the left. Or cut the column and insert it to the left of the target column. The green line during drag shows exactly where it will go.
Why Does My Drag-and-drop Not Work In Excel?
Check if the “Enable fill handle and cell drag-and-drop” option is turned on. Go to File > Options > Advanced, and under Editing options, make sure the checkbox is selected.
How To Move Row Column In Ms Excel Without Overwriting?
Always use the Shift key while dragging, or use the “Insert Cut Cells” option after cutting. This inserts the data and shifts existing cells, preventing overwrites.
Final Thoughts On Moving Rows And Columns
Mastering how to move row column in ms excel is a fundamental skill that makes you more productive. Whether you use drag-and-drop, cut-and-paste, or keyboard shortcuts, the key is to practice until it feels natural.
Start with the Shift-drag method—it is the fastest and most intuitive once you get used to it. If you make a mistake, remember that Ctrl+Z is your best friend.
As you become more comfortable, try the advanced techniques like moving data between sheets or using VBA for automation. Each method has its place, and knowing multiple approaches will make you a more flexible Excel user.
Now go ahead and reorganize your spreadsheets with confidence. Your data will be exactly where you want it, and you will save time in the process.