Display fields side by side in columns - pivot table

wikurbia

New Member
Joined
May 24, 2008
Messages
6
I am collecting data from project managers to report to ourfunding body about people employed. They require it in this format<o:p></o:p>

Ref<o:p></o:p>

Gender<o:p></o:p>

Age<o:p></o:p>
<o:p></o:p>
Male<o:p></o:p>
Female<o:p></o:p>
Prefer not to say<o:p></o:p>
16-24<o:p></o:p>
25-29<o:p></o:p>
30-34<o:p></o:p>
35-39<o:p></o:p>
40-44<o:p></o:p>
45-49<o:p></o:p>
50-54<o:p></o:p>
55-59<o:p></o:p>
60-64<o:p></o:p>
65+<o:p></o:p>
Prefer not to say<o:p></o:p>
1234<o:p></o:p>

2<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>

1<o:p></o:p>

1<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
1527<o:p></o:p>
<o:p></o:p>

3.5<o:p></o:p>
<o:p></o:p>
<o:p></o:p>

0.5<o:p></o:p>
<o:p></o:p>

3<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p></o:p>

<tbody>
</tbody>
I resisted collecting it in that format as it would then be difficult to analyse. So I set up a spreadsheet as follows, with dropdown (data validation) lists for the categories<o:p></o:p>
Co. Ref<o:p></o:p>
Gender<o:p></o:p>
Age<o:p></o:p>
FTE<o:p></o:p>
1234<o:p></o:p>
Male<o:p></o:p>
25-29<o:p></o:p>
1<o:p></o:p>
1234<o:p></o:p>
Male<o:p></o:p>
30-34<o:p></o:p>
1<o:p></o:p>
1527<o:p></o:p>
Female<o:p></o:p>
35-39<o:p></o:p>
3<o:p></o:p>
1527<o:p></o:p>
Female<o:p></o:p>
25-29<o:p></o:p>
0.5<o:p></o:p>

<tbody>
</tbody>
When you analyse that in a pivot table by adding the Gender and Age fields to the columns you get<o:p></o:p>
<o:p></o:p>

Female<o:p></o:p>

Male<o:p></o:p>
Ref<o:p></o:p>
25-29<o:p></o:p>
35-39<o:p></o:p>
25-29<o:p></o:p>
30-34<o:p></o:p>

1234<o:p></o:p>
<o:p></o:p>
<o:p></o:p>

1<o:p></o:p>

1<o:p></o:p>

1527<o:p></o:p>

0.5<o:p></o:p>

3<o:p></o:p>
<o:p></o:p>
<o:p></o:p>

<tbody>
</tbody>
I was expecting to have to create 2 separate pivottables then combine the data, but wonder is there an easy way to get the two fields to display separately within one pivot table so that I have all the Gender categories then all the Age categories the same as the reporting format? It seems such a simple thing, but so far I haven't found a way. We are currently on 2010, but will move to 2016 next year if that makes a difference.
 
Last edited:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
To get male and female at the top you have put the "Gender" column in the columns are of the pivot table. Drag it to the rows area.

You may also wnat to try the calssic layout.

Click into the pivot table
Go to Analyze> pivtatable options> and on the display tab select classic pivottable layout.
 
Upvote 0

Forum statistics

Threads
1,221,813
Messages
6,162,126
Members
451,743
Latest member
matt3388

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top