How to move rows in excel

When you move or copy rows and columns, by default Excel moves or copies all data that they contain, including formulas and their resulting values, comments, cell formats, and hidden cells.

When you copy cells that contain a formula, the relative cell references are not adjusted. Therefore, the contents of cells and of any cells that point to them might display the #REF! error value. If that happens, you can adjust the references manually. For more information, see Detect errors in formulas.

You can use the Cut command or Copy command to move or copy selected cells, rows, and columns, but you can also move or copy them by using the mouse.

By default, Excel displays the Paste Options button. If you need to redisplay it, go to Advanced in Excel Options. For more information, see Advanced options.

  1. Select the cell, row, or column that you want to move or copy.

  2. Do one of the following:

    • To move rows or columns, on the Home tab, in the Clipboard group, click Cut cut icon image or press CTRL+X.

    • To copy rows or columns, on the Home tab, in the Clipboard group, click Copy copy icon image or press CTRL+C.

  3. Right-click a row or column below or to the right of where you want to move or copy your selection, and then do one of the following:

    • When you are moving rows or columns, click Insert Cut Cells.

    • When you are copying rows or columns, click Insert Copied Cells.

    Tip: To move or copy a selection to a different worksheet or workbook, click another worksheet tab or switch to another workbook, and then select the upper-left cell of the paste area.

Note: Excel displays an animated moving border around cells that were cut or copied. To cancel a moving border, press Esc.

By default, drag-and-drop editing is turned on so that you can use the mouse to move and copy cells.

  1. Select the row or column that you want to move or copy.

  2. Do one of the following:


    • Cut and replace
         Point to the border of the selection. When the pointer becomes a move pointer Move Pointer, drag the rows or columns to another location. Excel warns you if you are going to replace a column. Press Cancel to avoid replacing.

    • Copy and replace    Hold down CTRL while you point to the border of the selection. When the pointer becomes a copy pointer Excel Copy Pointer, drag the rows or columns to another location. Excel doesn’t warn you if you are going to replace a column. Press CTRL+Z if you don’t want to replace a row or column.

    • Cut and insert   Hold down SHIFT while you point to the border of the selection. When the pointer becomes a move pointer Move Pointer, drag the rows or columns to another location.

    • Copy and insert    Hold down SHIFT and CTRL  while you point to the border of the selection. When the pointer becomes a move pointer Move Pointer, drag the rows or columns to another location.

    Note: Make sure that you hold down CTRL or SHIFT during the drag-and-drop operation. If you release CTRL or SHIFT before you release the mouse button, you will move the rows or columns instead of copying them.

Note: You cannot move or copy nonadjacent rows and columns by using the mouse.

If some cells, rows, or columns on the worksheet are not displayed, you have the option of copying all cells or only the visible cells. For example, you can choose to copy only the displayed summary data on an outlined worksheet.

  1. Select the row or column that you want to move or copy.

  2. On the Home tab, in the Editing group, click Find & Select, and then click Go To Special.

    Excel  Ribbon Image

  3. Under Select, click Visible cells only, and then click OK.

  4. On the Home tab, in the Clipboard group, click Copy copy icon image or press Ctrl+C. .

  5. Select the upper-left cell of the paste area.

    Tip: To move or copy a selection to a different worksheet or workbook, click another worksheet tab or switch to another workbook, and then select the upper-left cell of the paste area.

  6. On the Home tab, in the Clipboard group, click Paste Button image or press Ctrl+V.

    If you click the arrow below Paste Button image, you can choose from several paste options to apply to your selection.

Excel pastes the copied data into consecutive rows or columns. If the paste area contains hidden rows or columns, you might have to unhide the paste area to see all of the copied cells.

When you copy or paste hidden or filtered data to another application or another instance of Excel, only visible cells are copied.

  1. Select the row or column that you want to move or copy.

  2. On the Home tab, in the Clipboard group, click Copy copy icon image or press Ctrl+C.

  3. Select the upper-left cell of the paste area.

  4. On the Home tab, in the Clipboard group, click the arrow below Paste Button image, and then click Paste Special.

  5. Select the Skip blanks check box.

  1. Double-click the cell that contains the data that you want to move or copy. You can also edit and select cell data in the formula bar.

  2. Select the row or column that you want to move or copy.

  3. On the Home tab, in the Clipboard group, do one of the following:

    • To move the selection, click Cut cut icon image or press Ctrl+X.

    • To copy the selection, click Copy copy icon image or press Ctrl+C.

  4. In the cell, click where you want to paste the characters, or double-click another cell to move or copy the data.

  5. On the Home tab, in the Clipboard group, click Paste Button image or press Ctrl+V.

  6. Press ENTER.

    Note: When you double-click a cell or press F2 to edit the active cell, the arrow keys work only within that cell. To use the arrow keys to move to another cell, first press Enter to complete your editing changes to the active cell.

