+ Reply to Thread
Results 1 to 4 of 4

Creating a Multi Criteria Filter using VBA

  1. #1
    Registered User
    Join Date
    09-25-2014
    Location
    toronto
    MS-Off Ver
    Mac 2011
    Posts
    18

    Smile Creating a Multi Criteria Filter using VBA

    Hello,

    I have a table with hundreds of rows of data. I want to create a macro that can filter between 10-12 different criteria and then display first name and last name values that match any of the criteria. Then, I want to display the first and last names in a specific cell based on two new criteria.

    Just wondering if anyone can point me in the right direction. I'm fairly new to vba, so I can use all the help I can get.

    Thanks.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Creating a Multi Criteria Filter using VBA

    Record a macro while performing the filtering, and post your workbook with the recorded macro as an attachment here, with a description/example of the next steps...
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    09-25-2014
    Location
    toronto
    MS-Off Ver
    Mac 2011
    Posts
    18

    Re: Creating a Multi Criteria Filter using VBA

    Hi Bernie,

    Thanks for replying. As of right now, I can't figure out how to record the macro...It's giving me an error message saying that my criteria is wrong.

    I'm trying to create a filter that has 11 different criteria. Each criteria is in it's own drop down list. I'm trying to display the results if all of the criteria have been met.

    When using the advanced filter, do I just use the cell where the drop down list is?

  4. #4
    Registered User
    Join Date
    09-25-2014
    Location
    toronto
    MS-Off Ver
    Mac 2011
    Posts
    18

    Re: Creating a Multi Criteria Filter using VBA

    Can anyone help 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. Large multi criteria / Vlookup/Choose Multi criteria
    By deanusa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2014, 01:48 AM
  2. Excel 2003 Multi Criteria filter in VBA
    By alexduy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2013, 10:21 AM
  3. Macro to Filter unique rows of data based on multi criteria
    By rz6657 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-24-2013, 07:33 PM
  4. Replies: 1
    Last Post: 09-15-2012, 08:00 AM
  5. Creating a multi criteria drop down
    By tanksalevikrant in forum Excel General
    Replies: 11
    Last Post: 12-15-2010, 07:17 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