+ Reply to Thread
Results 1 to 4 of 4

Index Match Match with rank check

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

    Index Match Match with rank check

    Hello people.

    I need to match value on one set of variables within that range I need to return a values that is ranked according to another variable.

    Hopefully the workbook explains it better than me.

    I believe that index match match can solve this issue, but I haven't been able to figure it out.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Index Match Match with rank check

    Try:

    =IFERROR(INDEX($B$4:$B$21,MATCH(1/(1/LARGE(IF($D$4:$D$21=G$3,$C$4:$C$21,0),ROW(A1))),$C$4:$C$21,0)),"")

    as an array formula in G4 (confirm with ctrl+shift+enter) and copy down/across.

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

    Re: Index Match Match with rank check

    Thanks!

    Yes, that formula seems to work. There's one part I don't understand though and that is the row function - why does that start at A1 and why isn't it locked?

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Index Match Match with rank check

    the row function returns the row of the reference. So, ROW(A1) returns 1. This is used as the second argument of the large function, so it tells the formula to return the largest value.

    When you drag it down a row, it becomes ROW(A2), which returns 2 and therefore returns the second largest value, and so on.

+ 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] pull next Rank on an Index/Match w/Max that uses (Countif) when IF
    By Dj Duck in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-11-2013, 12:31 PM
  2. Index/match problem with Changing Rank - Example inside
    By kamelkid2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-24-2013, 04:43 AM
  3. Using Index and Match to organize by rank
    By Weasel in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-06-2008, 09:45 PM
  4. percent rank and index/match/choose?
    By penfold in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-05-2008, 09:27 PM
  5. Simplifying RANK,MATCH, INDEX Formula
    By ChemistB in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-06-2007, 10:41 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