+ Reply to Thread
Results 1 to 5 of 5

Lookup OR Index/Match with multiple Array's

  1. #1
    Registered User
    Join Date
    04-26-2014
    Location
    Belgium
    MS-Off Ver
    Excel 2003
    Posts
    12

    Lookup OR Index/Match with multiple Array's

    Dear All,

    I'm facing another problem within my worksheet, Below I made a similiar example of what I try to acquire...
    I need to lookup for EACH year the results if a system (dropdown list in cell B28) is OK or NOT OK, but it also needs to look at what site (Dropdown list in cell C28 )

    I tried initially with VLOOKUP($B$28;$B$4:$Q$4;2)...VLOOKUP($B$28;$B$4:$Q$4;3)...VLOOKUP($B$28;$B$4:$Q$4;4)...
    and this works, but only for one array and one look up value at a time.

    Is there a way where I can use INDEX/MATCH or CHOOSE to work with the 2 values to look up at?

    Thanks in Advance
    Numnum
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Lookup OR Index/Match with multiple Array's

    Pl see file.
    Attached Files Attached Files

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Lookup OR Index/Match with multiple Array's

    It will be easier if you made the spacing between the three tables the same, so delete row 10 so that your drop-downs are now in B27 and C27. Then you can use this formula in C28:

    =INDEX($C$3:$Q$26,MATCH($C$27,$B$3:$B$26,0)+MATCH($B$27,$B$4:$B$8,0),MATCH(B28,$C$3:$Q$3,0))

    and then copy it down.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    04-26-2014
    Location
    Belgium
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Lookup OR Index/Match with multiple Array's

    This works indeed, though in my original worksheet I get the N/A error cause the INDEX array is too huge (exceeds over 8192 characters)
    On top of this, the MATCH function doesn't seems to work when there are non-numeric characters between the arrays.

    Thanks for the help


    Post Edit --> I forgot to mention that my original worksheet contains months to lookup for as well, So I think this is not going to work easily
    Last edited by Numnum; 11-04-2014 at 10:47 PM.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Lookup OR Index/Match with multiple Array's

    You will get the #N/A error if there is not an exact match - it might be that you have dates formatted to show the year rather than actual years. There is no limit to the actual size of the INDEX array.

    I can only work from the sample that you attach, so if your real data contains months then post an example of that file (remove anything that is confidential first).

    Hope this helps.

    Pete

+ 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. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  2. LOOKUP with Multiple Criteria (ARRAY INDEX and MATCH)
    By snowktt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2014, 02:24 AM
  3. Lookup, Index, Match, Array Help
    By Reaye in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2013, 03:36 PM
  4. Replies: 7
    Last Post: 06-19-2011, 12:51 PM
  5. table, index, array, match, lookup?
    By spxer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2006, 04:35 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