+ Reply to Thread
Results 1 to 4 of 4

Organizing Pivot Table by Year/Month - Rolling 12 Months

  1. #1
    Registered User
    Join Date
    07-08-2019
    Location
    Toronto
    MS-Off Ver
    Office 365
    Posts
    25

    Organizing Pivot Table by Year/Month - Rolling 12 Months

    Hi,

    I'm trying to create a rolling 12 months pivot table/chart but it's always grouping together JAN/FEB 2019/2020 for example. How can I only show JAN/FEB 2020 and start 2019 from March? (12 months)

    I've tried coupling the Year/Month values but they always come out mixed and I'd have to reorganize them in the table.

    rolling12.jpg

    Thanks in advance.

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

    Re: Organizing Pivot Table by Year/Month - Rolling 12 Months

    Hi method90,

    I think you simply need to use the Row Labels dropdown and uncheck what you don't want. See the attached. Or am I missing something in the question?

    Average Lag PT Group Row Filtered.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    07-08-2019
    Location
    Toronto
    MS-Off Ver
    Office 365
    Posts
    25

    Re: Organizing Pivot Table by Year/Month - Rolling 12 Months

    But when I uncheck JAN it'll uncheck JAN on 2019 and 2020.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    19,063

    Re: Organizing Pivot Table by Year/Month - Rolling 12 Months

    Building on Marvin's suggestion here are two options:
    1. Use columns A:B from the source data and set date filter to After 3/1/2019 (Pivot 1)
    2. Add a helper column (C) to the source data, populated using: =A2>=EDATE(TODAY(),-12) and then use the helper column as the filter(Pivot 2)
    Note that both options will need to be Refreshed, but option 2 will not require adjusting the filter/date filter.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] 3 Month Rolling Pivot Table
    By hbuzz in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 04-09-2017, 08:16 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. [SOLVED] VBA Insert Current Month, Year and subsequent months/year for 15 months
    By MichiganWilliams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2014, 03:49 PM
  4. How to add Month-on-Month and Year-on-Year %Variance into a pivot table
    By emeritus1812 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-09-2013, 02:37 AM
  5. Pivot table for organizing cost as a % of total per month
    By amartino44 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-17-2013, 04:49 PM
  6. 12 months rolling in pivot different calendar year.
    By rjbautista20 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2012, 05:08 AM
  7. Replies: 2
    Last Post: 03-05-2012, 03:56 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