+ Reply to Thread
Results 1 to 5 of 5

Select specific months in a 2 year period in Pivot Table

  1. #1
    Registered User
    Join Date
    12-23-2014
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    17

    Select specific months in a 2 year period in Pivot Table

    Hi,
    I have monthly amount over a period of 2 years - 2011 and 2012. Now when I select amount, year from pivot table I get amount for all months of 2011, all months of 2012 and the total amount value of both years.

    I want to see only monthly amounts from Oct 2011 to Sep 2012 and the total of these. Can anyone please help? (see attachment)

    Thanks,
    Mavericky10
    Attached Images Attached Images

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Select specific months in a 2 year period in Pivot Table

    In Pivot Report Layout select Show in Tabular Form and de-select the non required months from the filter.

    Change the Report Layout to Compact Form once the Months selection is over


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    12-23-2014
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    17

    Re: Select specific months in a 2 year period in Pivot Table

    I did that. But I want to select months 10, 11, 12 in year 2011 and months 1 to 9 in year 2012. It is not allowing me to do that. Whatever months I select applies to both years. ie. if I select months 10. 11, 12 in year 2011 the same gets applied to year 2012, I don't want this, I want to select different months in year 2012. Can anyone help?

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

    Re: Select specific months in a 2 year period in Pivot Table

    Hi maverick and welcome to the forum,

    I suggest you create real dates from your Year Month numbers and then do the Pivot using the new date column. You can then filter the rows using BETWEEN two dates.

    See the attached and this link:
    http://www.contextures.com/excel-piv...ters-date.html
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Registered User
    Join Date
    12-23-2014
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    17

    Re: Select specific months in a 2 year period in Pivot Table

    Thanks MarvinP!! Your advice helped.

+ 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] copy forecast months data in a year period (variable range)
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2014, 06:54 AM
  2. Select specific Pivot-table item
    By bobo1000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-15-2012, 03:06 AM
  3. Macro to auto select months in a Pivot Table
    By gautamacharya in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2011, 02:53 PM
  4. Look Up Fiscal Year and Period from Table
    By bberks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2010, 09:58 AM
  5. Replies: 3
    Last Post: 03-12-2009, 09:54 AM

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