Hello,
I have a spreadsheet as shown below that has different columns of data organized vertically.
Sheet1
Excel 2007
I am trying to get the data into the format so I can put it in an Access table to run reports with.
Any Help is GREATLY Appreciated!!!!
John
I have a spreadsheet as shown below that has different columns of data organized vertically.
Sheet1
Excel Workbook | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | YEAR_NUMBER | WEEK_NUMBER | LOCATION_ID | PRODUCTION_METHOD_NUMBER | METRIC_ID | ACTUAL_VALUE | ||
2 | 2011 | 21 | ALPHA | GB | Input 1 | 1.000 | ||
3 | 2011 | 21 | ALPHA | GB | Input 2 | 2.000 | ||
4 | 2011 | 21 | ALPHA | GB | Input 3 | 3.000 | ||
5 | 2011 | 21 | ALPHA | GB | Input 4 | 4.000 | ||
6 | 2011 | 21 | ALPHA | GB | Input 5 | 5.000 | ||
7 | 2011 | 21 | ALPHA | GB | Input 6 | 6.000 | ||
8 | 2011 | 21 | ALPHA | GB | Input 7 | 7.000 | ||
9 | 2011 | 21 | ALPHA | GB | Input 8 | 8.000 | ||
10 | 2011 | 21 | ALPHA | GB | Input 9 | 9.000 | ||
... |
Excel Workbook | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
1 | YEAR_NUMBER | WEEK_NUMBER | LOCATION_ID | PRODUCTION_METHOD_NUMBER | Input 1 | Input 2 | Input 3 | Input 4 | Input 5 | Input 6 | Input 7 | Input 8 | Input 9 | ||
2 | 2011 | 21 | ALPHA | GB | 1.000 | 2.000 | 3.000 | 4.000 | 5.000 | 6.000 | 7.000 | 8.000 | 9.000 | ||
Excel 2007[/B]
I am trying to find a macro that will transpose the above data into the format below. I can manually do it with the transpose function but I have about 20,000+ lines of data and it would take a long time to do.
Weekly raw transposed |
Excel 2007
I am trying to get the data into the format so I can put it in an Access table to run reports with.
Any Help is GREATLY Appreciated!!!!
John