+ Reply to Thread
Results 1 to 5 of 5

Advanced filter using multiple criteria

  1. #1
    Registered User
    Join Date
    07-15-2012
    Location
    cambridge
    MS-Off Ver
    Excel 2003
    Posts
    4

    Advanced filter using multiple criteria

    Hi,

    I have been struggling with this for over a day, any help would be much appreciated.
    I need to run an auto filter to filter my worksheet based on some criteria.

    Each line is tagged by comma separated values entered into a single cell in the corresponding row.
    I need to be able to filter the line based on each comma separated value in the cell.
    The criteria for filtering is entered into a separate cell.

    - logan
    Last edited by logan131131; 07-15-2012 at 09:37 PM.

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

    Re: Advanced filter using multiple criteria

    post a sample but generally it is much much better to have separate cells! buy you can use wild cards if your data is suitable for it or a formula to pin it down
    see both ways attached
    Attached Files Attached Files
    Last edited by martindwilson; 07-15-2012 at 11:03 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

  3. #3
    Registered User
    Join Date
    07-15-2012
    Location
    cambridge
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Advanced filter using multiple criteria

    Thanks I have attached the file. I can assign the tags under the "Tags" header in the drop down menu for each question.
    Here's what i have to do.
    I need to be able to filter the question out based on the specified tag/tags.
    I am mentioning the specified tags under column X1 (row wise) in the TagAssignment worksheet.
    If the specified tag is say "Services", I need to be able to pull up the questions that contains the assigned tag "Services". (in this case questions 1,2 and 5.
    And I need to be able to iterate over all the specified tags.
    Module2 currently does the filtering but only for one case. I would like to iterate and filter.

    Thanks in advance.
    Logan
    Attached Files Attached Files

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

    Re: Advanced filter using multiple criteria

    thats got nothing to do with auto filter!

  5. #5
    Registered User
    Join Date
    07-15-2012
    Location
    cambridge
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Advanced filter using multiple criteria

    Sorry if I didn't make myself clear, the auto filtering here is basically filtering the questions based on every tag entered under the column X.
    For instance if I have "Services" and "Other" entered in column X, the filter needs to return questions 1,2,3 and 5.
    This works for one tag,(module2) but i need this to iterate over all the tags specified in column X.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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