When you paste copied data, you can do any of the following:

  • Paste only the cell formatting, such as font color or fill color (and not the contents of the cells).

  • Convert any formulas in the cell to the calculated values without overwriting the existing formatting.

  • Paste only the formulas (and not the calculated values).

Procedure

  1. Select the row or column that you want to move or copy.

  2. On the Home tab, in the Clipboard group, click Copy copy icon image or press Ctrl+C.
     

  3. Select the upper-left cell of the paste area or the cell where you want to paste the value, cell format, or formula.

  4. On the Home tab, in the Clipboard group, click the arrow below Paste Button image, and then do one of the following:

    • To paste values only, click Values.

    • To paste cell formats only, click Formatting.

    • To paste formulas only, click Formulas.

When you paste copied data, the pasted data uses the column width settings of the target cells. To correct the column widths so that they match the source cells, follow these steps.

  1. Select the row or column that you want to move or copy.

  2. On the Home tab, in the Clipboard group, do one of the following:

    • To move cells, click Cut cut icon image or press Ctrl+X.

    • To copy cells, click Copy copy icon image or press Ctrl+C.

  3. Select the upper-left cell of the paste area.

    Tip: To move or copy a selection to a different worksheet or workbook, click another worksheet tab or switch to another workbook, and then select the upper-left cell of the paste area.

  4. On the Home tab, in the Clipboard group, click the arrow under Paste Button image, and then click Keep Source Column Widths.

You can use the Cut command or Copy command to move or copy selected cells, rows, and columns, but you can also move or copy them by using the mouse.

  1. Select the cell, row, or column that you want to move or copy.

  2. Do one of the following:

    • To move rows or columns, on the Home tab, in the Clipboard group, click Cut cut icon image or press CTRL+X.

    • To copy rows or columns, on the Home tab, in the Clipboard group, click Copy copy icon image or press CTRL+C.

  3. Right-click a row or column below or to the right of where you want to move or copy your selection, and then do one of the following:

    • When you are moving rows or columns, click Insert Cut Cells.

    • When you are copying rows or columns, click Insert Copied Cells.

    Tip: To move or copy a selection to a different worksheet or workbook, click another worksheet tab or switch to another workbook, and then select the upper-left cell of the paste area.

Note: Excel displays an animated moving border around cells that were cut or copied. To cancel a moving border, press Esc.

  1. Select the row or column that you want to move or copy.

  2. Do one of the following:


    • Cut and insert
         Point to the border of the selection. When the pointer becomes a hand pointer The Move Hand Icon, drag the row or column to another location

    • Cut and replace   Hold down SHIFT while you point to the border of the selection. When the pointer becomes a move pointer The Move Hand Icon, drag the row or column to another location. Excel warns you if you are going to replace a row or column. Press Cancel to avoid replacing.

    • Copy and insert    Hold down CTRL while you point to the border of the selection. When the pointer becomes a move pointer The Move Hand Icon, drag the row or column to another location.

    • Copy and replace    Hold down SHIFT and CTRL while you point to the border of the selection. When the pointer becomes a move pointer The Move Hand Icon, drag the row or column to another location. Excel warns you if you are going to replace a row or column. Press Cancel to avoid replacing.

    Note: Make sure that you hold down CTRL or SHIFT during the drag-and-drop operation. If you release CTRL or SHIFT before you release the mouse button, you will move the rows or columns instead of copying them.

Note: You cannot move or copy nonadjacent rows and columns by using the mouse.

  1. Double-click the cell that contains the data that you want to move or copy. You can also edit and select cell data in the formula bar.

  2. Select the row or column that you want to move or copy.

  3. On the Home tab, in the Clipboard group, do one of the following:

    • To move the selection, click Cut cut icon image or press Ctrl+X.

    • To copy the selection, click Copy copy icon image or press Ctrl+C.

  4. In the cell, click where you want to paste the characters, or double-click another cell to move or copy the data.

  5. On the Home tab, in the Clipboard group, click Paste Button image or press Ctrl+V.

  6. Press ENTER.

    Note: When you double-click a cell or press F2 to edit the active cell, the arrow keys work only within that cell. To use the arrow keys to move to another cell, first press Enter to complete your editing changes to the active cell.

When you paste copied data, you can do any of the following:

  • Paste only the cell formatting, such as font color or fill color (and not the contents of the cells).

  • Convert any formulas in the cell to the calculated values without overwriting the existing formatting.

  • Paste only the formulas (and not the calculated values).

Procedure

  1. Select the row or column that you want to move or copy.

  2. On the Home tab, in the Clipboard group, click Copy copy icon image or press Ctrl+C.
     

  3. Select the upper-left cell of the paste area or the cell where you want to paste the value, cell format, or formula.

  4. On the Home tab, in the Clipboard group, click the arrow below Paste Button image, and then do one of the following:

    • To paste values only, click Paste Values.

    • To paste cell formats only, click Paste Formatting.

    • To paste formulas only, click Paste Formulas.

