+ Reply to Thread
Results 1 to 4 of 4

Lookup & Ranking

  1. #1
    Registered User
    Join Date
    11-06-2015
    Location
    Lancashire
    MS-Off Ver
    2013
    Posts
    19

    Lookup & Ranking

    Ok I may be doing this the hard way but what am i doing wrong.

    I want to do a random ranking of teams for a tournament so once they are entered then they are given a random number, ranked by the random number and then given a new order.

    but v or h lookup is not being my friend
    Attached Files Attached Files
    Last edited by mattthorpe23; 05-27-2016 at 05:20 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Lookup & Ranking

    Put this in E2:

    =INDEX(A:A,MATCH(D2,$C:$C,FALSE))

    then copy down.

    Alternatively, you could do away with column D and use this in E2:

    =INDEX(A:A,MATCH(ROWS($1:1),$C:$C,FALSE))

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-06-2015
    Location
    Lancashire
    MS-Off Ver
    2013
    Posts
    19

    Re: Lookup & Ranking

    That is great thank you.

    Is there any way i could control the randomise bit. so it only randomises the teams on a command?

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Lookup & Ranking

    One way to do it would be to set the Calculation Option on the Formulas tab to Manual, and then if you want to generate another list you can just press the F9 key.

    Another way (without using VBA) would be to use a cell to indicate that you want to change the random numbers (and thus the order of the teams). For this you need to enable iteration - click on the File button, then Excel Options at the bottom of the panel, then click on Formulas, and then click to Enable Iterative Calculation, then OK. Then you can use this formula in B2:

    =IF($H$2="Change",RAND(),B2)

    and copy this down. This assumes that you are using H2 as the indicator - put the word "Change" in that cell to recalculate everything, or anything else (or delete it) to remain the same. You could set up Data Validation on H2 so you could pick from Change or Remain, or whatever.

    Hope this helps.

    Pete

+ 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. Ranking Question - Ranking based criteria but having forumla value issues
    By harp1983 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2016, 07:03 AM
  2. Leauge Stats - Ranking using LOOKUP/SEARCH/INDEX
    By Bloodywog in forum Excel Formulas & Functions
    Replies: 43
    Last Post: 01-20-2014, 11:51 PM
  3. ELO ranking lookup problem
    By rugbytrader in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 07-30-2013, 07:02 AM
  4. [SOLVED] ranking formula and a double lookup
    By Nafrtiti in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-01-2012, 03:09 PM
  5. Replies: 6
    Last Post: 06-01-2010, 06:19 PM
  6. Number ranking and date lookup
    By THeavyGuy in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-04-2009, 03:39 PM
  7. [SOLVED] help using lookup and some kind of ranking criteria
    By my in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-18-2006, 12:45 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