Solved

Separating out categories in an Excel Pivot table

Posted on 2016-08-17
7
51 Views
Last Modified: 2016-08-22
I think what I want to do should be simple, but I can't quite figure it out.
I have a table of records with different values.  eg.....
Gender   Age    Ethnicity
Male        60      British
Male        60      American
Female    40      British
...... etc

All I want is the count of each category in the table
Male   n
Female nnn
60   nn
40 nn
American nn
British nn
etc...

It's easy to use a Pivot table to get these results separately, But when I include multiple categories in the Pivot table they are always nested, so I can't easily see the individual values.

Hope this is clear.  I am using Excel 2013 on Windows 7
0
Comment
Question by:rltomalin
  • 4
  • 2
7 Comments
 
LVL 7

Accepted Solution

by:
tomfarrar earned 500 total points
ID: 41759589
You could use the "countif" function.  See attached.
EE.xlsx
1
 

Author Comment

by:rltomalin
ID: 41760669
OK Tom - I will do that.  It gives nice flexibility, but I was just checking if I had missed an option on the Pivot Table wizard.
0
 
LVL 7

Expert Comment

by:tomfarrar
ID: 41760999
Hmmm.  Let me think on that.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 7

Expert Comment

by:tomfarrar
ID: 41761072
Only way I know would be to use the GetData function like shown in attached.
EE.xlsx
0
 
LVL 7

Expert Comment

by:tomfarrar
ID: 41764693
Thanks for the points!
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41765191
I know this is too late for points but I will comment anyway. Standard Default display for Pivots from 2010 onwards is nested categories, so they all go in one column.

Right click on the Pivot and Choose Pivot Options. On the Display tab choose the Option for Classic Display, this will split the categories into different columns/rows.

Thanks
Rob H
1
 

Author Comment

by:rltomalin
ID: 41765235
Rob
Thanks for this.  It does actually answer the original question!
However, based on feedback I have rethought the application and will now create the report using ICOUNT.
In the end I think this is a more elegant solution.
But it's good to know that the original format is available!!
Regards
Richard
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question