+ Reply to Thread
Results 1 to 3 of 3

Filter column based on multiple criteria on another sheet

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    97

    Filter column based on multiple criteria on another sheet

    G'day

    I need the following code modified so that it filters column D in Sheet 1 (from row 6), using all the entries listed in column A on Sheet 2 (from row 2).
    Currently it only succeeds in filtering the first entry in Sheet 2 (row 2).

    The amount of entries on Sheet 2 will vary (have tried .Range("A2:A") but does not work); and will at times also have entries which will not be on Sheet 1, so it needs to be able to ignore these and continue on to the next entry.

    Is there a way to make the code pick up multiple criteria and to also ignore entries that cannot be matched please?

    Please Login or Register  to view this content.
    Sample code attached.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Filter column based on multiple criteria on another sheet

    v needs to be 1D array
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-24-2013
    Location
    New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Filter column based on multiple criteria on another sheet

    Wow, that was quick! and the solution so brilliantly simple. Thanks heaps jindon, you truly are a Guru legend. Very much appreciated.

+ 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. [SOLVED] Create new sheets from master sheet based on multiple column criteria
    By hamidxa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2015, 02:44 PM
  2. Replies: 1
    Last Post: 12-12-2014, 06:46 AM
  3. Filter data from a Master sheet based on multiple criteria by VBA code
    By judeprem in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2013, 03:27 PM
  4. Replies: 2
    Last Post: 02-14-2013, 11:06 PM
  5. [SOLVED] Filter and export to a new sheet based upon multiple criteria
    By Cody1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2012, 07:03 PM
  6. Macro to copy row title to a different sheet based on multiple column criteria
    By Steveb03 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-05-2012, 04:24 PM
  7. Filter based on multiple criteria in other sheet
    By prashantsd in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-17-2012, 09:08 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