+ Reply to Thread
Results 1 to 8 of 8

Can I filter more than 1 table in a sheet?

  1. #1
    Registered User
    Join Date
    07-10-2008
    Location
    Bahrain
    MS-Off Ver
    2007 version
    Posts
    37

    Can I filter more than 1 table in a sheet?

    Hi,

    This is my first post.
    So let me first thank you all for the service offered.

    I have a sheet with several tables arranged vertically.
    I want to filter all the tables in the sheet.
    Is this possible and how?

    Thanks
    Last edited by joshuar; 08-22-2009 at 09:54 AM.

  2. #2
    Registered User
    Join Date
    08-18-2009
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Can I filter more than 1 table in a sheet?

    Hi,

    do you want to filter each table individually?

  3. #3
    Registered User
    Join Date
    07-10-2008
    Location
    Bahrain
    MS-Off Ver
    2007 version
    Posts
    37

    Re: Can I filter more than 1 table in a sheet?

    Yes but at the same time.

  4. #4
    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: Can I filter more than 1 table in a sheet?

    Only one autofilter per sheet.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Can I filter more than 1 table in a sheet?

    thats not quite true, in 2007 you can select a region ,set style as a table
    and each comes with its own autofilters set
    so in theory you should be able to create a say less than macro that say uses cell h1 value and applies it to the first column of each table,
    ah i had another go heres an example
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    first code will filter on field 1 of tables 1,2,3 greater or equal to than whats in cell h1
    second resets each filter
    this all assumes that op has excel 2007 of course
    Last edited by martindwilson; 08-18-2009 at 07:02 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Registered User
    Join Date
    07-10-2008
    Location
    Bahrain
    MS-Off Ver
    2007 version
    Posts
    37

    Re: Can I filter more than 1 table in a sheet?

    Sorry for the delay friends.
    But I dont quite get you.
    I do use Excel 2007.
    What does set style as a table mean?
    Do I write this macro?

    Pls. pardon the ignorance here.
    Regards,

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Can I filter more than 1 table in a sheet?

    select your each of your tables (ranges) one at a time (i presume they are all the same dimensions width wise,)
    then on home tab pick format as table,pick a style make sure the pop up box reflects your table if it has headers click the box
    click ok.
    (note tables need to be below each other as the filter is applied to rows so if they were next to each other rows would be filtered out in adjacent tables)
    now the awkward thing is as you create a table its given a name say table 1 ,table 2 and so on but if you delete one say table 2 the next one will be called table 3 not table 2
    but you can rename any table, if you select the whole table another tab will pop up above the design tab called table tools ,click that and you can rename the table to match that in the code.
    see attached
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    07-10-2008
    Location
    Bahrain
    MS-Off Ver
    2007 version
    Posts
    37

    Re: Can I filter more than 1 table in a sheet?

    Thanks a lot.
    It's worked.

+ 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