Pinterest Pixel

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... read more

Download Excel Workbook
John Michaloudis
Posted on

Overview

Unpivot Data Using Excel Power Query | MyExcelOnline

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 2013

Click to see tutorial on how to install Power Query in Excel 2010

In Excel 2016 it comes built in the Ribbon menu under the Data tab and within the Get & Transform group.

 

Power Query allows you to extract data from any source, clean and transform the data and then load it to another sheet within Excel, Power Pivot or the Power BI Designer canvas.

One of the best features is to Unpivot Columns.

What that does is transforms columns with similar characteristics (e.g. Jan, Feb, March…) and puts them in a unique column or tabular format (e.g. Month), which then allows you to do further analysis using Pivot Tables which was not possible before unpivoting.

See also  Find Errors with Go to Special Constants

Here is how this is done:

Unpivot Data Using Excel Power Query | MyExcelOnline

Download excel workbookUnpivot.xlsx

STEP 1: Highlight your data and go to Power Query > From Table > OK

Unpivot Data Using Excel Power Query

 

STEP 2: This opens the Power Query editor and from here you need to select the columns that you want to unpivot

Unpivot Data Using Excel Power Query

STEP 3: You then need to go to the Transform tab and select Unpivot Columns

Unpivot Data Using Excel Power Query

STEP 4: Go to the File tab and choose Close & Load

Unpivot Data Using Excel Power Query

STEP 5: This will load and open the unpivoted data into a new worksheet with your Excel workbook.  Now you can go crazy with your super analytical work, using Pivot Tables etc

Unpivot Data Using Excel Power Query

 

THIS POST WAS INSPIRED BY THE FOLLOWING PODCAST SHOW:

Unpivot Data Using Excel Power Query

 

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

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin

See also  Rank Smallest to Largest With Excel Pivot Tables
Unpivot Data Using Excel Power Query | MyExcelOnline
Founder & Chief Inspirational Officer at MyExcelOnline.com

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship Academy Online Course.

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!