+ Reply to Thread
Results 1 to 3 of 3

INDEX MATCH One Result, But Look In Several Columns / Matrix of Info

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    Lincoln, UK
    MS-Off Ver
    2013
    Posts
    37

    INDEX MATCH One Result, But Look In Several Columns / Matrix of Info

    Hi All -

    I am trying to put together a formula where I can perform a standard index/match, BUT owing to prehistoric layout of existing information, I need the formula to index from 8 columns for the one result it needs, rather than one column as normal.

    I know you can index match columns and rows when they are named, but these aren't as such, and the rub is that the correct result can appear in any of the 8 columns at any time, so it just needs to 'hunt for the exact result and then match as normal.

    I've attached a mock-up that hopefully shows what I mean.

    Thanks,

    Stuart
    Attached Files Attached Files

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: INDEX MATCH One Result, But Look In Several Columns / Matrix of Info

    the first result would be simplest with something like:

    =IFERROR(VLOOKUP(A1,F2:G5,2,0),IFERROR(VLOOKUP(A1,H2:I5,2,0),VLOOKUP(A1,J2:K5,2,0)))

    for the Alt2 value you can use something like:

    =INDEX(M:M,AGGREGATE(15,6,ROW(F2:J5)/(F2:J5=A1),1))

    modify ranges to suit but try to avoid entire column references for the AGGREGATE, if you can, particularly if you have lots of these calcs in your file (in Col C)

  3. #3
    Registered User
    Join Date
    04-14-2015
    Location
    Lincoln, UK
    MS-Off Ver
    2013
    Posts
    37

    Re: INDEX MATCH One Result, But Look In Several Columns / Matrix of Info

    Option one works a treat, thanks! I have to grab the information from another workbook, so although the formula is very long, it is still simpler and a quicker working calculation than what I had in mind as a work-around. Thanks very much

+ 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. [SOLVED] INDEX/MATCH more than 1 result available but only displaying the 1st result
    By MarkPr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-23-2018, 04:48 AM
  2. [SOLVED] index match return value out of X,Y matrix
    By jaapaap in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-15-2017, 04:32 AM
  3. How to convert Matrix (Index/Match) into VBA Code?
    By PRMiranda in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-03-2017, 07:38 AM
  4. [SOLVED] Index/Match result should again search for zero result
    By ursanil in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2014, 04:45 AM
  5. [SOLVED] Matrix Building using VLOOKUP, INDEX and MATCH
    By Saarang84 in forum Excel Formulas & Functions
    Replies: 27
    Last Post: 05-28-2014, 01:24 AM
  6. Replies: 11
    Last Post: 03-26-2014, 12:48 AM
  7. Help Match Index Formula for a table matrix
    By prkhan56 in forum Excel General
    Replies: 2
    Last Post: 09-29-2011, 04:40 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