+ Reply to Thread
Results 1 to 5 of 5

Index match matches the wrong column

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

    Index match matches the wrong column

    Hi,

    I'm doing an exercise where I ranking countries according values. I've attached the workbook. I'm using an index match match formula for this, but for some reason it's always returning the value from the column next to where it should return the value. I can't seem to figure this out...

    And I need to do a formula that first finds a match in one row and then finds the highest value in that column then returns the county on that row. It's highlight in yellow where the formulas need to go.

    Any help on this would be greatly appreciated.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Index match matches the wrong column

    Hi,

    It's not clear, at least to me what numbers you want. Manually add some typical results and explain with a note which sheet/cells produce these results.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Index match matches the wrong column

    Hi,

    a small correction


    =INDEX('Bilateral Remittance Matrix'!$N$3:$HS$218,MATCH(C4,'Bilateral Remittance Matrix'!$N$3:$N$218,0),MATCH(F4,'Bilateral Remittance Matrix'!$O$2:$HS$2,0))

    Same values from:

    =SUMPRODUCT('Bilateral Remittance Matrix'!$N$3:$HS$218,('Bilateral Remittance Matrix'!$N$3:$N$218=C4)*('Bilateral Remittance Matrix'!$N$2:$HS$2=F4))


    Regards
    Last edited by canapone; 10-19-2014 at 09:47 AM.
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

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

    Re: Index match matches the wrong column

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    It's not clear, at least to me what numbers you want. Manually add some typical results and explain with a note which sheet/cells produce these results.
    I have now uploaded a version with pasted values of the data I need returned. I hope it's clearer now.

    @canapone - thanks for your input. But I'm not sure if I entirely understand. I did use the N reference and I tried the sumproduct formula but for some reason it doesn't give the right matches. It's like it's working with some hidden fields, even though there are none.
    Attached Files Attached Files
    Last edited by Jonathan9; 10-20-2014 at 03:58 PM.

  5. #5
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Index match matches the wrong column

    Hi,

    please see the "green" sumproduct" and "index" in the attached file.

    Hope it's a little step forward
    Attached Files Attached Files

+ 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 with 3 matches
    By pauldaddyadams in forum Excel General
    Replies: 7
    Last Post: 04-23-2014, 10:43 AM
  2. [SOLVED] Index/Match with ability to sum one of the matches?
    By Revitigs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-31-2014, 12:18 PM
  3. Replies: 10
    Last Post: 08-19-2013, 11:33 AM
  4. [SOLVED] INDEX MATCH array formula that matches substring n gives multiple matches
    By bkwins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 04:57 AM
  5. Replies: 4
    Last Post: 07-18-2012, 02:34 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