You can move or copy selected cells, rows, and columns by using the mouse and Transpose.

  1. Select the cells or range of cells that you want to move or copy.

  2. Point to the border of the cell or range that you selected.

  3. When the pointer becomes a Hand pointer, do one of the following:

To

Do this

Move cells

Drag the cells to another location.

Copy cells

Hold down OPTION and drag the cells to another location.

Note: When you drag or paste cells to a new location, if there is pre-existing data in that location, Excel will overwrite the original data.

  1. Select the rows or columns that you want to move or copy.

  2. Point to the border of the cell or range that you selected.

  3. When the pointer becomes a Hand pointer, do one of the following:

To

Do this

Move rows or columns

Drag the rows or columns to another location.

Copy rows or columns

Hold down OPTION and drag the rows or columns to another location.

Move or copy data between existing rows or columns

Hold down SHIFT and drag your row or column between existing rows or columns. Excel makes space for the new row or column.

  1. Copy the rows or columns that you want to transpose.

  2. Select the destination cell (the first cell of the row or column into which you want to paste your data) for the rows or columns that you are transposing.

  3. On the Home tab, under Edit, click the arrow next to Paste, and then click Transpose.

    Home tab, Edit group

    Note: Columns and rows cannot overlap. For example, if you select values in Column C, and try to paste them into a row that overlaps Column C, Excel displays an error message. The destination area of a pasted column or row must be outside the original values.

See also

Insert or delete cells, rows, columns

Watch Video – The best way to Move Rows / Columns in Excel

Sometimes when working with data in Excel, you may have a need to move rows and columns in the dataset.

For example, in the below dataset, I want to quickly move the highlighted row to the top.

Move Rows and Columns in Excel - Dataset

Now, are you thinking of copying this row, inserting the copied row where you want it, and then deleting it?

If yes – well that’s one way to do this.

But there is a lot faster way to move rows and columns in Excel.

In this tutorial, I will show you a fast way to move rows and columns in Excel – using an amazing shortcut.

Move Rows in Excel

Suppose I have the following dataset and I want to move the highlighted row to the second row (just below the headers):

Move Row to the Top

Here are the steps to do this:

  1. Select the row that you want to move.
  2. Hold the Shift Key from your keyboard.
  3. Move your cursor to the edge of the selection. It would display the move icon (a four directional arrow icon).
  4. Click on the edge (with left mouse button) while still holding the shift key.
  5. Move it to the row where you want this row to be shifted
  6. Leave the mouse button when you see a bold line right below the row where you want to move this row.
  7. Leave the Shift-key (remember to keep the Shift key pressed till the end)

Below is a video that shows how to move a row using this method.

Move Rows in Excel - Video

Note that in this example, I have moved the selected cells only.

If you want to move the entire row, you can select the entire row and then follow the same steps.

Here are some important things to know about this method:

  • You can move contiguous rows (or some cells from the contiguous rows). You can’t move non-contiguous rows using this method. For example, you can’t move row # 4 and 6 at the same time. However, you can move row #5 and 6 at the same time by selecting it.
  • When you move some cells in a row/column using this method, it will not impact any other data in the worksheet. In the above example, any data outside (above/below or to the right/left of this table) remains unaffected.

Move Columns in Excel

The same technique can also be used to move columns in Excel.

Move Columns in Excel - Video

Here are the steps:

  1. Select the column (or contiguous columns) that you want to move.
  2. Hold the Shift Key from your keyboard.
  3. Move your cursor to the edge of the selection. It would display the move icon (a four directional arrow icon).
  4. Click on the edge (with left mouse button) while still holding the shift key.
  5. Move it to the column where you want this row to be shifted
  6. Leave the mouse button when you see a bold line to the edge of the column where you want to move this column.
  7. Leave the Shift-key (remember to keep the Shift key pressed till the end).

You May Also Like the Following Excel Tutorials:

  • Quickly select blank cells in Excel.
  • Quickly select a far-off cell/range in Excel.
  • Keyboard and Mouse tricks that will reinvent the way you Excel.
  • Highlight every other row in Excel.
  • Insert New Cells in Excel.
  • Highlight Active Row/Column in a dataset.
  • Delete rows based on cell value in Excel
  • Insert New Columns in Excel

Move Rows in Excel

  1. Select the row that you want to move.
  2. Hold the Shift Key from your keyboard.
  3. Move your cursor to the edge of the selection.
  4. Click on the edge (with left mouse button) while still holding the shift key.
  5. Move it to the row where you want this row to be shifted.

