Results 1 to 7 of 7

Custom Auto filter for more than 2 and/or criteria

Threaded View

  1. #1
    Registered User
    Join Date
    12-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    27

    Custom Auto filter for more than 2 and/or criteria

    Hi Experts,

    As you are aware we cannot filter more than two and/or criteria using custom auto filter.

    I have a scenario where I have to filter entire data (kept in “Data” sheet) for column C “Country” based on 6 different and/or criteria. The attached file is my working template and has a fake data in it, my real data has long sentences in each cell (In Column C) and each time I have to filter data based on texts that “contains” (part of) in that sentence.

    I did some research and found out that if I create a criteria range and use advanced filter I could achieve the results. You would see that in the “Input” sheet I have created a bunch of combo box and option buttons to define a criteria range that advanced filter could use. So when you enter the texts in the combo boxes and choose and/or you would see that the criteria table on the right is prepared for advanced filter.

    I have also recorded a macro to apply advanced filter however the results are not coming right – If you run Macro1 nothing gets filtered. I am not sure what is the problem. I need help with a code that could filter the table in “Data” sheet (Or in the “Filtered Data”) with the criteria set in “Input” sheet. I had used the wildcards to catch a text that contains in the cell however it doesn’t seem to work.

    I apologize if this is silly question, I have very basic knowledge of VBA. I really appreciate your help and time.

    P.S – How do I make the tab order more efficient? So that user do not have to click on each box to enter the details.

    Best,
    Bunty
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Auto Filter a custom Date
    By Lensmeister in forum Excel General
    Replies: 5
    Last Post: 12-07-2012, 03:46 PM
  2. Custom Auto Filter
    By raveepoojari in forum Excel General
    Replies: 5
    Last Post: 11-17-2010, 10:24 AM
  3. Formula that is like Custom Auto Filter
    By Smee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2008, 04:12 AM
  4. Custom Auto Filter for more than two cells
    By coopster in forum Excel General
    Replies: 2
    Last Post: 02-07-2007, 09:23 AM
  5. [SOLVED] Custom Auto Filter default setting should be contains
    By dmc in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  6. Custom Auto Filter default setting should be contains
    By dmc in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. Custom Auto Filter default setting should be contains
    By dmc in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. Custom Auto Filter VBA Code
    By balamus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2005, 07:52 AM

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