Unpivoting Multiple Fields in PowerQuery

DeanToronto

New Member
Joined
Jul 2, 2014
Messages
1
I have just started playing around with PowerQuery and find the features awesome. Doing a normal unpivot has been soooo simplified, but I have been stumped on how to do this particular task. I have tied search this forum and Google, but I have trouble coming up with coherent search criteria to explain what I am trying to do.

I have data that looks something like this (although there are more like 90 columns and 600 rows):

EmplNumNameType1HrsType1RateType1AmtType2HrsType2RateType2Amt
1John Smith40.010.00400.005.015.0075.00
2Jane Doe35.012.00420.000.018.000.00

<tbody>
</tbody>

I would like to end up with normalized data that looks more like this:

EmplNumNameTypeHrsRateAmt
1John SmithType140.010.00400.00
1John SmithType25.015.0075.00
2Jane DoeType135.012.00420.00
2Jane DoeType20.018.000.00

<tbody>
</tbody>

Is this possible?

Any suggestions would be very much appreciated!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,215,650
Messages
6,126,016
Members
449,280
Latest member
Miahr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top