+ Reply to Thread
Results 1 to 7 of 7

Index match with multiple columns/rows

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Berlin/Sweden
    MS-Off Ver
    Excel 2010
    Posts
    124

    Index match with multiple columns/rows

    Hi, I need to return a value after matching it by looking at several columns.

    I'm suspecting some combination of index match with an array, sumproduct would do the trick. But haven't been able to get it to work

    Please see attached workbook.

    Thanks!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-27-2016
    Location
    Zurich
    MS-Off Ver
    Office 2016
    Posts
    61

    Question Re: Index match with multiple columns/rows

    [Post Removed by Dlinen]
    Last edited by Dlinen; 06-07-2016 at 06:02 AM.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,783

    Re: Index match with multiple columns/rows

    @Dlinen,
    It is against forum rules to post a new query in an existing thread: please start your own thread where you may wish to reference this thread.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,783

    Re: Index match with multiple columns/rows

    Row value

    =INDEX($A$1:$A$4,SUMPRODUCT(($B$1:$H$4=$C$7)*(ROW($A$1:$A$4))))

    Column value

    =INDEX($A$1:$H$1,SUMPRODUCT(($A$1:$H$4=C7)*(COLUMN($A$1:$H$1))))

  5. #5
    Registered User
    Join Date
    05-27-2016
    Location
    Zurich
    MS-Off Ver
    Office 2016
    Posts
    61

    Re: Index match with multiple columns/rows

    @JohnTopley,

    Oops, sorry... I will remove my post as I figured it out myself.

    Cheers,

  6. #6
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,413

    Re: Index match with multiple columns/rows

    Another option with the function AGGREGATE.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Berlin/Sweden
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: Index match with multiple columns/rows

    Quote Originally Posted by Czeslaw View Post
    Another option with the function AGGREGATE.
    Thanks! This works!

    I could get the index sumproduct to work with the dummy data set but no not with the real one for some weird reason. But this works.

+ 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 across multiple rows and columns
    By kamran in forum Excel General
    Replies: 1
    Last Post: 06-19-2015, 01:42 PM
  2. [SOLVED] Index/Match with Multiple rows/columns #NA error
    By L4wd0g in forum Excel General
    Replies: 3
    Last Post: 12-24-2014, 02:34 AM
  3. [SOLVED] Index & Match Multiple Rows & Columns
    By brad_x81 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2014, 07:26 AM
  4. [SOLVED] INDEX+MATCH with multiple criteria across both rows and columns
    By george_k in forum Excel General
    Replies: 3
    Last Post: 10-26-2012, 04:11 PM
  5. Index and Match with multiple columns/rows
    By fab121 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2012, 02:33 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