Ranking lap times with 2 decimals

Lawrence Parker

New Member
Joined
Apr 21, 2019
Messages
2
So im trying to rank my lap times but i keep getting the error that my lap time is a text value and not a number value because it has two decimal places.

e.g
2.23.340 i get an error but 2.23 works.
is there a way to rank numbers with two decimal places.

Formula =RANK(D3:D27,LapTimes,1)

picture of my sheet
https://gyazo.com/4ef6b4384a66136d2b8846ccab78af57
 

higrm

New Member
Joined
Nov 5, 2014
Messages
47
More likely mm.ss.decimal seconds. So the example is probably 2 minutes 23.340 seconds.
 

higrm

New Member
Joined
Nov 5, 2014
Messages
47
I think you may need a helper column to convert to time values before you can rank. Use this formula on each entry: =TIMEVALUE(SUBSTITUTE(D3,".",":",1))
It is up to you to format it as a time or leave it as a decimal. But you can now rank this helper column.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
32,440
Office Version
365
Platform
Windows
How about
<b>Excel 2013/2016</b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>D</th><th>E</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style=";">Laptime</td><td style=";">Rank</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style=";">2.23.340</td><td style="text-align: right;;">2</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">4</td><td style=";">3.10.698</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">5</td><td style=";">2.11.969</td><td style="text-align: right;;">1</td></tr></tbody></table><p style="width:4.8em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Engine</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">E3</th><td style="text-align:left">=SUMPRODUCT(<font color="Blue">--(<font color="Red">TIMEVALUE(<font color="Green">SUBSTITUTE(<font color="Purple">D3,".",":"</font>)</font>)>TIMEVALUE(<font color="Green">SUBSTITUTE(<font color="Purple">D$3:D$5,".",":"</font>)</font>)</font>)</font>)+1</td></tr></tbody></table></td></tr></table><br />
 

Forum statistics

Threads
1,082,601
Messages
5,366,571
Members
400,902
Latest member
fathima

Some videos you may like

This Week's Hot Topics

Top