+ Reply to Thread
Results 1 to 3 of 3

Calculation within Pivot Table - Need Percentage

  1. #1
    Registered User
    Join Date
    03-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    4

    Calculation within Pivot Table - Need Percentage

    Hello! Thanks for taking time to look. I am new to pivot tables, and need this one for work.

    My compliance spreadsheet has 3 columns. A: Name, B: Date (month) and C: Y or N.

    I added column D and used a formula to convert Y/N to 0/1. Then I summed the total in compliance (Y = 1 and N=0) in the pivot table.

    I made a "Total Expected" column based on the spreadsheet data in column A ('name').

    This works well to show raw numbers, but my employer wants to see % of compliance (Compliant / Total Expected). So, how can I take the sum and divide it by the count?

    Thank you for any help!

    JMB
    Attached Images Attached Images

  2. #2
    Forum Contributor IonutC's Avatar
    Join Date
    01-28-2016
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2019
    Posts
    486

    Re: Calculation within Pivot Table - Need Percentage

    I think is easy to copy all the values from the pivot into a new sheet ( as values) and then put a formula like B/C or C/B etc and drag and drop to the last cell. hope it helps
    Please consider:
    Be polite. Thank those who have helped you.
    Click the star icon in the lower left part of the contributor's post and add Reputation. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .
    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Posting code between tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

  3. #3
    Registered User
    Join Date
    03-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Calculation within Pivot Table - Need Percentage

    Yep, that works! Thank you IonutC!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Percentage of Total calculation in Pivot Table
    By godonnell06 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-06-2016, 02:39 PM
  2. [SOLVED] Subtotal Percentage Calculation on a Row in a Pivot Table
    By AustinLe in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 06-23-2015, 02:03 PM
  3. Excel 2007 : Pivot Table Percentage Calculation
    By mustangman11 in forum Excel Charting & Pivots
    Replies: 14
    Last Post: 01-14-2013, 08:34 AM
  4. Calculated pivot table field using pivot table data in calculation
    By BrittleStar in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-10-2012, 05:35 PM
  5. Percentage in a Pivot table
    By jomili in forum Excel General
    Replies: 3
    Last Post: 06-21-2010, 03:31 PM
  6. pivot table percentage calculation
    By lilyximsu in forum Excel General
    Replies: 0
    Last Post: 03-16-2010, 01:53 PM
  7. Pivot table percentage calculation
    By Mr. Questions in forum Excel General
    Replies: 2
    Last Post: 09-19-2008, 09:33 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1