Contents

  • 1 How do you move a row in Excel without replacing?
  • 2 How do I rearrange rows and columns in Excel?
  • 3 How do I rearrange rows and numbers in Excel?
  • 4 How do I move rows in sheets?
  • 5 Can you move a column in Excel?
  • 6 What is transpose in Excel?
  • 7 How do you move a column over in Excel?
  • 8 How do I organize rows in Excel?
  • 9 How do I arrange in alphabetical order in Excel?
  • 10 How do you rearrange rows in Excel alphabetically?
  • 11 How do you move cells in Excel?
  • 12 How can I insert multiple rows in Excel?
  • 13 How do I sort rows in Excel without mixing data?
  • 14 How do you segregate data in Excel?
  • 15 How do I sort rows from one column in Excel?
  • 16 How do I sort all rows in one column in Excel?
  • 17 What is one of the sorting options?

How do you move a row in Excel without replacing?

1. Click on the specified column heading or row number to select the entire column or row you need to move. 2. Move the cursor to the edge of selected column or row until it changes to a 4-sided arrow cursor , press and hold the Shift key then drag the selected column or row to a new location.

How do I rearrange rows and columns in Excel?

Transpose (rotate) data from rows to columns or vice versa

  1. Select the range of data you want to rearrange, including any row or column labels, and press Ctrl+C.
  2. Choose a new location in the worksheet where you want to paste the transposed table, ensuring that there is plenty of room to paste your data.

How do I rearrange rows and numbers in Excel?

How to sort in Excel?

  1. Select a single cell in the column you want to sort.
  2. On the Data tab, in the Sort & Filter group, click. to perform an ascending sort (from A to Z, or smallest number to largest).
  3. Click. to perform a descending sort (from Z to A, or largest number to smallest).

How do I move rows in sheets?

Move rows or columns

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Select the rows or columns to move.
  3. At the top, click Edit.
  4. Select the direction you want to move the row or column, like Move row up.

Can you move a column in Excel?

Press and hold the Shift key, and then drag the column to a new location. You will see a faint “I” bar along the entire length of the column and a box indicating where the new column will be moved. That’s it! Release the mouse button, then leave the Shift key and find the column moved to a new position.

What is transpose in Excel?

The TRANSPOSE function returns a vertical range of cells as a horizontal range, or vice versa.Use TRANSPOSE to shift the vertical and horizontal orientation of an array or range on a worksheet.

How do you move a column over in Excel?

Shift Key

  1. First, select a column.
  2. Hover over the border of the selection.
  3. Press and hold the Shift key on your keyboard.
  4. Click and hold the left mouse button.
  5. Move the column to the new position.
  6. Release the left mouse button.
  7. Release the shift key.

How do I organize rows in Excel?

To sort by a row, follow these steps:

  1. Select one cell in the row you want to sort.
  2. Press Ctrl + A, to select the entire region.
  3. Check the selected area, to make sure that all the data is included.
  4. Right-click a cell in the row that you want to sort.
  5. In the popup menu, click Sort, then click Custom Sort.

How do I arrange in alphabetical order in Excel?

  1. In an excel spreadsheet, find and highlight the column you want to alphabetize.
  2. Select the button Sort and Filter. Click the drop down menu and select Sort A to Z. A window will appear. Make sure Expand the selection is the chosen option.
  3. Click Sort. Your selected column will sort.

How do you rearrange rows in Excel alphabetically?

How to alphabetize columns in Excel

  1. Find the “Data” tab at the top of your spreadsheet.
  2. You can sort data by any column.
  3. Select how you’d like to alphabetize.
  4. Your data will be reorganized by column.
  5. Click “Options…”
  6. Switch to alphabetizing from left to right.
  7. Provide instructions to order data by row.

How do you move cells in Excel?

Move cells by drag and dropping

  1. Select the cells or range of cells that you want to move or copy.
  2. Point to the border of the selection.
  3. When the pointer becomes a move pointer. , drag the cell or range of cells to another location.

How can I insert multiple rows in Excel?

How to insert multiple rows in Excel

  1. Select the row below where you want the new rows to appear.
  2. Right click on the highlighted row and select “Insert” from the list.
  3. To insert multiple rows, select the same number of rows that you want to insert.

How do I sort rows in Excel without mixing data?

Sorting Multiple Rows or Columns

  1. Select any cell within the data range wherein sorting needs to be applied.
  2. Click on the Data Tab on Menu Bar, and further click on Sort under Sort & Filter group.
  3. Sort dialog box opens up.
  4. Under Sort On List, select the type of sort that needs to be applied.

How do you segregate data in Excel?

Try it!

  1. Select the cell or column that contains the text you want to split.
  2. Select Data > Text to Columns.
  3. In the Convert Text to Columns Wizard, select Delimited > Next.
  4. Select the Delimiters for your data.
  5. Select Next.
  6. Select the Destination in your worksheet which is where you want the split data to appear.

How do I sort rows from one column in Excel?

Select any cell in the data range. On the Data tab, in the Sort & Filter group, click Sort. In the Sort dialog box, under Column, in the Sort by box, select the first column that you want to sort. Under Sort On, select the type of sort.

