transpose data query

heathball

Board Regular
Joined
Apr 6, 2017
Messages
112
Office Version
  1. 365
Platform
  1. Windows
i have been working on an efficient way to get this excel data to transpose in the way that appears underneath it, at the bottom of the post
the way i do involves several steps and its painfully slow, and the data set can be large, and as i need to do it 3 times a week, I'm hoping for a faster solution:confused:

Cells are all pasted values, no formulas. There may be values of up to 150 in the 'date rank' column.

I'm looking to transpose this data onto a separate sheet in the same work book.

I'm especially interested in a VB code that i can apply as a macro.

Thanks in advance if anybody can offer some assistance.



datenumbernamedate rank (most recent on top)
15/04/201834.4peter1
22/03/201834.6peter2
23/12/201738.1peter3
6/12/201736peter4
18/11/201736.9peter5
23/09/201740.9peter6
23/08/201740.3peter7
31/12/201633.8peter8
9/09/201852.5mary1
26/08/201849.8mary2
3/10/201852.5mary3
23/09/201850.2mary4
2/05/201842.7mary5
15/01/201641steve1
28/12/201541steve2
8/12/201527.1steve3
28/11/201537.3steve4
9/11/201538.5steve5
5/12/201729rod1
23/11/201730.9rod2
25/07/201730.2rod3
6/07/201741.7rod4
24/09/201631.5Ian1
3/09/201632.6Ian2
27/08/201637.2Ian3
11/06/201630.5Ian4
21/05/201642.3Ian5
25/04/201637.6Ian6
15/04/201642.4Ian7
24/10/201539.6Ian8
2/02/201845.6Julie1
24/01/201841.7Julie2
17/12/201740.2Julie3
24/11/201743.3Julie4
19/03/201748.3Julie5
3/03/201742.1Julie6
19/02/201746.9Julie7
29/01/201738.5Julie8
6/01/201746.2Julie9
18/12/201647Julie10
25/11/201645Julie11
13/11/201643.5Julie12
4/03/201642.9Julie13
21/02/201646.9Julie14
31/01/201643.6Julie15
20/12/201541.3Julie16

<tbody>
</tbody>


Desired result.....

name12345678910111213141516
peter34.434.638.13636.940.940.333.8
mary52.549.852.550.242.7
steve414127.137.338.5
rod2930.930.241.7
Ian31.532.637.230.542.337.642.439.6
Julie45.641.740.243.348.342.146.938.546.2474543.542.946.943.641.3

<tbody>
</tbody>
 
Last edited:
Ahh
I should have known better and checked for that:eek:
thanks again!
 
Upvote 0

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).
Sorry Fluff, i thought a sent a message but the internet might have died.

yes, that was it!

that problem is solved...i forgot to check for errors:eek:

I'm not sure if it is the cause of some instability with the way i use macros on a separate file. My macro file blocked twice since i started using the code.

If i cannot work it out, i might put the code as a new message and see if someone may know why it is it not working smoothly as a module in the macro file.

thanks again for your time.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,497
Members
448,967
Latest member
visheshkotha

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