Solved

% of in pivot table of excel 2010

Posted on 2014-11-05
2
158 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
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

747 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

10 Experts available now in Live!

Get 1:1 Help Now