How do I sort all rows in one column in Excel?

To sort a range:

  1. Select the cell range you want to sort.
  2. Select the Data tab on the Ribbon, then click the Sort command.
  3. The Sort dialog box will appear.
  4. Decide the sorting order (either ascending or descending).
  5. Once you’re satisfied with your selection, click OK.
  6. The cell range will be sorted by the selected column.

What is one of the sorting options?

Some popular sorting methods include relevancy, name and price. As an example, your customers may be searching for a particular product name and allowing them to arrange items alphabetically (either ascending or descending in direction) gives them the control they need to find products faster.

While working on a worksheet that has numerous rows of data, you may have to reorder the row and columns every now and then. Whether it’s a simple mistake or the data is not at the right spot or you simply need to rearrange the data, then you have to move rows or columns in Excel.

If you work with Excel tables a lot, it’s important to know how to move rows or columns in Excel. There are three ways to move rows or columns in Excel, including the drag method using the mouse, cut and paste, and rearrange rows using the Data Sort feature. In this tutorial, we will cover all three methods one by one.

Move a Row/Column by Dragging and Dropping in Excel

The drag and drop method is the easiest way to quickly move rows in a dataset. But dragging rows in Excel is a bit more complex than you realize. There are three ways you can drag-and-drop rows in Excel, including drag and replace, drag and copy, and drag and move.

Drag and Replace Row

The first method is a simple drag and drop but the moving row will replace the destination row.

First, select the row (or contiguous rows) that you want to move. You can select an entire row by simply clicking the row number or clicking on any cell in the row and pressing Shift+Spacebar. Here, we’re selecting row 6.

After selecting the row, move your cursor to the edge of the selection (either top or bottom). You should see your cursor change to a move pointer Move Pointer (cross with the arrows).

Now, hold down the left mouse click, and drag it (top or bottom) to the desired location where you want to move the row. While you’re dragging the row, it will highlight the current row in a green border. In the example, we’re dragging row 6 to row 11.

Then, release the left mouse button and you will see a pop-up asking “There’s already data here. Do you want to replace it?”. Click ‘OK’ to replace row 11 with the data of row 6.

But, when you move your row to an empty row, Excel won’t show you this pop-up, it will simply move the data to the empty row.

In the below screenshot, you can see that row 11 is now replaced with row 6.

Drag and Move/Swap Row

You can quickly move or swap a row without overwriting the existing row by holding the Shift key when dragging the selected row(s).

Select your row (or contiguous row) that you want to move the same you did in the above section. Here, we’re selecting row 5.

Next, press and hold the Shift key on the keyboard, move your cursor to the edge of the selection (either top or bottom). When your cursor turns to a move pointer Move Pointer (cross with the arrow), click on the edge (with left mouse button), and drag the row to the new location. 

When you drag your cursor across the rows, you would see a bold green line at the edge of the row indicating where the new row will appear. Once you’ve found the right location for the row, release the mouse click and the Shift key. Here, we want to move row 5 to between rows 9 and 10.

Once the mouse button is released, row 5 is moved to row 9, and the original row 9 automatically moves up.

This method basically cuts the row and then inserts them to the new location (where you release the mouse button) without overwriting the existing row.

Drag and Copy Row

If you want to copy the row to the new location then simply press the Ctrl key while dragging the row to the new location. This method also replaces the destination row but it keeps the existing row (moving row) in place.

Select the row(s) you want to move the same way we did in the previous sections. Here, we’re selecting row 5.

This time, press and hold the Ctrl key on the keyboard, and drag the row to your desired location using the move pointer. Once you’ve found the right spot for the row, release the mouse click and the Ctrl key. Here, we’re releasing the mouse click at row 12.

Upon releasing the buttons, the 5th-row data replaces the 12th-row data but the 5th-row remains as the original data. Also, there is no pop-up dialog box asking whether to overwrite the data or not.

Move Multiple Rows At A Time by Dragging

You can also move multiple rows at a time using any of the same above methods. However, you can only move contiguous/adjacent rows and you cannot move non-contiguous rows by dragging.

First, select the multiple rows you want to move. You can select the entire multiple rows by clicking and dragging over the row numbers to the left. Alternatively, click on the first or last row header you want to select, press and hold the Shift key and use the arrow keys up or down to select multiple rows. In the example below, we’re selecting from rows 3 to 6.

Now, click on the edge of the selection, and drag the rows to the new location. You can simply drag, drag while holding the Shift key, or drag while holding the Ctrl key to move the rows.

In the example, we’re dragging the rows while holding the Shift key until the bottom line of row 10.

Now, rows 3 to 6 are moved to the location of rows 7 to 10, and the original rows from 7 to 10 are moved/shifted up.

Move Column using Mouse Drag

You can move columns (or contiguous columns) by following the same steps you did for the rows.

