+ Reply to Thread
Results 1 to 8 of 8

How to get averages of calculated fields of pivot tables

  1. #1
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    605

    Post How to get averages of calculated fields of pivot tables

    Dear Experts,

    I have attached here a work sheet that contains a pivot table with calculated fields starting from row 95. I have here two problems;

    01. I cannot get the average values of the calculated fields(I have already removed the original total rows, because they are showing wrong averages)
    02. I cannot add more calculated fields after column M

    Kindly help solve these issues.

    Thanks in advance
    Regards
    Anuruddha
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: How to get averages of calculated fields of pivot tables

    What is it you wish to show the average of?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    605

    Re: How to get averages of calculated fields of pivot tables

    Hi..
    I need the average of all the columns (calculated fields) below the pivot table. Preferably, with the "unit wise average" if possible. Manual averages are not possible, because pivot table area changes with every selection..

    Regards
    Anuruddha

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: How to get averages of calculated fields of pivot tables

    In other words, you want the average of the percents for productivity, down time, etc.?

  5. #5
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    605

    Re: How to get averages of calculated fields of pivot tables

    Yes, exactly..

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: How to get averages of calculated fields of pivot tables

    The issue is with how the pivot table calculates the Total Hours * Total Workers. I calculated this in the pivot table (Hrs x Workers) and as a helper column in the data.

    What is happening when you use this in the pivot table is you get Sum(Hours) * Sum(Workers) which is different than Sum (Hours * Workers). As you can see, on the individual line level, both formulas yield the same result. However if you compute the total hours using the pivot table, you get a much larger figure that seems to exceed the sum of its parts.

    Productivity (old) is the way you were doing it. Productivity (new) divides the Achieved SAH by the helper column value instead.

    Use the helper column value instead of the computed Hours * Workers wherever this term is used in the denominator.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    605

    Re: How to get averages of calculated fields of pivot tables

    OK. thanks. So, do I need to use helper columns for all the other calculations of the pivot table??

  8. #8
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    605

    Re: How to get averages of calculated fields of pivot tables

    In other words, I cannot have average, sum, etc if I use "calculated fields" in a pivot table?

+ 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. Calculated Fields in Pivot Tables
    By nicoan in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-10-2014, 02:35 PM
  2. Pivot Tables and Calculated Fields
    By ciw916 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-04-2013, 04:12 AM
  3. Calculated Fields in Pivot Tables and the use of Averages
    By ajexcel in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-03-2013, 01:44 PM
  4. Calculated Fields in Pivot Tables
    By RobertL in forum Excel General
    Replies: 1
    Last Post: 07-06-2007, 07:50 PM
  5. [SOLVED] Pivot Tables - how do I add in calculated fields?
    By ColinS via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-06-2006, 12:45 PM
  6. Calculated Fields in Pivot Tables
    By Pelham in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-04-2006, 08:10 AM
  7. [SOLVED] Calculated fields in pivot tables
    By Nigel Drinkwater in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-03-2006, 01:45 PM

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