Dear all,
Hope you can help me on this since I am using a visual basics code to transpose data and it takes ages. I have data in excel and the first column contains the date and the first row contains the stock codes and all the other cells have market values for each stock for a specific date. Is there any way to transpose it into three columns, first date, second column stock code and third column market value.
For example the input will be
Code
ID:AAL
ID:AAP
ID:ABC
ID:ABD
ID:ABN
ID:ACA
31/3/2004
145.86
53.85
100
123.43
214.42
235.45
30/4/2004
172.04
56.77
100
123.43
214.42
240.4
And I am looking for thefollowing out put,
31/3/2004
ID:AAL
145.86
31/3/2004
ID:AAP
53.85
31/3/2004
ID:ABC
100
31/3/2004
ID:ABD
123.43
31/3/2004
ID:ABN
214.42
31/3/2004
ID:ACA
235.45
30/4/2004
ID:AAL
172.04
30/4/2004
ID:AAP
56.77
30/4/2004
ID:ABC
100
30/4/2004
ID:ABD
123.43
30/4/2004
ID:ABN
214.42
30/4/2004
ID:ACA
240.4
Please keep in mind that I have thousands of stocks using daily data for 30 years.
Thanks for your help.
Best,
Cheema
... View more