+ Reply to Thread
Results 1 to 6 of 6

Help: Linking a pivot table report filter to a data validation list in another sheet

  1. #1
    Registered User
    Join Date
    06-30-2016
    Location
    London, UK
    MS-Off Ver
    2010
    Posts
    3

    Help: Linking a pivot table report filter to a data validation list in another sheet

    Hi All,
    On sheet 1 I have a pivot table full of data, and sheet 2, I have built a model that is sorted through a data validation list. When I change Sheet 2 (the data validation cell), I would like Sheet 1, the pivot table report filter to mirror the selection I made in Sheet 2.

    To illustrate, sheet 2 has data validation list of team names, e.g. Manchester United, Chelsea etc.
    When I select Manchester United in sheet 2, I want my pivot table on sheet 1 to automatically select Manchester United as well, and show me only the data for Manchester United.
    I have been trying to figure this out for 3 days and still cannot get it to work!
    Any help would be greatly appreciated!

    Best,
    J

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Help: Linking a pivot table report filter to a data validation list in another sheet

    Hi J,

    Could you please attach a sample file? If that isn';t possible, could you at least say which cell has the data validation list and what the name of the field in the pivot table is?

  3. #3
    Registered User
    Join Date
    06-30-2016
    Location
    London, UK
    MS-Off Ver
    2010
    Posts
    3

    Re: Help: Linking a pivot table report filter to a data validation list in another sheet

    Unfortunately I cannot attach a sample file. The cell with the data validation list is B2. The name of the field of the pivot table is 'Team Name' (in cell B1)

    Thank you very much!
    - J

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Help: Linking a pivot table report filter to a data validation list in another sheet

    Hopefully this will do the trick. RIght-click the worksheet tab for Sheet 2, choose View Code and then paste in the following code:

    Please Login or Register  to view this content.
    Change the sheet name if it is not actually called Sheet1 of course!

  5. #5
    Registered User
    Join Date
    06-30-2016
    Location
    London, UK
    MS-Off Ver
    2010
    Posts
    3

    Re: Help: Linking a pivot table report filter to a data validation list in another sheet

    It worked!

    Thank you very much.
    You are a life saver!

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Help: Linking a pivot table report filter to a data validation list in another sheet

    You're welcome.

+ 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] Select Automatic Report Filter in Pivot where Filter exist in Data table else select Blank
    By vinaynaran in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2016, 08:47 AM
  2. [SOLVED] Control 3 Pivot Table filter with Data validation
    By PWinkz in forum Excel General
    Replies: 3
    Last Post: 05-06-2015, 07:48 AM
  3. Need help linking a combo box to a pivot table report filter.
    By jaimeteele in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2014, 01:56 PM
  4. linking data validation to auto filter in other sheet
    By alexcrofut in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-21-2014, 12:22 PM
  5. Linking Pivot table report filter to cell in another sheet
    By onners07 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2014, 02:24 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: 09-01-2011, 04:25 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