+ Reply to Thread
Results 1 to 5 of 5

one slicers to filter data

  1. #1
    Forum Contributor
    Join Date
    05-04-2016
    Location
    London
    MS-Off Ver
    MS Office Excel 2010/2013
    Posts
    354

    one slicers to filter data

    Hi all,

    is there a way to filter various pivot data ( from different data sources) using one slicer with VBA.

    attached file for your reference.


    thanks and regards,
    Hudson
    Attached Files Attached Files

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: one slicers to filter data

    the obvious solution here is to merge the tables, then no "tricks" with slicers and multiple sources are needed

  3. #3
    Forum Contributor
    Join Date
    05-04-2016
    Location
    London
    MS-Off Ver
    MS Office Excel 2010/2013
    Posts
    354

    Re: one slicers to filter data

    Hi Roel,

    I did not get you and I cannot merge the data .. and the data in different years has different columns and fields but the common field is " Name of the analyst ".

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: one slicers to filter data

    see attached solution

    essentially use one PRIMARY slicer and duplicate to other two slicers of which you can HIDE
    i grouped slicer 2 and 3 for easy hiding
    Press ALT+F10 to see this
    click the eye icon to hide/unhide

    your primary slicer must have all the row labels though or else it will be chopped off
    ie you cant use 2016 as primary as Mefi Barrera doesnt exist

    Primary code can be found under THISWORKBOOK module

    Please Login or Register  to view this content.
    **Not my original code but the URL from where i found this is now defunct so i cannot acknowledge them
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Forum Contributor
    Join Date
    05-04-2016
    Location
    London
    MS-Off Ver
    MS Office Excel 2010/2013
    Posts
    354

    Re: one slicers to filter data

    It really worked well thank you

+ 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. Replies: 0
    Last Post: 03-06-2017, 03:55 PM
  2. [SOLVED] VBA to Auto Filter Slicers
    By bgrish3 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-09-2016, 10:40 AM
  3. Timeline to filter with Slicers
    By PFDave in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-23-2016, 10:25 AM
  4. slicers vs. filter
    By stephme55 in forum Excel General
    Replies: 1
    Last Post: 02-08-2016, 07:36 PM
  5. Slicer filters don't work properly
    By BDD2015 in forum Excel General
    Replies: 1
    Last Post: 05-22-2015, 12:51 AM
  6. Having slicers also filter a main data sheet
    By manzier in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2014, 12:29 PM
  7. Is it possible for slicers in pivot table to also filter data sheet?
    By shelly2 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-22-2014, 07:08 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