First, select the column (or adjacent columns) that you want to move. You can select an entire column by clicking the column header (column letter) at the top or pressing the Ctrl+Spacebar shortcut keys. In the example, we want column B (Last Name) to come after column D (City), so we’re highlighting column B.

Then, drag the column using Shift + left mouse click and release the mouse button and Shift key when you see the green bold line at the edge between column D and column E.

You can also simply drag the column or hold the Ctrl key while dragging the column to move and replace the existing column.

As you can see column B is moved to the location indicated by the bold green border and the original column D (City) is shifted to the left.

Move a Row/Column in Excel With Cut and Paste

Another easiest and well-known method for moving rows in Excel is by cutting and pasting the row of cells from one location to another. You can easily cut and paste rows using shortcut keys or mouse right-click. This method is much more simple and straightforward than the previous method. Let’s see how to move rows using the cut and paste method.

First, select the row (or contiguous rows ) as we did in the previous sections. You can either select an entire row or a range of cells in a row. Then, press the Ctrl+X (Command+X on Mac computer) on your keyboard to cut the selected row from its current location. Alternatively, you can right-click on the selected cell and select ‘Cut’.

Once you did that, you will see the marching ants effects (moving border of dots) around the row to show it has been cut. In the below example, row 4 is cut.

Next, select the desired destination row where you want to paste the cut row. If you moving an entire row, make sure to select the entire destination row by clicking the row number before pasting. Here, we’re selecting row 8.

Then, press the Ctrl+V shortcut keys to paste the row or right-click the destination row and click on the ‘Paste’ icon from the context menu.

When you use this method to move rows, it will overwrite the existing row. As you can, the data of row 8 is replaced with the data of row 4 in the below screenshot.

If you don’t want to replace the existing row while moving the selected row, you can use the ‘Insert Cut Cells’ option instead of the simple ‘Paste’ option. Here’s how you do that:

Select the row you want to move, and right-click and select ‘Cut’ or press Ctrl+X. Then, select the row before which you want to insert the cut row, right-click on it and choose ‘Insert Cut Cells’ from the context menu. Alternatively, you can press the Ctrl key + Plus sign (+) key on the numeric keypad to insert the cut row.

As you can see here, row 4 is inserted above the selected row, and the original row 7 is moved up.

If you want to copy the row rather than cut it, then instead of Ctrl+X, press Ctrl+C to copy the row and press Ctrl+V paste it. You can move columns using the cut and paste method by following these same instructions.

You can also cut a range of cells in a single row or multiple adjacent rows (contiguous rows) instead of entire rows and insert (or paste) them in another location using the above method. For example, we’re cutting C2:F4. Remember, if you are selecting multiple rows in the range, the rows must be adjacent rows.

Then, we are pasting the cut rows in the range C9:F11 using the ‘Insert Cut Cells’ option from the right-click menu.

Also, when you are moving rows, the cut area and paste area must be the same size, otherwise, you would get an error when you try to paste the cut row. For example, if you cut rows C2:F4 and try to paste it in the smaller range C10:F11 using the normal paste (Ctrl+V) method, you would see the following error.

Move Rows Using a Data Sort Feature in Excel

Moving rows with the data Sort features may require few more steps than the previous methods, but it is certainly not the difficult method to move rows or columns in Excel. Also, the data sort method comes with an advantage, you can change the order of all rows in one move that includes non-continuous rows as well. This method is certainly useful when it comes to rearranging numerous rows in a large spreadsheet. Follow these steps to move rows using a data sort:

First, you need to add a column to the left-most side of your spreadsheet (column A). To do this, right-click on any cell in the first column and select the ‘Insert’ option from the context menu.

In the Insert pop-up box, select ‘Entire column’ and click ‘OK’.

A new column has been inserted to the left-most side of your data set. This column must be the first column of your spreadsheet (i.e. column A).

Now, number the rows in the order you want them to appear in your spreadsheet by adding numbers in the first column as shown below.

Next, select all the data in the dataset that you want to reorganize. Then, go to the ‘Data’ tab in the Ribbon, and click the ‘Sort’ button in the Sort & Filter group.

You need to sort the dataset by the numbers in Column A. So, in the Sort dialog box, make sure the sorting is set to ‘Column’ above the ‘Sort by’ drop-down. If not, click the ‘Options’ button at the top.

Then, in the Sort Options pop-up dialog, select ‘Sort top to bottom’ and click ‘OK’.

Now, you’ll be back on the Sort dialog window. Here, select ‘Column A’ (or title of your first column) in Sort By drop-down menu.

Then, make sure the ‘Order’ drop-down is set to ‘Smallest to Largest’ and click ‘OK’.

This will close the Sort dialog box and take you back to your spreadsheet, where you’ll find that the rows have been rearranged according to the numbers you listed in that first column. Now, select the first column, right-click and select ‘Delete’ to remove it.

Move Columns Using a Data Sort

