+ Reply to Thread
Results 1 to 5 of 5

Rank based on criteria in two columns & Assign points based on rank and number participant

  1. #1
    Registered User
    Join Date
    12-13-2011
    Location
    Regina, Saskatchewan
    MS-Off Ver
    Excel 2007
    Posts
    3

    Rank based on criteria in two columns & Assign points based on rank and number participant

    Good Morning,

    I'm having issues ranking based on two criteria. In column H is "Furthest Station" and column I is "Total Time".

    Athlete who makes it to the furthest station in the fastest time will rank 1 then down the line. I've attached a Before and After. I've already sorted the athletes based on station and time. Men and women are ranked independently. Rank 1 gets the most points based on total number of athletes. So if you are 1st out of 6 people you get 6 points, next person gets 5 points, etc... Points are shared if you rank the same as someone else. Ex. tie for 2nd with 6 people total so they share points 5 + 4 = 9 so 4.5 each and each rank 2nd.

    I've been playing with SUMPRODUCT, COUNTIFS, IF statements but can't seems to get it right. This is for a non-profit who scores events on paper and we are trying to reduce human error for athletes.

    Any help is appreciated. I'll upload my excel workbook.
    Attached Files Attached Files
    Last edited by sopink; 07-04-2017 at 01:27 PM. Reason: Add excel file

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: Rank based on criteria in two columns & Assign points based on rank and number partici

    Simplest method I can think of is to add helper column (Inserted before Points, in column J)
    =H2-I2/1000

    Points column formula (Column K):
    =1+COUNTIFS($B$2:$B$14,B2,$J$2:$J$14,"<"&J2)

    Rank column formula (Column L):
    =1+SUMPRODUCT(($B$2:$B$14=B2)*($J$2:$J$14>J2))

    Edit: Adjust /1000 to larger number if needed.
    Attached Files Attached Files
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,553

    Re: Rank based on criteria in two columns & Assign points based on rank and number partici

    Taking into account that you would like the points for ties to be split, the following proposed solution with two helper columns (which may be hidden for aesthetic purposes) is offered.
    The formula that populates the first helper, a column of ranks disregarding ties, is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The formula that populates the second helper, a column which assigns points to a rank is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The formula that populates column K is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The formula that populates column J is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that the time in E12 has been changed to illustrate how the solution works for ties.
    I have only done limited testing.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Registered User
    Join Date
    12-13-2011
    Location
    Regina, Saskatchewan
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Rank based on criteria in two columns & Assign points based on rank and number partici

    Thank you JeteMc your solution works well. I missed one consideration. If you do not succeed at the first station, you get a score of zero and no rank and no points. I tried the formula doesn't change the persons rank if I delete their score. How do I account for the case where they score zero?

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,553

    Re: Rank based on criteria in two columns & Assign points based on rank and number partici

    Try pasting the following formula into cell J2, then copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

+ 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: 2
    Last Post: 04-27-2015, 08:50 AM
  2. Assign value based on rank
    By chaulmers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-17-2013, 02:10 AM
  3. [SOLVED] Rank function, based on 2 criteria / columns
    By Hein in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2013, 11:34 PM
  4. Rank based on criteria
    By Steve DeBruin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  5. [SOLVED] Rank based on criteria
    By Steve DeBruin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  6. Replies: 1
    Last Post: 08-15-2005, 05:05 PM
  7. Can I assign a rank based on a cells' value
    By Jason in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-10-2005, 06:06 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