+ Reply to Thread
Results 1 to 6 of 6

Index Match Over Array with 3 Criteria

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    16

    Index Match Over Array with 3 Criteria

    Hi!

    I am trying to make an index match that spans an array and has 3 criteria.

    I have survey data that I need to score. I have created a key that has the (1) column for question number, (2) column for "score" or "scale" and, (3) header that has the coded value for each option (essentially, the number I see when I export the raw data). This spans an array (as each question has multiple options).

    Under the section titled "Scored Data", I have highlighted a space where I would like the scored numbers to populate, based on the corresponding numbers in the raw data section. I would like to match (1) Question (2) "Score" (3) Raw Data Number. I know this is possible, but I keep getting an Error (even when entering as array)!

    =INDEX(Analysis!$J$14:$R$19,MATCH($A6&"Score"&B6,$H$14:$H$19&$I$14:$I$19&$J$13:$R$13,0)) = #N/A Error
    See file: Index Match 3 Criteria Error.xlsx

    Ideally, I would like to keep the addition of rows/columns to a minimum, since the data is already meaty. This is why I am hoping to concatenate inside the formula, as opposed to creating new cells.

    Please let me know if you can help!

    Celeste

  2. #2
    Registered User
    Join Date
    03-22-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2010
    Posts
    39

    Re: Index Match Over Array with 3 Criteria

    Hi Celeste,

    Please see below array formula

    =INDEX(Analysis!$J$14:$R$19,MATCH($A6&"Score",$H$14:$H$19&$I$14:$I$19,0),MATCH(""&B6,$J$13:$R$13,0))


    Thanks and Regards
    Roneil

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Index Match Over Array with 3 Criteria

    Here is a non-array version for you...
    =INDEX(Analysis!$J$14:$R$19,MATCH($A6&"Score",INDEX($H$14:$H$19&$I$14:$I$19,0),0),MATCH(TEXT(B6,0),$J$13:$R$13,0))

    you could eliminate the need for TEXT(B6,0) if the actual numbers in J13:R13, instead of text that just looks like a number

    (your error was that you tried to include the column MATCH "&B6 and &$J$13:$R$13 in with the row MATCH.)
    Last edited by FDibbins; 07-26-2014 at 10:27 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    03-22-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2010
    Posts
    39

    Re: Index Match Over Array with 3 Criteria

    Hi Ford,

    I thought this is an array formula.if you look at my formula, it is same as yours, the only difference is you use Text formula in order to convert number to text format, i use ""&. I think text is longer than ""&.

    still the result is same so i have no problem with it.thanks for your formula

    Regards,
    Roneil

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Index Match Over Array with 3 Criteria

    Actually your formula is not quite the same as mine....
    =INDEX(Analysis!$J$14:$R$19,MATCH($A6&"Score",$H$14:$H$19&$I$14:$I$19,0),MATCH(""&B6,$J$13:$R$13,0))
    =INDEX(Analysis!$J$14:$R$19,MATCH($A6&"Score",INDEX($H$14:$H$19&$I$14:$I$19,0),0),MATCH(TEXT(B6,0),$J$13:$R$13,0))

    By adding that extra INDEX (BOLDED), you eliminate the need for the ARRAY

  6. #6
    Registered User
    Join Date
    03-22-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2010
    Posts
    39

    Re: Index Match Over Array with 3 Criteria

    hi Ford

    Thanks a lot.

    Regards,
    Roneil

+ 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 Match Array Multiple Criteria
    By Keelin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-23-2014, 02:48 AM
  2. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  3. 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
  4. [SOLVED] Array index with 3 way match criteria of 2 rows and 1 column cant get to work!
    By volchik696 in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 01-20-2014, 06:18 AM
  5. [SOLVED] Index Match in an Array 2 Criteria
    By Dendrinos2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2013, 08:24 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