Transpose uneven number of values from rows to columns following the same headers

umbrella26

New Member
Joined
Apr 22, 2022
Messages
2
Office Version
  1. 365
Hi,

I'm pretty new to VBA and trying to figure out how to transpose 2000 rows of uneven batches of data.

Here's an example: Column A & B need to become Columns D-H

1650643997297.png


I would really appreciate some help!
Thank you.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
The output, all the items of a specific group are arranged in a same line, right?
house = house 1, house 2, ..., house 5
...
Is it real data?
If not, we need list of groups and their children (items) of REAL data
 
Upvote 0
Hi, thank you for responding!

Concerning your first question - yes, that is correct!

Your second question - no the data is not real.
The image I have attached is the closest I can get to sharing real data.

I have colour coded the columns across according to the URL that belongs underneath it.

Do you have any advice/help?

1650894974070.png
 
Upvote 0
If not, we need list of groups and their children (items) of REAL data
Please be careful about asking for "Real data", as many times, that could get people in trouble over privacy concerns and legalities.
We have gotten numerous requests from frantic people over the years because they posted real data, and their employers were threatening to fire them if they do not remove it!

As a board, we STRONGLY encourage the use of "dummy data" that closely resembles "real data".
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,274
Members
452,628
Latest member
dd2

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