The process of moving columns using data sort is essentially the same as the moving rows, with a only few different steps. Follow these steps to move columns using data sort.

To move columns, you need to add a row instead of a column to the top of your dataset (Row 1). To do this, right-click on any cell in the first row and select the ‘Insert’ option from the context menu.

In the Insert dialog box, select ‘Entire row’ this time and click ‘OK’.

A new row will be inserted to the top of your spreadsheet, above all rows of data.

Now, number the columns in the order you want them to appear in your worksheet by adding numbers in the first row as shown below.

Next, select all the data in the dataset that you want to change the order of. Then, switch to the ‘Data’ tab in the Ribbon, and click the ‘Sort’ in the Sort & Filter group.

Now, you need to sort columns by the numbers in the first row. In the Sort dialog box, you need to set sorting to ‘Row’ instead of the column above the ‘Sort by’ drop-down. To do that, click the ‘Options’ button.

In the Sort Options pop-up dialog box, select ‘Sort left to right’ and click ‘OK’.

Back in the Sort dialog window, select ‘Row 1’ in Sort By drop-down menu and ‘Smallest to Largest’ in the Order drop-down. Then, click ‘OK’.

This will sort (move) the columns based on the numbers you listed in that first row as shown below. Now, all you have to do is select the first row and delete it.

Now, you know everything about moving rows as well as columns in Excel.

Skip to content

How to Move Columns in Excel (and Rows) – Full Tutorial

How to Move Columns in Excel (and Rows) – Full Tutorial

Knowing how to move rows and columns in Excel is as important as knowing how to copy and paste – it’s essential.

This is something you’d have to do almost all the time while you work in Excel.

So what are you waiting for? Dive into the guide below where we have listed all the possible ways (and shortcuts) to move columns and rows in Excel🚀

Also, to tag along with the guide, download our free sample workbook here.

How to move columns in Excel

There are several ways how you can move or rearrange columns in Excel. Let’s look into each of them below:

Method # 1: Using the Shift key

The first (and the basic) method of moving columns in Excel is by using the Shift key.

How? Look into the example below to understand that.

Example data set to move columns in Excel.

The data above consists of three columns.

Let’s say we want to move column C between Columns A and B. Here’s how we will do that:

  1. Select column C by clicking on the column header.
Selecting the column to be moved.
  1. Hover over the edge of the column and a plus sign appears.
  2. Hold down the Shift key when you see the plus sign.
  3. Drag the selected column to the targeted location (before Column B).

Pro Tip!

To move the columns in Excel while keeping the original data intact, we need to use the Shift command all along. This helps you move the columns to the targeted place without disturbing other data.

However, if you try to move the selected column as above using the Control Key, the targeted column will be replaced 🎯

  1. The final result looks like this.
The column with right or left border has been moved.

Column C (Names) is now placed between the column for Order Number and Amount.

Also, note how the column letter has automatically adjusted here (Column C is now Column B). You can do the same for rows in Excel.

If we had tried to do the same without using the Shift key, Excel would have shown a warning prompt 🚩

Excel showing warning pop up.

And the result would look something like this:

Data from column C replaces column B

The original column B (Amount) is overwritten as we pasted column C in its place.

Method # 2: Using the insert, cut, and paste hack

This method is usually used by Excel newbies. And honestly, it’s not a very sophisticated approach for moving columns. Nevertheless, it works well.

The process is simple. You just select, insert, cut, paste and delete. Bounced over your head?

Don’t worry – we’ve got a detailed explanation below.

Let’s use the same dataset as in the example above. And we again want to move column C between columns A and B, but this time, with a new method.

  1. Select the destined column (where you want to move Column C).

In our case, it’s column B (Amount).

Selecting the column.
  1. Right-click column B and select the Insert option from the drop-down menu.
Inserting a new column
  1. A blank column will appear on the left side of the selected column:
New column added.
  1. Select column D or press Ctrl + X to cut or CTRL + C to copy the entire column.

Note that after we’ve inserted an additional column before Column B, all columns have moved an alphabet ahead.

The column for Names (previously Column C) has now become Column D 👀

Kasper Langmann, Microsoft Office Specialist

A moving, dotted enclosure will appear around the column. That’s when you’re ready to paste it to the new location.

Selecting column d.
  1. Select the header Column B.
  2. Press down the Control Key + V to paste the column.
Moving column d
  1. Column D moves between columns A and C (previously Column B) successfully.

Too many steps and a little longer process? That is why this is not the best or the primary method to move columns in Excel.

Method # 3: Using the CTRL key

Just like we can move columns using the Shift key, we can use the Control key for the same purpose too😍

There’s only one difference between both methods. When you copy columns using the CTRL key, the copied data is pasted into a new column. But, and that’s a big BUT – the data in the pasted column is replaced.

Didn’t get it? Let’s understand it through an example below.

We are using the same data as earlier, and we want to move Column C using the Control key this time.

  1. Select column C by right-clicking the Column C header.
