Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2010, 03:57 PM
ninfanger ninfanger is offline Using subtotals in Pivot table formulas Windows XP Using subtotals in Pivot table formulas Office 2007
Novice
Using subtotals in Pivot table formulas
 
Join Date: Oct 2010
Posts: 2
ninfanger is on a distinguished road
Default Using subtotals in Pivot table formulas

The set up:


Our legacy database provides 30 different report types that our
clients can run from our website.
I have a spreadsheet listing every report run by customers over the
past 2 years; including unique ID#, Client name, report name, User
name, Year, Date, Time, etc.


The Pivot Table:
My pivot table is set up as follows:
- ClientName, ReportName, and Username as Row labels
- Year as Column Label
- Count of ClientName as value
- Count of ID# shown as "% of column" as another value
The pivot lists ClientName in column A, ReportName in column B,
Username in C and the count of ClientName for each report type in
Column D. With Subtotals for each ClientName.
The 2nd value described above is in column E (based on Count of ID#
and shown as % of column). This gives me the % of the grand total for
each line item.
Finally my question:
Without moving the ClientName from Row Labels to Column Labels, how
can I get a % of the Subtotal for each ReportName? I have tried
unsuccessfully to create a calculated field and my gut tells me the
answer is there. I just haven't found a workable formula.
Suggestions?
Reply With Quote
  #2  
Old 10-22-2010, 01:12 PM
Kimberly Kimberly is offline Using subtotals in Pivot table formulas Windows 7 Using subtotals in Pivot table formulas Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Posts: 517
Kimberly is on a distinguished road
Default

Quote:
can I get a % of the Subtotal for each ReportName?
Sorry, I am lost. You want a percent of what for each ReportName?
Reply With Quote
  #3  
Old 10-22-2010, 02:31 PM
ninfanger ninfanger is offline Using subtotals in Pivot table formulas Windows XP Using subtotals in Pivot table formulas Office 2007
Novice
Using subtotals in Pivot table formulas
 
Join Date: Oct 2010
Posts: 2
ninfanger is on a distinguished road
Default re: Using Subtotals in Pivot Table formulas

A picture is worth????

The attached spreadsheet [reports run 4.xlsx] shows the pivot results for 3 of many clients. It shows; (A) Client Name, (B) which reports that client ran, (C) how many of each report were run, and (D) the % of the entire report. (Client #2 then ran 2.69% of all reports included in the pivot.)

I manually created Column E to show what % each report type is of the related Client's total reports. (ie: 37% of Client #1's reports are Report C.) I want the Pivot table to generate Column E.

I think the answer is a Calculated Field that counts the instances of each report type for a client and devides that by the total count of reports for that client.

Hopefully that is less obfuscated.
And truly thank you for any help you can offer.
Attached Files
File Type: xls reports run 4.xls (21.0 KB, 13 views)

Last edited by ninfanger; 10-22-2010 at 02:46 PM. Reason: Pasting the table displayed as code not graphic. The Illustration is now a simple spreadsheet.
Reply With Quote
  #4  
Old 10-23-2010, 12:29 AM
Kimberly Kimberly is offline Using subtotals in Pivot table formulas Windows 7 Using subtotals in Pivot table formulas Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Posts: 517
Kimberly is on a distinguished road
Default

Leave Job name as a row field, but also add Job Name as a data field ('Count of Job Name', actually)
Set it to display as % of Parent Total, with the base of Client Code.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using subtotals in Pivot table formulas Adding a Total row to pivot Table hannu Excel 1 09-18-2010 01:15 AM
Pivot Table Refresh tpcervelo Excel 0 09-14-2010 06:54 AM
pivot table source data hannu Excel 0 07-03-2010 04:54 AM
Using subtotals in Pivot table formulas Pivot table problem swindon Excel 5 05-25-2010 02:05 PM
Table formulas markg2 Word Tables 0 01-15-2010 06:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft