vba to pivot data

JannetteChristie

Board Regular
Joined
Dec 14, 2015
Messages
130
Office Version
  1. 365
I have the following data on a spreadsheet:

Excel 2012
ABCDEFGHIJKLMNO
1Line TypeQte Line No.ProductTechnical InfoAdditional Items
2Booster Set1VR3-0510-LHMDUTYPOINT3FS5-WRAS1COMM11FRB502
3Standard2DE0
4Standard3qp-35PRESSURISATION0
5Standard4ec50CONDITIONER2DPS-WMB-EC502DPS-FMB-EC501
6Standard5cx65cSEP0
7Standard6in15-50-p-h2HIU0
8Special7DPS-SP1DPS-NOTE1
Save & Print prepare

Excel 2012




#DAE7F5 ;color: #161120">Save & Print prepare



How do I easily turn it into the following layout in another column on my sheet:
Excel 2012
Excel 2012
TU
VR3-0510-LHM
FS5-WRAS
COMM1
FRB50
DE
QP-35
EC50
DPS-WMB-EC50
DPS-FMB-EC50
IN15-50-P-H2
DPS-SP
DPS-NOTE

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]2[/TD]

[TD="align: right"][/TD]

[TD="align: center"]3[/TD]

[TD="align: right"]1[/TD]

[TD="align: center"]4[/TD]

[TD="align: right"]1[/TD]

[TD="align: center"]5[/TD]

[TD="align: right"]2[/TD]

[TD="align: center"]6[/TD]

[TD="align: right"][/TD]

[TD="align: center"]7[/TD]

[TD="align: right"][/TD]

[TD="align: center"]8[/TD]

[TD="align: right"][/TD]

[TD="align: center"]9[/TD]

[TD="align: right"]2[/TD]

[TD="align: center"]10[/TD]

[TD="align: right"]1[/TD]

[TD="align: center"]11[/TD]

[TD="align: right"][/TD]

[TD="align: center"]12[/TD]

[TD="align: right"][/TD]

[TD="align: center"]13[/TD]

[TD="align: right"]1[/TD]

</tbody>
Save & Print prepare






#DAE7F5 ;color: #161120">Save & Print prepare
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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