Selecting column c
  1. Press down the Control key and hover over to the edge of the column until you see a plus sign.
  2. Hold and drag the column to the desired location.
  3. Column C replaces column B and appears right after the first column.
Moving column C in place of column B

What happened here was that when we pressed the Control key, Excel made a copy of column C in place of column B by overwriting column B.

You can now delete column C by clicking delete from the context menu.

Deleting column c.

How to move multiple columns at the same time

Okay, so now you know how to move a column in Excel. But do you know how to move multiple columns simultaneously?

We bet you don’t, and we’re here to teach you just that😎

Let’s say we have this dataset where we want to move columns B and C and bring them before column A.

Column B and C to be moved.

So, how do we do that? Using the Shift key method as we did previously.

  1. Select column C by clicking on the header.
Selecting column C
  1. Press down the Shift key and select the header for column B.
Selecting both columns
  1. Hover over the edge of Column B until the plus sign appears.
  2. Hold and drag the columns and drop them before column A.
  3. The result will look something like this:
Moving columns

Note that this hack works for contiguous columns or contiguous rows only. You cannot use it to move non-contiguous rows and columns in Excel.

Kasper Langmann, Microsoft Office Specialist

Move columns to other worksheets

Now that we know how to work with columns in a single worksheet, it’s time we see how to move them to another sheet in the same workbook.

There’s a small but common hack for moving columns from one sheet to another. Let’s see it here👀

Using the same example as above, we are moving Column A from Sheet 1 to Sheet 3. To do so:

  1. Create a new sheet from the sheet tab at the bottom by clicking on the + sign shown below.
Adding new sheets
  1. Navigate back to Sheet 1.
  2. Select column A and press CTRL + C if you want to keep a copy of the column in Sheet 1. Otherwise, press CTRL + X to cut the column.
Selecting column A
  1. Go to Sheet 3.
  2. Paste the contents in any column of Sheet 3 by selecting it and pressing CTRL + V.

For example, we’ve pasted it in Column A of Sheet 3 as shown below.

Pasting column A in new sheet

How to move rows in Excel

We now know how to work with columns in Excel. Let’s see a brief overview of moving rows in an Excel spreadsheet too.

Method # 1: Using the Shift key

This one’s easy. Simply select the row you want to move, press shift, and drag it to the new position.

Let’s see an example here:

Moving row 6 to row 2

In the dataset above, the 6th row comes in the wrong order. It should have been in the first position (Row 2).

No worries – let’s move it to the right place. For that:

  1. Select the relevant row number (in our case, row 6).
Selecting entire row
  1. Hover over the edge of the row until the plus sign appears.
  2. Press down the Shift key and drag the entire row to its new location.
  3. The selected row moves up, and the result looks like this:
Moving row 6

You can do the same for multiple rows by selecting them at once and dragging them to the new position.

Method # 2: Using the insert, cut, and paste hack to move rows

You know this one already, don’t you? It’s an easy hack, and you just need to follow the same steps as with columns.

  1. Select the new row where you want the previous row to be moved. In this case, we want to move row 5 above row 9.
Moving row 5 above row 9
  1. Once selected, open the context menu with a right-click.
  2. Select the Insert option to add a single row.
Adding new column
  1. A new blank row appears above the 9th row.
New row inserted
  1. Cut row 5 by selecting it and pressing the Control key + X.
Cut row
  1. Go to Row 9 (the newly inserted blank row).
  2. Paste Column 5 in there by pressing Control + V.
Green border around new row

Now that all the data is organized, we have an empty row (Row 5) in our dataset.

You might want to delete it as follows:

  1. Select row 5 and right-click on it to launch the context menu.
  2. From the context menu, choose the Delete option to delete the subject row.
Deleting empty row
  1. This is what your dataset looks like now:
Final result

Method#3: Using the CTRL Key

You can also rearrange rows using the Control key. The method is identical to how we moved columns using the Control key.

Let’s quickly reiterate it here for moving rows:

  1. Select the row to be moved.
  2. Press and hold down the Control key.
  3. Hover over the row until you see a plus sign.
  4. Drag the row to its new position.
  5. The new row will appear, and the previous row will be replaced.

That’s it – Now what?

In this article, we learned easy hacks to move columns and rows in Excel using Shift, CTRL, and the Insert method🔰

But there is so much more you can do with columns and rows in Excel. And this article doesn’t do justice in covering even 5% of that information.

There are tons of other things to Excel that you’d want to learn. And you can start by practicing with some core Excel functions like the VLOOKUP, IF, and SUMIF functions.

Enroll in my 30 minutes free email course today to learn these functions (and more!).

Kasper Langmann2022-12-27T03:25:45+00:00

Page load link

Like this post? Please share to your friends:
  • How to move columns in excel
  • How to model in excel
  • How to microsoft office word
  • How to merge two excel
  • How to merge excel files in one file