+ Reply to Thread
Results 1 to 2 of 2

Connecting filter in pivot table to drop down filter

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    Illinois, USA
    MS-Off Ver
    Excel 2003
    Posts
    16

    Connecting filter in pivot table to drop down filter

    How do you connect the filter in a pivot table to a drop down filter that is on another tab in the work book?

    Thanks,

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Connecting filter in pivot table to drop down filter

    With Excel 2003 there isn't a lot of options other than VB code.

    If you are only interested in filtering by one value at a time AND that value happens to be text data, then you can use a VBA change event on the page with the drop-down to write the value of the drop-down in the cell that contains the filter.

    You can royally "hork up" a pivot table if you do this with a value that is not in the data source. For example if you have Data 01 in the filter, and the code writes in Data XX, then Data XX becomes an "alias" for Data 01. Data 01 will not longer show up in the list of items you can filter on, and when you query Data XX, Data 01's data will come up. Sooo, do a COUNTIF on the source data to see if the value you are trying to set exists in the source data.

    If you ever do "hork up" a pivot table this way, one way to clear it is to duplicate the data source and switch the pivot table source to it. You can even do this partially. That is switch to a new source that has the same format as the original and then switch back.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. Pivot Table Filter Drop Down Value Change
    By dflak in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-04-2018, 09:50 AM
  2. Pivot Table missing filter drop down for Row Fields
    By lora2014 in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 04-19-2018, 10:37 AM
  3. Drop down to filter a Pivot Table
    By burcha22 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-28-2017, 04:32 PM
  4. Replies: 1
    Last Post: 07-16-2015, 05:46 AM
  5. [SOLVED] Remove drop down filter from Pivot Table
    By ZuneidDassu in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-26-2014, 04:41 AM
  6. i cannot filter the values from drop down list from a pivot table report
    By mamun_08023 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-21-2012, 02:50 PM
  7. Replies: 0
    Last Post: 08-07-2010, 04:13 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