I have several Excel spreadsheets with data layout like this raw data:
company company1 company2 company3
currency $ Y E
1/1/2013 32.68 12 3
1/2/2013 12.5 13 4
1/3/2013 45 45 8
which basically are time series data grouped together. I need the final layout transformed into panel data, like this wanted panel data:
Since my observations are usually very large, it is not practical manually to reformat it.
Is there a macro code that can achieve such a goal?