+ Reply to Thread
Results 1 to 4 of 4

Filtering Identical Tables Simultaneously

  1. #1
    Forum Contributor
    Join Date
    03-24-2012
    Location
    Midwest
    MS-Off Ver
    Office 365
    Posts
    122

    Filtering Identical Tables Simultaneously

    I have a table on one sheet that can be filtered (as I assume all tables can be). I have a second table on another sheet that is a duplicate of the table on the first sheet.

    When I filter the table on the first sheet, I want the same filters to be applied to the table on the second sheet. Thus, the two tables will always have identical filtering.

    I thought this would be easy to do, but after doing some research I can't seem to find any solutions to "mirror" a table across sheets (or within a sheet, for that matter).

    The *only* thing that is different about the two tables is the formatting. Specifically, one table is easy to view on a screen; the other is print-friendly. That is why I am seeking to duplicate a table in the first place.

    Any help would be appreciated! Let me know if you have follow-up questions.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Filtering Identical Tables Simultaneously

    The only way I can imagine to to use VBA to copy the filters from one to the other. The code example from Help is posted in https://www.excelforum.com/excel-gen...ml#post4915942
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    03-24-2012
    Location
    Midwest
    MS-Off Ver
    Office 365
    Posts
    122

    Re: Filtering Identical Tables Simultaneously

    shg, I read through that thread but didn't really understand how it is applicable to this issue. Can you explain?

    Also, I am open to the second table not being a table at all, but rather a block that pulls from the first table via advanced filter. But I'm unsure of how to set that up, especially since the filter criteria would not be data (e.g., a date range) but rather if the data in the first table is filtered or not. Is this possible?

  4. #4
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Filtering Identical Tables Simultaneously

    So a couple points here.

    If your Excel version in your profile is correct (2010) then there is no built in way using the filtering mechanisms themselves to filter multiple tables. In Excel 2016 (maybe 2013 too if I recall correct) you can apply slicers to tables (regular tables as well as pivot tables). A slicer is essentially a somewhat more visual filter. You can connect a slicer to multiple tables as long as they are sourced from the same exact data source. I am 100% sure a slicer works on a regular table in newer versions of Excel. I am foggy on if the linking a slicer to multiple tables only works with pivots or also works with standard tables.

    EDIT: In testing it appears even in 2016 the slicer can only connect to multiple pivot tables, not multiple standard tables.

    I also found that replicating the table can be done using data connections. For me it was as simple as creating another sheet, going to Data | Existing Connection, clicking the tables tab and selecting that table. In the dialog selecting table and existing sheet as the destination. It duplicates the table on the new sheet. It functions a bit like a pivot table, needing a "refresh" to show any updates made to the original table (like deleting a row or adding a row). However it did not imitate the filtering I applied to the original table.

    I am however not sure I see the need for 2 identical tables with the only difference being formatting for screen and print. Excel should be able to, via the page setup, scale and break apart the printed pages to make them legible regardless of what it looks like on screen (to a degree). Hard to say though without knowing what it looks like. So as an alternative to 1 filter for 2 tables you may try approaching it by addressing the needs of print vs screen using the page setup features in Excel instead and using a single table.

    As mentioned the last alternative is using VBA to apply the filtering to multiple tables. Not sure its worth the trouble though
    Ways to get help: Post clear questions, explain your overall goal, supply as much background as possible, respond to questions asked of you by those trying to help and post sample(s) files.

    "I am here to help, not do it for people" -Me

+ 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. Adding Multiple Identical tables to a Master Identical table
    By dlogfx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2017, 04:41 PM
  2. [SOLVED] Search for Values in Multiple Data Tables Simultaneously
    By slumeet in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-05-2016, 01:33 PM
  3. [SOLVED] Matching Multiple Cells in Two Tables Simultaneously
    By djmyers in forum Excel General
    Replies: 5
    Last Post: 09-30-2014, 01:52 PM
  4. Change Data Source for Multiple Pivot Tables Simultaneously
    By mshirschy in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-11-2013, 02:31 PM
  5. Replies: 10
    Last Post: 06-13-2012, 09:38 AM
  6. Re: Change Multiple Page Fields Simultaneously in Pivot Tables
    By chudok in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2010, 01:29 PM
  7. column filtering to match identical numbers
    By sammc2 in forum Excel General
    Replies: 1
    Last Post: 07-14-2005, 06:59 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