+ Reply to Thread
Results 1 to 6 of 6

Ranking based on values

  1. #1
    Registered User
    Join Date
    01-23-2012
    Location
    Los Angeles, CA, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Ranking based on values

    Hi,

    I'm trying to rank a set of individuals based on scores. Specifically, I'm want to find the top three each day. In the attached example, cell B2 would return "D*ck" since he had the highest score that day (cell A2). Cell C2 would return "Sally" since she had the second highest score and cell D2 would return "Jennifer" since she had the third highest score. My goal is to do this for everyday in the time series.

    Can anyone help me out with a function that can accomplish this?

    Thank you very much for your help.
    Attached Files Attached Files
    Last edited by bpctrader; 02-05-2012 at 05:50 PM.

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Ranking based on values

    Hi, try this,

    B2, copy across & down.

    =INDEX($F$1:$M$1,MATCH(1,INDEX(($F2:$M2=LARGE($F2:$M2,B$1))*ISNA(MATCH($F$1:$M$1,$A2:A2,0)),0),0))
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    01-23-2012
    Location
    Los Angeles, CA, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Ranking based on values

    Thanks for the response. However, when I copy this into the relevant cells, I get a "#N/A" error. Any thoughts?

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Ranking based on values

    See the attached.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-23-2012
    Location
    Los Angeles, CA, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Ranking based on values

    I found the error! You are the best. Many thanks.

  6. #6
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Ranking based on values

    Glad it works

    If you are satisfied with solution please mark the thread as SOLVED.

    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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