+ Reply to Thread
Results 1 to 4 of 4

INDEX MATCH where lookup array is multiple columns

Hybrid View

  1. #1
    Registered User
    Join Date
    12-04-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    79

    INDEX MATCH where lookup array is multiple columns

    Hi,
    I've done extensive searching and not found something that matches my scenario.
    I suspect it requires an array formula but I can't work out how to build it.

    I've attached my example file.

    I have used an INDEX MATCH formula to return a value from column 1 when the code in column 2 matches the inputted code.
    However each returnable value has multiple codes attached to it that are held in columns 2 through 6.
    I need the formula to look for the code in columns 2 through 6 not just in column 2.

    Is there a formula or work around for this?

    Thanks so much all.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: INDEX MATCH where lookup array is multiple columns

    If your code is unique perhaps insert a helper column to return a identify if the input value is found for that particular row, then use Match/Index to return the color name.
    Attached Files Attached Files

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: INDEX MATCH where lookup array is multiple columns

    =INDEX(B5:B9,LARGE(INDEX((C12=C5:F9)*ROW(C5:C9),0),1)-ROW(C5)+1)
    Try this formula in C14
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    12-04-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    79

    Re: INDEX MATCH where lookup array is multiple columns

    Helper column was a good idea. But the other formula suggested works exactly as I had hoped and intended.
    Thank you so much - I do hope this solution is helpful to others also.

+ 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 with multiple criteria (two lookup columns)
    By jason4444 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-09-2016, 03:30 PM
  2. Need an array possibly INDEX/MATCH formula with multiple lookup criteria.
    By TheClaw2323 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-25-2015, 09:59 AM
  3. Lookup OR Index/Match with multiple Array's
    By Numnum in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2014, 05:32 AM
  4. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  5. 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
  6. Replies: 7
    Last Post: 06-19-2011, 12:51 PM
  7. Index Match lookup thru multiple columns
    By Zimmerman in forum Excel General
    Replies: 6
    Last Post: 07-09-2010, 01:49 PM

Tags for this Thread

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