+ Reply to Thread
Results 1 to 10 of 10

Filter data using Array Function

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Post Filter data using Array Function

    hello
    i m using array function in my below formula...but there is an debug error
    what going wrong

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Filter data using Array Function

    Try instead

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Not sure why you are specifying two criteria when the C8 range is the same.
    Last edited by Richard Buttrey; 04-22-2014 at 11:57 AM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Filter data using Array Function

    Hello haroon2015,

    The AutoFilter method accepts a maximum of 2 criteria. It does not use arrays. Besides, your logic for Criteria1 is a tautology. You need only use ">=".
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Filter data using Array Function

    Hello Both Mod

    i m using only ">=" but blank cells is not showing

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Filter data using Array Function

    ...but what does C8 contain..?

  6. #6
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Filter data using Array Function

    c8 contain words...

    if i want to filter "Ahsaan G" then
    i type Ahsaan G in C8 then run the macro,,

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Filter data using Array Function

    Quote Originally Posted by haroon2015 View Post
    Hello Both Mod

    i m using only ">=" but blank cells is not showing
    So are you saying you want to show blank cells as well as whatever is in C8?

  8. #8
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Filter data using Array Function

    Yes mod
    i want to show blank cells as well as whatever is in c8

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Filter data using Array Function

    Hi,

    In that case

    Please Login or Register  to view this content.

  10. #10
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Filter data using Array Function

    Hello Mod

    Thanx a lot very very much ,,,,
    works perfect

    will add u +1 reputation

    will u plz look at this thread

    http://www.excelforum.com/excel-prog...ilter-dat.html

    thanx once again

+ 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. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  2. [SOLVED] Filter Data with Array
    By jkj115 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-19-2013, 04:22 PM
  3. Replies: 6
    Last Post: 05-26-2012, 04:56 AM
  4. Data Filter Function in VBA
    By wayliff in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-12-2006, 12:25 PM
  5. Filter data per function
    By vrijbergen in forum Excel General
    Replies: 3
    Last Post: 10-03-2005, 06:05 PM

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