Converting data Wide to long with dates

joseulloa22

New Member
Joined
Dec 28, 2013
Messages
30
Hello,
I was trying to convert the following table

[TABLE="width: 293"]
<colgroup><col width="94" style="width: 71pt; mso-width-source: userset; mso-width-alt: 3437;"> <col width="85" style="width: 64pt; mso-width-source: userset; mso-width-alt: 3108;"> <col width="68" style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;" span="2"> <col width="75" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2742;"> <tbody>[TR]
[TD="width: 94, bgcolor: transparent"]ITEM_NAME[/TD]
[TD="width: 85, bgcolor: transparent, align: right"] 7/30/2018
[/TD]
[TD="width: 68, bgcolor: transparent, align: right"]8/27/2018[/TD]
[TD="width: 68, bgcolor: transparent, align: right"]10/1/2018[/TD]
[TD="width: 75, bgcolor: transparent, align: right"]10/29/2018
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]1690ZZ[/TD]
[TD="bgcolor: transparent, align: right"]130[/TD]
[TD="bgcolor: transparent, align: right"]162[/TD]
[TD="bgcolor: transparent, align: right"]162[/TD]
[TD="bgcolor: transparent, align: right"]162[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]1692ZK[/TD]
[TD="bgcolor: transparent, align: right"]72[/TD]
[TD="bgcolor: transparent, align: right"]70[/TD]
[TD="bgcolor: transparent, align: right"]171[/TD]
[TD="bgcolor: transparent, align: right"]70[/TD]
[/TR]
</tbody>[/TABLE]
........ ..... ..... ....... .....



into

[TABLE="width: 186"]
<colgroup><col width="94" style="width: 71pt; mso-width-source: userset; mso-width-alt: 3437;"> <col width="85" style="width: 64pt; mso-width-source: userset; mso-width-alt: 3108;"> <col width="68" style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;"> <tbody>[TR]
[TD="width: 94, bgcolor: transparent"]1690ZZ[/TD]
[TD="width: 85, bgcolor: transparent, align: right"]7/30/2018[/TD]
[TD="width: 68, bgcolor: transparent, align: right"]130[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]1690ZZ[/TD]
[TD="bgcolor: transparent, align: right"]8/27/2018[/TD]
[TD="bgcolor: transparent, align: right"]162[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]1690ZZ[/TD]
[TD="bgcolor: transparent, align: right"]10/1/2018[/TD]
[TD="bgcolor: transparent, align: right"]162[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]1690ZZ[/TD]
[TD="bgcolor: transparent, align: right"]10/29/2018[/TD]
[TD="bgcolor: transparent, align: right"]162[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]1692ZK[/TD]
[TD="bgcolor: transparent, align: right"]7/30/2018[/TD]
[TD="bgcolor: transparent, align: right"]72[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]1692ZK[/TD]
[TD="bgcolor: transparent, align: right"]8/27/2018[/TD]
[TD="bgcolor: transparent, align: right"]70[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]1692ZK[/TD]
[TD="bgcolor: transparent, align: right"]10/1/2018[/TD]
[TD="bgcolor: transparent, align: right"]171[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]1692ZK[/TD]
[TD="bgcolor: transparent, align: right"]10/29/2018[/TD]
[TD="bgcolor: transparent, align: right"]70[/TD]
[/TR]
</tbody>[/TABLE]

This is an example but my table has more data. Your wisdom is greatly appreciated
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,225,761
Messages
6,186,890
Members
453,383
Latest member
SSXP

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