I have the following sheet where columns H-M should be moved from columns to new rows to be able to use the data effectively in pivot tables.
Excel 2010
I want to create something like this:
Excel 2010
I am sure this has been explained before but I cannot find anything suitable by searching.
I have data for several years and an option for removing zero value rows (in column "Stems") would help reduce the size of the sheet.
Is there a simple way to make the transformation or does VBA have to be used?
Any help in getting started is most welcome (I am stuck).
PS. I would probably be better off working in Access but I am not very familiar with it nor are the clerks inputting the data.
Excel Workbook | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
1 | Date | Variety | GH | Ghsub | Farm | Stems | LQ | 35cm | 40cm | 50cm | 60cm | 70cm | 80cm | ||
2 | 01/08/2011 | SAMBA PA TI | 3 | Lower | 80 | 3900 | 10 | 70 | |||||||
3 | 01/08/2011 | UPPER GREEN | 0 | Lower | 30 | 1500 | 30 | ||||||||
4 | 01/08/2011 | HIGH AND EXOTIC | 16 | Lower | 0 | 0 | |||||||||
5 | 01/08/2011 | MARIE CLAIRE | 31 | Lower | 50 | 3000 | 50 | ||||||||
6 | 01/08/2011 | MARIE CLAIRE | 32 | Lower | 140 | 6450 | 30 | 30 | 60 | 20 | |||||
7 | 01/08/2011 | MARIE CLAIRE | 33 | Lower | 240 | 11200 | 150 | 40 | 30 | 20 | |||||
8 | 01/08/2011 | GOOD TIMES | 3 | Lower | 0 | 0 | |||||||||
9 | 01/08/2011 | BURGUNDY | 3 | Lower | 0 | 0 | |||||||||
10 | 01/08/2011 | BURGUNDY | 16 | Lower | 170 | 10500 | 10 | 130 | 20 | 10 | |||||
11 | 01/08/2011 | SATISFACTION | 16 | Lower | 20 | 1100 | 10 | 10 | |||||||
Gradeout |
I want to create something like this:
Excel Workbook | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Date | Variety | GH | Ghsub | Farm | Stems | LQ | Length | ||
2 | 01/08/2011 | SAMBA PA TI | 3 | Lower | 0 | 35 | ||||
3 | 01/08/2011 | SAMBA PA TI | 3 | Lower | 10 | 400 | 40 | |||
4 | 01/08/2011 | SAMBA PA TI | 3 | Lower | 70 | 3500 | 50 | |||
5 | 01/08/2011 | SAMBA PA TI | 3 | Lower | 0 | 60 | ||||
6 | 01/08/2011 | SAMBA PA TI | 3 | Lower | 0 | 70 | ||||
7 | 01/08/2011 | SAMBA PA TI | 3 | Lower | 0 | 80 | ||||
8 | 01/08/2011 | UPPER GREEN | 0 | Lower | 0 | 35 | ||||
9 | 01/08/2011 | UPPER GREEN | 0 | Lower | 0 | 40 | ||||
10 | 01/08/2011 | UPPER GREEN | 0 | Lower | 30 | 1500 | 50 | |||
11 | 01/08/2011 | UPPER GREEN | 0 | Lower | 0 | 60 | ||||
12 | 01/08/2011 | UPPER GREEN | 0 | Lower | 0 | 70 | ||||
13 | 01/08/2011 | UPPER GREEN | 0 | Lower | 0 | 80 | ||||
14 | 01/08/2011 | HIGH AND EXOTIC | 16 | Lower | 0 | 35 | ||||
15 | 01/08/2011 | HIGH AND EXOTIC | 16 | Lower | 0 | 40 | ||||
16 | 01/08/2011 | HIGH AND EXOTIC | 16 | Lower | 0 | 50 | ||||
17 | 01/08/2011 | HIGH AND EXOTIC | 16 | Lower | 0 | 60 | ||||
18 | 01/08/2011 | HIGH AND EXOTIC | 16 | Lower | 0 | 70 | ||||
19 | 01/08/2011 | HIGH AND EXOTIC | 16 | Lower | 0 | 80 | ||||
20 | 01/08/2011 | MARIE CLAIRE | 31 | Lower | 0 | 35 | ||||
21 | 01/08/2011 | MARIE CLAIRE | 31 | Lower | 0 | 40 | ||||
22 | 01/08/2011 | MARIE CLAIRE | 31 | Lower | 0 | 50 | ||||
23 | 01/08/2011 | MARIE CLAIRE | 31 | Lower | 50 | 3000 | 60 | |||
24 | 01/08/2011 | MARIE CLAIRE | 31 | Lower | 0 | 70 | ||||
25 | 01/08/2011 | MARIE CLAIRE | 31 | Lower | 0 | 80 | ||||
Gradeout New |
I am sure this has been explained before but I cannot find anything suitable by searching.
I have data for several years and an option for removing zero value rows (in column "Stems") would help reduce the size of the sheet.
Is there a simple way to make the transformation or does VBA have to be used?
Any help in getting started is most welcome (I am stuck).
PS. I would probably be better off working in Access but I am not very familiar with it nor are the clerks inputting the data.