+ Reply to Thread
Results 1 to 6 of 6

Pivot table with new data each month, last 12 or 24 months wanted in pivot

  1. #1
    Registered User
    Join Date
    07-10-2015
    Location
    Nordics
    MS-Off Ver
    Excel 2010
    Posts
    41

    Pivot table with new data each month, last 12 or 24 months wanted in pivot

    Dear Excel-Gurus,

    Help is greatly appreciated. I have constructed a simplified verison of what I am attempting to do, and hopefully it will be straightforward.
    In this example, I would like for my pivot table to automatically select the last 12 months of data that is available. That is, if my data for march would come in at the end of the month, I would like for the pivot table to add march 2016 to the pivot table, and take away (or not show) march from 2015.
    I am hoping to able to just refresh this each month with a simple f9.

    I have a feeling that define name could be of help, but I have not achieved to successfully add this by myself.
    There will be many files such as this, so making it as automatic as possible will be necessary.

    As stated, help will be appreciated, as I am stuck on this problem.

    Many thanks.

    Pivot auto update.xlsm

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Pivot table with new data each month, last 12 or 24 months wanted in pivot

    As it stands, I can't see a good way forward on this.

    Mostly because of the way the "Data Sheet" tab is laid out. Can you provide more info on that?

    In my head I would like to do something like, put it in an Autotable with a date-driven helper column, but that would require jiggering with the data structure, which could be easy for you or really impractical.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  3. #3
    Registered User
    Join Date
    07-10-2015
    Location
    Nordics
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Pivot table with new data each month, last 12 or 24 months wanted in pivot

    Well, there may be a possibility to rearranging the data. If you could I would appreciate if you rearrange the current data how it needs to be set up to achieve the task.
    I believe there may be a way according to these links:
    https://excelmate.wordpress.com/2014/07/15/637/
    https://excelmate.wordpress.com/2014...-named-ranges/

    I am however not yet successful in recreating what the author is doing.

  4. #4
    Registered User
    Join Date
    07-10-2015
    Location
    Nordics
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Pivot table with new data each month, last 12 or 24 months wanted in pivot

    Is it a problem that it is a new column being added each month instead of a row?

  5. #5
    Valued Forum Contributor
    Join Date
    09-25-2015
    Location
    Nowy Tomysl, Poland
    MS-Off Ver
    2019, O365
    Posts
    398

    Re: Pivot table with new data each month, last 12 or 24 months wanted in pivot

    Hello, Try change the layout data more friendly PT (my proposal in the sheet "Data Sheet 2". There you can continue diposywać data, or you can have multiple worksheets, or files from the system data. Combining them into a single database for PT is not a problem .
    I do not know if I'm well understood - the text is a translation from google translator
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: Pivot table with new data each month, last 12 or 24 months wanted in pivot

    It appears from the data you provided that:-
    China only buy BMW
    Japan only buy Audi
    Singapore only buy Mercedes
    Vietnam only buy Porsche
    Is that correct?

    peterrc

+ 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. Displaying ALL months in Pivot table, even if there is no data
    By ahorwitz in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-23-2016, 12:09 PM
  2. [SOLVED] Create a Pivot table to show 12 months rolling data?
    By dcoates in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 07-16-2015, 07:31 AM
  3. Replies: 6
    Last Post: 07-15-2013, 08:12 AM
  4. Pivot: Deselecting months by month number
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-30-2012, 10:41 AM
  5. Replies: 1
    Last Post: 08-24-2011, 06:47 PM
  6. [SOLVED] Pivot table blank cells show data deleted months ago!
    By vcard in forum Excel General
    Replies: 0
    Last Post: 04-25-2006, 04:30 PM
  7. No Pivot Table Totals Wanted
    By robertjtucker in forum Excel General
    Replies: 1
    Last Post: 08-02-2005, 04:05 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