Transpose every 2 columns into new row, moving to new row after last column

prshntmv

New Member
Joined
Jul 18, 2019
Messages
2
Hi there,
I have a sheet in the following format
DateKey1Attr1Key2Attr2Key3Attr3Key4Attr4
1 Jan 2019123343325154
2 Jan 2019223223254223
3 Jan 2019425154443234
4 Jan 2019323423232423
5 Jan 2019127124114244

<tbody>
</tbody>

which I want to convert into the below format.

DateKeyAttr
1 Jan 2019123
1 Jan 2019343
1 Jan 2019225
1 Jan 2019154
2 Jan 2019223
2 Jan 2019223
2 Jan 2019254
2 Jan 2019223

<tbody>
</tbody>
And so on. This is essentially transposing every 2 columns (starting from Key1) into rows, until the last set of columns and then starting again with second row of Key1 column and so on.

Can any one please help?

Cheers
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
With PowerQuery (Get&Transform) try UnPivot Selected Columns for Keys then the same for Attr
 
Upvote 0
I don't know, maybe someone else will give you formula(s) solution

Have a nice day
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,692
Members
448,979
Latest member
DET4492

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