+ Reply to Thread
Results 1 to 4 of 4

I need a formula that will rank based on highest data

  1. #1
    Registered User
    Join Date
    03-12-2014
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    2

    I need a formula that will rank based on highest data

    Hi there, I need some help in finding a solution to my problem. I am building a football stat database which I am looking to put in an individual sheet which will search the other 20 sheets, collate the information and then display a top 5 ranking in each area. For example, this is our setup for the data:

    Screenshot 2014-03-12 21.56.18.jpg

    So what I want to to is have a separate sheet which will have a section for say over 1.5 goals %. The formula would go and retrieve all of the % results for each individual team. Then it would rank the 5 best teams and display the team name in the first cell and the % in the other cell.

    Is that possible? I just can't seem to get my head round trying to do this.

    Thanks

    Andy

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: I need a formula that will rank based on highest data

    Sounds possible.

    Just need a list of teams, a couple of VLOOKUPS, and an IF(RANK(.

    I couldn't read a darn thing on that poloroid you posted (my eyesight is starting to go as I enter the third decade), so I just made up my own team roster and showed you how it might work.

    Top5Teams.xlsx
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    03-12-2014
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    2

    Re: I need a formula that will rank based on highest data

    That would work for the one workbook, however, is there a way to get excel to rank and display a top 5 itself? The reason why I ask this is I would like to be able to run this across multiple workbooks with about 100-120 teams. What I don't want to do is have to have list the whole 120 teams so that they become ranked.

    goals template.xlsx

    I have attached an idea of what I want it to look like once excel has generated the ranking and the content from the rest of the workbook. I just cant figure out how to get excel to do that part.

    Thank you for the last post, I really appreciate it

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: I need a formula that will rank based on highest data

    Oh. Well, this works pretty well until you need a tie-breaker.

    Let's pretend you have a range of teams in A1:A50, and % in B1:B50:

    Team 1 Name =LOOKUP(LARGE(B1:B50,ROW(A1)),B1:B50,A1:A50)
    Team 1 % =LARGE(B1:B50,ROW(A1))

    And then copied down 5 rows.

    This calculates the largest score and then pulls the associated name on the same row.

    It's very difficult to build something more indepth without at least an example of the source table. Perhaps a VB solution?

+ 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. Replies: 13
    Last Post: 12-22-2013, 09:25 PM
  2. Return Value base on Top x highest rank
    By danzarette in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-20-2013, 12:05 PM
  3. [SOLVED] Need a formula to rank highest to lowest values numerically
    By matt1020 in forum Excel General
    Replies: 3
    Last Post: 12-09-2012, 09:38 PM
  4. rank highest date together with its adjacent rows
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-19-2009, 10:59 AM
  5. [SOLVED] Rank where lowest value is highest rank
    By mile3024 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2005, 07:00 PM

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