+ Reply to Thread
Results 1 to 3 of 3

Auto-Lookup Value based on formula result (VLOOKUP?)

  1. #1
    Registered User
    Join Date
    02-20-2012
    Location
    Powell River, BC
    MS-Off Ver
    Excel 2007
    Posts
    32

    Auto-Lookup Value based on formula result (VLOOKUP?)

    Please see the attached document for an example of what I'm talking about.

    I have a list of statistics for a sports team (E2:I11). I want to build a summary table, showing me the leaders in each category, and the number in that statistic (A2:C5). Now the number generation is easy, I used a MAX formula to show me the largest number in a range (each column). Now I'm stuck on the name part. I want B2, B3, B4 and B5 to automatically generate with the value in column E, based on the value in column C.

    For example, in the document attached, B2 should return Guillermo Johannsen, as he has the most goals (highest number in column F). B3 should return Toney Haymaker. The table with the stats in it is sorted by points, so the B4 is easy, just a cell reference. B5 should be Rene Brien.

    Is this a VLOOKUP?

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Auto-Lookup Value based on formula result (VLOOKUP?)

    There is no attachment. maybe repeat it again.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Auto-Lookup Value based on formula result (VLOOKUP?)

    Hi

    Instead use Max. Change it to Large. If column C is High score use this =IFERROR(LARGE($c$2:$c$11,ROWS($1:1)),"") Then copy down.

    Then use this forumla to pick up the name=IFERROR(INDEX($B$2:$B$11,SMALL(IF($C$2:$C$11=F2,ROW($C$2:$C$11)-MIN(ROW($C$2:$C$11))+1),COUNTIF($F$2:F2,F2))),"") CTRL+SHIFT+ENTER. Then copy down.
    If you got any more like points or other change =IFERROR(INDEX($B$2:$B$11,SMALL to =IFERROR(INDEX($D$2:$D$11,SMALL.Rest stay C Columns. CTRL+SHIFT+ENTER. Then copy down.

    Here a Sample file
    Attached Files Attached Files
    Last edited by micope21; 06-04-2012 at 03:22 AM.
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

+ 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