+ Reply to Thread
Results 1 to 2 of 2

Three month average calculation in pivot table

  1. #1
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Three month average calculation in pivot table

    As I add a new month of data, I want to calculate the average cost for the most recent three months in the pivot table. I want the average column to be the last column in the pivot table. I have attached a sample file.
    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Three month average calculation in pivot table

    Extend your pivot table range to include entire A,B,C columns and deselect blanks.

    Then use the below code
    Please Login or Register  to view this content.
    See attached. Does this help?
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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