My first pivot table

petereddy

New Member
Joined
Feb 6, 2014
Messages
43
Hi,

I've never created a pivot table before, so I'm not sure whether this is the route to go. Please let me know if I'm barking up the wrong tree.

Suppose I have 149 members in a marble club. You're given the details of each member at the bottom (it's long, so I figured I'd put it at the bottom).

How would you propose building the following distribution chart?

MalesFemales
Age
NumberAverage number of marblesNumberAverage number of marbles
Under 10
55276605
10-1474135319
15-1946776470
20-24964710422
25-29
54464412
30-34
75356352
35-3984936429
40-44631710419
45-4966495705
50-5466933400
55-5955202439
60 and over96099697
Total
776526725669

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>

I think the distribution table is pretty straight forward, but, to be perfectly clear, the averages are for the specific sex and specific age range. Is this a pivot table task? Or does this task just require brute force and perhaps some clever Excel formulas? To create the distribution above, I used the countifs and sumifs functions, which sped it up, but I imagine pivot tables should be able to do this.

Hopefully this is obvious, but I have no interest in marbles. I need to do a distribution of salaries, ages and group divisions for a client report, but I figured the above example is sufficiently analogous for me adapt it to the table I'm putting in the report.

Anyway, the data set's below. Have at it.

Thanks for considering this.

Peter

Member IDAgeSexMarbles
AA61M824
AB41F239
AC63M76
AD21M831
AE34F213
AF47F837
AG21F3
AH31F151
AI35F170
AJ36F332
AK19M825
AL26F76
AM44F789
AN6M274
AO33M859
AP40F455
AQ49F588
AR29M921
AS20M474
AT16M329
AU37M204
AV55M285
AW36M852
AX17F871
AY30F1
AZ55M394
BA6M636
BB11F766
BC29M177
BD15M693
BE13M373
BF17F366
BG5M613
BH60M848
BI17F375
BJ46M917
BK55F866
BL12M849
BM36M191
BN14M948
BO26F707
BP47F282
BQ20F204
BR54M754
BS9F939
BT20M576
BU62F301
BV36M977
BW36M323
BX36F744
BY37F340
BZ37F196
CA34F786
CB55M837
CC53F138
CD24F408
CE44M161
CF48F833
CG43F637
CH62F859
CI25F1
CJ63F949
CK46M876
CL23M477
CM19F770
CN63M513
CO30M268
CP7F613
CQ17M859
CR65M909
CS19F171
CT52F606
CU42M87
CV55M140
CW21F97
CX60M371
CY64F911
CZ40M228
DA13F229
DB31M14
DC44F564
DD22M444
DE21M661
DF51M804
DG26M422
DH49M880
DI38M340
DJ22M853
DK50M514
DL62F588
DM14F293
DN34M127
DO20F364
DP44M217
DQ40F133
DR23F720
DS13M104
DT30F709
DU36M977
DV43F972
DW15F265
DX53M909
DY52F457
DZ44M273
EA8F160
EB12M18
EC47F986
ED33M918
EE30F251
EF55M944
EG61M272
EH48M778
EI6M458
EJ10M511
EK38M77
EL6M655
EM65F795
EN32M604
EO22F260
EP29M146
EQ12F5
ER40F219
ES55F12
ET24M688
EU10F302
EV64F857
EW44F51
EX49M54
EY24F989
EZ64M994
FA5F741
FB5F220
FC7F954
FD54M520
FE62F104
FF24M818
FG60F908
FH23F658
FI21F519
FJ46M391
FK29M565
FL64M671
FM52M656
FN41M937
FO41F127
FP26F864
FQ10M88
FR30M958
FS38F789

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,215,338
Messages
6,124,356
Members
449,155
Latest member
ravioli44

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