How to transpose multiple rows into single columns

Themba

New Member
Joined
Feb 6, 2014
Messages
1
My data is set out as below.
I have a column for date(A), energy type(B) and 48(B-AX) columns for time (00:00-23:30) with 30 min intervals.

Untitled.jpg

The data is set out so that the date is the same for 3 rows(A2-A4), energy type is unique for B2-B4 (W, var, VA) and the range (C2-AX5) contains values specific to the time.
I would like to convert the data so that
There are four columns date & time column, and three columns for (W , var , VA). How do I loop through the data so that at each change in date the relevant range containing w, var, VA is transposed into the three columns ? (as in below)

final.jpg




Thanks in advance.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,216,604
Messages
6,131,697
Members
449,666
Latest member
Tommy2Tables365

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