Solved

% of in pivot table of excel 2010

Posted on 2014-11-05
2
168 Views
Last Modified: 2014-11-05
I am using excel 2010 and want to do "% of" in a pivot table. Let me explain you what I have and what I need

Below is example of user vacation plan based on department

Employee ID |  Department | Total Users in Department | Vacation Type
1                     | Finance          |    5                                           | Thanks Giving
1                     | Finance          |    5                                           | Xmas
1                     | Finance          |    5                                           | New Year
3                     | Finance          |   5                                            | Xmas
3                     | Finance          |   5                                            | New Year
4                     | Operations    |   10                                         | Thanks Giving
4                     | Operations    |   10                                         | Xmas
5                     | Operations    |   10                                         | Thanks Giving
7                     | Operations    |   10                                         | New Year


I need a Pivot that will give me below output

Vacation Type (by Dept)  | Users on Vacation  | % users on vacation (compared to dept strength - column C)
-Finance                              |   2                              | 40%
Thanks Giving                   |   1                              |  20%
Xmas                                  |   2                              | 40%
New Year                           |   2                              | 40%
-Operations                        |  3                              |  30%
Thanks Giving                   |  2                              |  20%
Xmas                                  |  1                              |  10%
New Year                           |  1                              |  10%
0
Comment
Question by:Gillz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40424297
You can't do this as a PivotTable. It's the Operations total that shows that what you want is "Discount Count", which is not part of Excel (it's part of SQL Server, not Excel).

You can do it outside of it, using FREQUENCY and other formulas.

The attached is the closest I can come up with.
PercentageOfPivotTable141105.xlsx
0
 

Author Comment

by:Gillz
ID: 40424921
Thanks a lot Phillip. That worked for me...
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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 how to use longer labels with horizontal bar charts instead of the vertical column chart.

739 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