+ Reply to Thread
Results 1 to 4 of 4

Name based on highest score

  1. #1
    Forum Contributor
    Join Date
    08-01-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    182

    Name based on highest score

    Hi All,

    Please find attached the sheet. What I want is that the name of the person in Row 4 should come up based on the highest score in row 29. I believe it is a mix of Index, Match and Max but for the life of me can not figure it out...

    Cheers-
    Inayat
    Attached Files Attached Files
    Last edited by inayat; 10-12-2011 at 12:09 AM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Name based on highest score

    Try

    =INDEX(D4:F4,MATCH(MAX(D28:F29),D29:F29,0))

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Name based on highest score

    Perhaps =INDEX(D4:F4,,MATCH(MAX(D29:F29),D29:F29,0))

  4. #4
    Forum Contributor
    Join Date
    08-01-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    182

    Re: Name based on highest score

    Thats exactly what I needed... Thanks guys... I was making a simple mistake.. I was giving the entire range in the matach lookup array instead.. the formula that I was using was:
    =INDEX(D4:F4,MATCH(MAX(D29:F29),B4:F29,0))

    EDIT: Just a small thought... what happens if the score is same for two people... it will take the first one.. what if I want it to display both the names...
    Last edited by inayat; 10-11-2011 at 04:11 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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