+ Reply to Thread
Results 1 to 4 of 4

Help with Looking up the value

  1. #1
    Registered User
    Join Date
    10-03-2013
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    34

    Help with Looking up the value

    Hi,

    I am familiar with the vlookup function however, I wanted to do a table where I can identify the best statistic of a person based on the highest number and indicate which stat is that on the next cell. Confusing? Please see the attached picture and file.

    sample.pngSample Data.xlsx

    Attachment 329852

    as you can see on the photo, Tom's best stat is scoring points. I obtained the value by using the formula =MAX(F6:H6). The problem is, how to i automate the value of the cell next to it J6 or the ?? cell. It should show "Points".
    Another question is, what if there are two identical numbers? Like what happened to Ben, how can make show both or only one?

    Thank you, your help is greatly appreciated

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Help with Looking up the value

    In J6, try:
    Please Login or Register  to view this content.
    Cheers,
    berlan

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Help with Looking up the value

    No need for offset, this will do it for you...

    =INDEX($F$5:$H$5,MATCH(I6,F6:H6,0))

    It will ID the 1st match it finds

    (OFFSET() is a volatile function, and, if used in enough quantities, will start to slow your file down)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Help with Looking up the value

    Thanks for the feedback, berlan

+ 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