Vba to transport rows to columns- Set of data

aravindhan_31

Well-known Member
Joined
Apr 11, 2006
Messages
672
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi,

coming back after a long time:) coz i need your help very badly.

I have 2 columns like below, I simply need to to transpose these data into columns in a new sheet


List 1 List 2
Apple Boomerang
Apple Offerings
Apple Industrial Equipment
Apple Chemicals & Natural Resources
Apple Consumer Goods & Services (CGS)
Apple Air Freight Logistics&Travel Srvs(AF&TS)
Apple Life Sciences (LS)
Apple Capital Markets
Apple Utilities
Orange Insurance
Orange Banking
Orange Media & Entertainment
Orange Electronics & High Tech
Mango Communications
Mango Data Science Practice
Mango Industry Value Team
Mango Global Capability
Mango Platform Sales
Mango Data Engineering Practice


eg Col 1 with header Apple, Col 2 with header Orange, Col 3 with header Mango
and in each of those headers I need values that are there in List 2. that is under Apple i need like below

Apple
Boomerang
Offering
Industrial Equipment
Chemicals & Natural Resources
Consumer Goods & Services (CGS)
Air Freight Logistics&Travel Srvs(AF&TS)
Life Sciences (LS)
Capital Markets
Utilities

like this i need to create columns for all values from List 1, and paste data as per List 2. If i do this in pivot i get in all in one below the other.

regards
Arvind
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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