+ Reply to Thread
Results 1 to 5 of 5

Automatic update of Pivot Table based on filtered data

  1. #1
    Forum Contributor
    Join Date
    09-10-2011
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    176

    Automatic update of Pivot Table based on filtered data

    Hello,

    I have data table and created pivot using it. Is it possible to update the pivot table when I filter in Data table?

    If I filter Jan in the Data Table of sample file, it should show only the pivot for the month of Jan. I dont want to filter it in Pivot Table.

    Any help will be appreciated..


    Regards,
    Humac
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Automatic update of Pivot Table based on filtered data

    Is there any particular reason why you do not want to filter in the pivot table directly?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor
    Join Date
    09-10-2011
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    176

    Re: Automatic update of Pivot Table based on filtered data

    There is no particular reason. If I have 10 Columns and if I filter with any one of the column (even not in pivot Field List), I want the pivot to adjust according to the data Table.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Automatic update of Pivot Table based on filtered data

    I method i can think of is -
    Have a hidden sheet where the filtered data from the main data sheet is copied (through macro) into this hidden sheet.
    Base your pivot on the hidden sheet.

  5. #5
    Forum Contributor
    Join Date
    09-10-2011
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    176

    Re: Automatic update of Pivot Table based on filtered data

    Can you please provide me the sample code, so that I can test it?

+ 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