Excel Power Query: Transpose Rows to Columns (Step-by-Step)

Here is a step-by-step guide on how to transpose rows to columns using the Power Query in Excel.


Step 1 – Inserting Data into Power Query

Suppose we have the following data table which we want to transpose using the Power Query tool.

First, we’ll insert the data to transpose into the Power Query Editor.

  • Go to Data From Table/Range.

Inserting Data into Power Query to Transpose Rows to Columns in Excel

The Create Table dialog box will open.

  • Insert the table range and click OK.

The Power Query Editor will automatically pull the data table into it, like in this image:

Inserting Data into Power Query to Transpose Rows to Columns in Excel

Read More: How to Transpose Rows to Columns Using Excel VBA 


Step 2 – Applying the Transpose Command

We’re ready to apply the Transpose command.

  • Go to Transform Transpose.

Applying Transpose Command to Transpose Rows to Columns Using Power QueryAfter hitting the Transpose command, the rows will be instantly transformed into columns like in the image below:

Transpose Rows to Columns in Excel Using Power Query


Step 3 – Closing & Loading

To conclude, we’ll close the Power Query Editor and place the transformed data in the spreadsheet.

  • Go to the Home tab.
  • Click on the Close & Load drop-down.
  • Click on Close & Load.

Close & Load to Transpose Rows to Columns in ExcelThe Power Query Editor will close.

The transformed data will appear in a new worksheet like this:


Download Practice Workbook


Related Articles

Get FREE Advanced Excel Exercises with Solutions!
Mrinmoy Roy
Mrinmoy Roy

Mrinmoy Roy, a dedicated professional with a BSc in Electronics and Communication Engineering from Khulna University of Engineering & Technology, Bangladesh, brings over two years of expertise to the ExcelDemy project. As a prolific contributor, he has authored around 180 articles, showcasing his deep knowledge and passion for Microsoft Excel, Data Analysis, and VBA. His unwavering commitment to continuous learning, combined with versatile skills, renders him well-suited for roles in data management and spreadsheet solutions. He has interest... Read Full Bio

1 Comment
  1. Extremely helpful! Thank you!

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo