Solved

Separating out categories in an Excel Pivot table

Posted on 2016-08-17
7
46 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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
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 31

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

My experience with Windows 10 over a one year period and suggestions for smooth operation
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now