+ Reply to Thread
Results 1 to 3 of 3

Filtering Arrays using the filter function

  1. #1
    Forum Contributor
    Join Date
    07-29-2008
    Location
    New York
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    145

    Filtering Arrays using the filter function

    I'm experimenting with filtering arrays. I have 2 codes, one works if you hard code in array:
    Please Login or Register  to view this content.
    I get Richard and Eric.

    but the other doesn't work if you use try to pick up the array from the worksheet in range A1 to A4:

    James
    Richard
    Eric
    Mike

    Please Login or Register  to view this content.
    I get run-time error 13;
    Type mismatch
    at line 30

    I couldn't find an information online to modify Sub Test_02() work.

    Does anyone know how to modify the second code to make it work?

    Thanks,
    Xrull
    Last edited by Xrull; 04-27-2014 at 12:47 PM.

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Filtering Arrays using the filter function

    Hi Xrull,
    try it
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-29-2008
    Location
    New York
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    145

    Re: Filtering Arrays using the filter function

    Nilem,

    I didn't know I should have used "Application.Transpose".

    Thanks,
    Xrull

+ 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. Filtering 2 tables with the same filter
    By oleg mirzaev in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-20-2013, 08:04 AM
  2. [SOLVED] filtering data if have X value, if not then filter with Y
    By extremis in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-15-2013, 02:45 PM
  3. Using the auto-filter selection form on arrays
    By Perception in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2011, 06:59 AM
  4. Using Arrays and IF Function to filter data
    By Denver in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-25-2008, 09:17 AM
  5. Filtering a filter?
    By p3te2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2007, 10: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