+ Reply to Thread
Results 1 to 8 of 8

Rank/Vlookup? Question

  1. #1
    Registered User
    Join Date
    07-25-2014
    Location
    Cali
    MS-Off Ver
    2007
    Posts
    3

    Rank/Vlookup? Question

    I'm not great with Excel, so any help would be awesome!

    I'm taking stats for my team, and I'm trying to create Top 5 lists for different stats. For example,

    Player Goals
    Al 4
    Bob 11
    Craig 1
    Dave 7
    Ed 5
    Frank 3
    Gary 9

    I'd like to get a top 5 list, so it would rank

    1. Bob
    2. Gary
    3. Dave
    etc.

    I can use =rank to give each player a number rank, but I don't know how to change that to a name.

    Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Rank/Vlookup? Question

    Can't you just sort the columns from highest to lowest?

  3. #3
    Registered User
    Join Date
    07-25-2014
    Location
    Cali
    MS-Off Ver
    2007
    Posts
    3

    Re: Rank/Vlookup? Question

    I have multiple stats on my spreadsheets, like goals/assists/playing time, etc. I can sort by one column, but I'd have to redo it for each one.

    In addition, I'm hoping to be able to eventually make printouts where top 5's for every stat is on the same sheet.

  4. #4
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Rank/Vlookup? Question

    Sorting as hoyasaxa215 suggested, or a Pivot table, would work much better I think.... This is probably overkill.

    Make the BOLD RED reference in this formula point to the rank number you are looking for (a cell that contains the number 1 for example would be rank 1)
    Make the BOLD BLUE number the total number of player names who are ranked
    Make the BOLD GREEN areas the range which contains the number of goals scored
    Make the BOLD BLACK area the list of player names

    Hold Control and Shift when you press Enter to input this formula properly. Start at Rank 1, and copy/drag the formula down.

    =INDEX($A$1:$A$7,SUM(ROW($1:$7)*(--($B$1:$B$7=LARGE($B$1:$B$7,A14)))))


    Alternately, if you don't want to have to put a 1, 2, 3 in the bold red, replace the bold red with ROW(1:1)
    =INDEX($A$1:$A$7,SUM(ROW($1:$7)*(--($B$1:$B$7=LARGE($B$1:$B$7,ROW(1:1))))))
    Last edited by Speshul; 07-25-2014 at 12:49 PM.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  5. #5
    Registered User
    Join Date
    07-25-2014
    Location
    Cali
    MS-Off Ver
    2007
    Posts
    3

    Re: Rank/Vlookup? Question

    Thank you, this is what I was looking for!

  6. #6
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Rank/Vlookup? Question

    Thanks for the feedback.

    If you could, please go to the Top of your first post and look under Thread Tools for the Mark as Solved option, to make this thread as solved.

    Thanks and welcome to ExcelForum

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Rank/Vlookup? Question

    Please find the attached sheet to see the ways around to achieve this.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  8. #8
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,660

    Re: Rank/Vlookup? Question

    Or you can use a pivot table
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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] Rank Question
    By Andrew in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 03:05 AM
  2. Rank Question
    By Andrew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-30-2005, 12:09 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