Race results - Problem with rankings

AJSharpy

New Member
Joined
Oct 1, 2016
Messages
12
Hi Folks,

Quite often come here to find solutions and the forums are great! However this time i'm totally stumped, so my first post is a plea for help!

I'm running a ski competition and for the races i need to rank competitors based on their time through the course. Which is fine and dandy, the problem comes when a racer posts either a DNS, DNF or DSQ. As per the race rules, those who post a DSQ are still awarded a time, but are then excluded from the ranking. This is what's causing me so much grief!

G H I J K L
MinsSecondsMillisecondsConditionsTimeRank
111101:01:112
000DNF00:00:00#VALUE!
333DSQ03:03:03#VALUE!
44404:04:044
55505:05:055
66606:06:066
77707:07:077

<colgroup><col width="77"><col width="77"><col width="90"><col width="77"><col width="77"><col width="77"></colgroup> <tbody>
</tbody>

Trying to use something like this: =IF($J4="";RANK(K4;$K$4:$K$100;1);IF($J4="*",L4,100))
I need the Rank column to rank those who set a legitimate time, with rank 1 being the quickest time, while giving those who DSQ etc a rank of 100 to list them at the bottom of the results.

Anyone got any ideas? I'm going spare trying to find an answer! Why can't there just be a RANKIF! (Please note, i'm using OpenOffice but the functions etc are basically the same as Excel)

Thanks in advance!
 
Try

=IF(ISNUMBER(SEARCH("D",J4)),J4,IF(ISNUMBER(SEARCH("D",P4)),P4,COUNTIFS(J:J,"=",P:P,"=",S:S,"<"&S4)+1))

M.
 
Upvote 0

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,216,188
Messages
6,129,400
Members
449,508
Latest member
futureskillsacademy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top