+ Reply to Thread
Results 1 to 3 of 3

PivotTable Filter

Hybrid View

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    3

    PivotTable Filter

    I use a spreadsheet to extract data from an access database. When the data is extracted it has about 10k line items and one of the columns displays the date. I formatted the cell to simply display the month (Jan, Feb, Mar, etc). When I create a PivotTable with the 10K line items each line displays the month. When I use the date as a filter it displays every single lines month in the filter box. Is there any way I can combine the months in the filter box so that each month would only display once collectively instead of for each line item?

    PT.jpg

    Thanks for your assistance

  2. #2
    Forum Contributor aganesan99's Avatar
    Join Date
    04-26-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: PivotTable Filter

    Hi Aeroice,

    Did you tried copy and paste the data in a new excel workbook. If you are using the extracted copy from the access file, just try this.

    Thanks,
    aganesan99

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

    Re: PivotTable Filter

    You can't really do it in the filter box itself.

    Because, what you've basically done is tell the spreadsheet to decieve you about the cell contents. Even if you format the cell to only show the month, it still has the the year and day as well, so all those different dates will be considered distinct by excel.

    The easiest thing to do would be create a helper column that has only the month info instead.

    For example, if A1:A100 has date values,

    Then create something like
    B1 = MONTH(A1)
    pull down to B100

    Then filter on B instead of A. Because this helper column only has the month instead of the full date, 2014-Jan-01 and 2014-Jan-02 would both return the same value in the helper column, while the date columns would be different.

+ 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. Filter reference in a PivotTable
    By Domino49 in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 12-04-2012, 04:14 AM
  2. Changing PivotTable Filter with VBA
    By elflacoalto in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-29-2011, 08:51 AM
  3. Date Filter in PivotTable
    By pakiyabhai in forum Excel General
    Replies: 5
    Last Post: 05-27-2010, 05:22 AM
  4. PivotTable Filter Update
    By yonyon7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-24-2007, 06:00 PM
  5. PivotTable Filter
    By yonyon7 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-05-2007, 09:03 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