Can you nest pivot tables?
I have a spreadsheet in the following foumat:
ID SAMPLE r1 r2 r3 r4
1 434 6 7 7 6
1 837 5 5 6 6
2 434 7 6 4 4
2 837 7 7 8 8
3 434 7 8 8 8
3 837 9 9 9 8
4 434 7 6 8 7
4 837 8 8 7 6
and would like to transform it to look like:
ID 434 837
r1
1 6 5
2 7 7
3 7 9
4 7 8
r2
1 7 5
2 6 7
3 8 9
4 6 8
r3
1 7 6
2 4 8
3 8 9
4 8 7
r4
1 6 6
2 4 8
3 8 8
4 7 6
Can I accomplish this using pivot tables?
I have a spreadsheet in the following foumat:
ID SAMPLE r1 r2 r3 r4
1 434 6 7 7 6
1 837 5 5 6 6
2 434 7 6 4 4
2 837 7 7 8 8
3 434 7 8 8 8
3 837 9 9 9 8
4 434 7 6 8 7
4 837 8 8 7 6
and would like to transform it to look like:
ID 434 837
r1
1 6 5
2 7 7
3 7 9
4 7 8
r2
1 7 5
2 6 7
3 8 9
4 6 8
r3
1 7 6
2 4 8
3 8 9
4 8 7
r4
1 6 6
2 4 8
3 8 8
4 7 6
Can I accomplish this using pivot tables?