mysterycas.blogg.se

Convert multiple columns to rows in excel
Convert multiple columns to rows in excel




By default, the pivoted column headers will be in a column called Attribute and the data in the table will be in a column called Values. The columns will converted into their own unique rows in the data inside the Power Query window. Click the Unpivot columns… menu item near the bottom. Right-click one of the column headings you’ve selected to pull up an options menu. You can either hold CTRL while clicking them individually or click the left-most column, hold SHIFT and click the right-most column. Power Query will automatically turn your pivoted data into an Excel data table and launch a Query Editor window.

convert multiple columns to rows in excel

Make sure you’ve selected the row with the column titles in your data and that the My table has headers option is checked. Select the Power Query tab on the ribbon toolbar and choose the From Table button under the Excel Data section.Ī dialog box will pop up asking you to confirm the range where your pivoted data exists. Select the cells that hold your pivoted data.

convert multiple columns to rows in excel

If you can’t see it, you may need to restart your computer or re-install Power Query because Excel cannot see the plug-in. Make sure you can see the Power Query tab on the ribbon toolbar.

  • 5Review the Results of Unpivoting the Data.





  • Convert multiple columns to rows in excel