+ Reply to Thread
Results 1 to 7 of 7

Getting Pivot Table to give monthly Average

  1. #1
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Getting Pivot Table to give monthly Average

    For a pivot table with row labels of Catagory and Date and Sum of Values in Values,

    I Group dates by Month and have the pivot table show Sum of values per month. I'd like to have it give a monthly average each month for each catagory instead of Sumtotal. Is there an easy way to do that?
    Last edited by ChemistB; 09-28-2010 at 04:39 PM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: Getting Pivot Table to give monthly Average

    Have you tried setting the field value to Average rather than Sum?

    It would probably be easier to understand if you could post example.
    Create a example data set to illustrate current pt construction.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Getting Pivot Table to give monthly Average

    The Average setting gives average transaction so that doesn't work. Here's an example.
    Attached Files Attached Files
    Last edited by ChemistB; 09-27-2010 at 10:47 AM. Reason: Better Example File

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: Getting Pivot Table to give monthly Average

    Does this give you the information you want?

    Table has Sum, Count and Average in it.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Getting Pivot Table to give monthly Average

    Sorry Andy, I updated with a better example, must have been while you were looking at the old example. So for Catagory A, the monthly average would be 78.2.

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,219

    Re: Getting Pivot Table to give monthly Average

    I think this is one of those times you need to create a column next to your pivot table to get the answer you want.

    See attached.

    The term "Monthly Average" is the problem. You want the total of the values for the months divided by the number of months shown (5) . The pivot table is showing the Average of the Averages. This rememds me of "how to lie with statistics".
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Getting Pivot Table to give monthly Average

    Thanks Marvin,
    That's what I was afraid of. Seems like it would be a nice feature to have built in since they do have that option with the FUNCTION Subtotal. Oh well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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