Power Query lets you perform a series of steps to transform your Excel data.  One of the steps it allows you to take is to reverse the order of rows very easily.

DOWNLOAD EXCEL WORKBOOK

 

To provide a quick comparison, it’s not straightforward to reverse rows in Excel without Power Query:

We have our data that we want to reverse the row order:

Long Cut 01

Since Excel does not have a Reverse Row function, we need to add a Helper column manually that has the order listed out (from 1 to 10).

Long Cut 02

We use the Sort function and select Sort Largest to Smallest.

Long Cut 03

The data is now in reverse order.

Long Cut 04

 

Let’s go through the steps in detail on how to do it easily in Power Query:

 

STEP 1: Select your data and turn it into an Excel Table by pressing the shortcut Ctrl + T or by going to Insert > Table

Reverse Rows 01

 

STEP 2: Go to Data > Get & Transform > From Table (Excel 2016) or Power Query > Excel Data > From Table (Excel 2013 & 2010)

Excel 2016:

 Reverse Rows 02

Excel 2013 & 2010:

from table

 

STEP 3: This will open up the Power Query Editor.

Currently you can see the Ranks ordered from First to Tenth. We want to reverse the ordering of the rows.

Reverse Rows 03

 

STEP 4: Within here you need to select Transform > Reverse Rows

Reverse Rows 04

 

STEP 5: Now you will see your changes take place. The Ranks are now ordered from Tenth to First.

Reverse Rows 05

 

STEP 6: Click Close & Load from the Home tab and this will open up a brand new worksheet in your Excel workbook with the updated data.

Reverse Rows 06

You now have your new table in reverse order.

Reverse Rows 07

Reverse Rows

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

Remove Columns Using Power Query or Get & Tra... Power Query (in Excel 2010 & 2013) or Get & Transform (in Excel 2016) lets you perform a series of steps to transform your Excel data.One of the steps it allows you to do is to remove columns easily.This is helpful when you have columns that you want to eliminate ...
Split First & Last Name Using Power Query There are times when you receive a data set of employee full names in one column and you want to separate the full name into first name and surname in separate columns.This is a common task and most people may refer to complex formulas to do this and waste lots of time in the...
Use First Row as Headers Using Power Query or Get ... Power Query or Get & Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.One of the steps it allows you to do is to use the first row as headers.Let's suppose you have this set of data below.  You can see that the headers are not ...
Unpivot Data Using Excel Power Query Power Query is a free add-in created by Microsoft for Excel 2010 (or later) and you can download and install it for Excel 2010 and 2013:Click to see tutorial on how to install Power Query in Excel 2013Click to see tutorial on how to install Power Query in Excel 2010In...