+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Index Function Array Filtering

  1. #1
    Registered User
    Join Date
    11-13-2009
    Location
    Cumbria
    MS-Off Ver
    Excel 2016
    Posts
    87

    Index Function Array Filtering

    Hi,

    Forgive me for being ignorant of forum etiquette if I am being rude, but please could you help me with the following?

    It would probably be superfluous to explain the full context of what I'm trying to do, so basicaslly, I would like to know how to make the following function apply, not just to numbers below and equal to 40147, but also above a certain value:

    MATCH(TRUE,INDEX('Nov Collections'!A2:A$234<=40147,0),0),"")

    The above function works, but the following doesn't:

    MATCH(TRUE,INDEX(23>='Nov Collections'!A2:A$234<=40147,0),0),"")

    I thought that would return the first value between 23 and 40147 inclusively, but it produces an error.

    Help greatly appreciated.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Index Function Array Filtering

    Try:

    MATCH(1,INDEX(('Nov Collections'!A2:A$234>=23)*('Nov Collections'!A2:A$234<=40147),0),0)
    Last edited by NBVC; 02-26-2010 at 02:47 PM. Reason: typo in formula...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    11-13-2009
    Location
    Cumbria
    MS-Off Ver
    Excel 2016
    Posts
    87

    Re: Index Function Array Filtering

    Absolutely excellent NBVC. Thank you very much. I have given you some credit for this through the reputation facility.
    Last edited by RowanB; 02-26-2010 at 12:33 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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