How do i change the order of columns in excel?

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.

How do i change the order of columns in excel?

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):

How do i change the order of columns in excel?

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.

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.

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

How do you rearrange columns?

Rearrange the order of columns in a table.
In Datasheet view, drag the selected columns horizontally to the position that you want..
In Design view, drag the selected columns vertically to the position that you want..

Can you move columns in Excel?

Move Columns in Excel Select the column (or contiguous columns) that you want to move. Hold the Shift Key from your keyboard. Move your cursor to the edge of the selection. It would display the move icon (a four directional arrow icon).

How do you rearrange the order on Excel?

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