How to Unpivot Static Tables in Excel 2016

If you are a regular Microsoft Excel 2016 user, but not quite familiar with Power Query Add-in for Excel, then this post will acquaint and help you get started with it. Any advanced Excel user faces challenge of analyzing or creating reports with PivotTables and PivotCharts as they lack the expertise in this domain and often end up showing static tabular data, or summaries. Though it is easy to use this table for quick data entry, it is difficult to start data analysis on such table or convert it into PivotTable and shape it to meet your analysis needs.

Look no further, with Power Query technology in Excel, you can change this. The new capability added to Excel 2016 allows you to unpivot static tables, ie. access your tables, perform a transformation and create a PivotTable from the transformed data, in Excel 2016.

Unpivot Static Tables in Excel 2016

Consider you have an Excel workbook that is dedicated for manual data entry to track the number hours you expend energies on a single relevant project.

Unpivot Static Tables in Excel 2016

Analyzing this data can be a daunting task. You wish, if you could just create charts on this data. Fortunately, through the new Get & Transform section in the Data tab of Excel 2016, you could complete the task. To do so,

Simply select any cell inside an existing table or range and in the Get & Transform section, click From Table.

chart 3

You will see a preview of your data inside the Query Editor window. Under this window, you can start transforming your data. Each change you make is recorded as a transformation step that is saved with your workbook. All the steps are kept as a sequence and can be performed every time time you refresh your data.

In the Query Editor, you will usually need the help of the Unpivot transformation to change your table into a format that can be used by PivotTable.

As you can notice in the example below, I can select the first column that includes project names and click Unpivot Other Columns to transform my data from columns of Project Name / 2010 / 2011 / 2012… to the desired column structure of Project / Year / Duration.

Unpivot Static Tables in Excel 2016

And here’s what you will find as the results in the Query Editor:

query editor

I can now rename the columns to Project, Year and Duration inside the Query Editor and then load the data into a PivotTable or PivotChart.

Source: Office Blogs.

Posted by on , in Category Office with Tags
The author Hemant Saxena is a post-graduate in bio-technology and has an immense interest in following Windows, Office and other technology developments. Quiet by nature, he is an avid Lacrosse player. Creating a System Restore Point first before installing a new software, and being careful about any third-party offers while installing freeware is recommended.