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
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>
[TD="width: 77"] Mins [/TD]
[TD="width: 77"] Seconds [/TD]
[TD="width: 90"] Milliseconds [/TD]
[TD="width: 77"] Conditions [/TD]
[TD="width: 77"] Time [/TD]
[TD="width: 77"] Rank [/TD]

</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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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