Hi
I have a very large table that i'm trying to summarise via pivots. Generally it works very well, but i have run into an obstacle i'm battling to get around.
I have a question with 7 answers where candidates can select as many as apply.
If yes, why did you move?
Please choose all that apply:
I moved to be closer to my current job (or a job I had)
I moved to be closer to work opportunities i.e. a place where I might be able to find a job
My family or partner moved and I moved with them
I moved because I could afford better accommodation and/or to live in a nicer area
I moved because I/we could no longer afford the rent or the bank repayments on my/our previous place
I was evicted from my previous place
No answer
Each answer can be "Yes, No, or No Answer". The cells by default have a "N/A" answer in them, in case the candidates were directed around this question. If they got to this page of questions, then the default answer is NO. If they tick
a box, obviously it becomes a YES.
The columns I'm working with for this pivot table are as follows:
ID - Category - Q14.1 - Q14.2 - Q14.3 - Q14.4 - Q14.5 - Q14.6 - Q14.7 (where each of these Q columns correspond to one of the tick box options above).
Sample of data:
id | IQ3 | Q14[1] | Q14[2] | Q14[3] | Q14[4] | Q14[5] | Q14[6] | Q14[7] |
7 | Nothing | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
8 | Nothing | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
9 | Nothing | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
11 | Corporate | No | No | No | No | No | Yes | No |
12 | Corporate | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
13 | Nothing | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
15 | Corporate | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
16 | Nothing | No | No | No | No | No | No | No |
17 | Corporate | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
18 | Nothing | No | No | No | No | No | Yes | No |
19 | Corporate | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
20 | Corporate | No | Yes | No | No | No | No | No |
21 | Corporate | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
22 | Corporate | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
25 | Retail | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
26 | Retail | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
The Corporate, Retail and Nothing need to appear as column heads. The Q14.1 - Q14.7 need to appear as rows, preferably group by Yes and No.
Currently, the Rows are labelled Yes, No and N/A.
What I'd like to see is this:
If yes, why did you move? | Corporate | Nothing | Retail | Total |
Yes | ||||
I moved to be closer to my current job (or a job I had) | 19 | 15 | 24 | 58 |
I moved to be closer to work opportunities i.e. a place where I might be able to find a job | 6 | 3 | 4 | 13 |
My family or partner moved and I moved with them | 8 | 1 | 4 | 13 |
I moved because I could afford better accommodation and/or to live in a nicer area | 0 | 1 | 6 | 7 |
I moved because I/we could no longer afford the rent or the bank repayments on my/our previous place | 0 | 0 | 2 | 2 |
I was evicted from my previous place | 1 | 1 | 0 | 2 |
No answer | 0 | 0 | 0 | 0 |
34 | 21 | 40 | 95 | |
No | ||||
I moved to be closer to my current job (or a job I had) | 19 | 15 | 24 | 58 |
I moved to be closer to work opportunities i.e. a place where I might be able to find a job | 6 | 3 | 4 | 13 |
My family or partner moved and I moved with them | 8 | 1 | 4 | 13 |
I moved because I could afford better accommodation and/or to live in a nicer area | 0 | 1 | 6 | 7 |
I moved because I/we could no longer afford the rent or the bank repayments on my/our previous place | 0 | 0 | 2 | 2 |
I was evicted from my previous place | 1 | 1 | 0 | 2 |
No answer | 0 | 0 | 0 | 0 |
34 | 21 | 40 | 95 |
Any ideas?