What I've done so far:
Sub Button1_Click()
Dim rfound As Range
Dim lCount As Long
Set rfound = Range("B1")
For lCount = 1 To WorksheetFunction.CountIf(Columns(2), "RaceA")
Set rfound = Columns(2).Find("RaceA", After:=rfound, LookIn:=xlValues, LookAt:= _
xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _
, SearchFormat:=False)
With rfound
'code to search for the corresponding Time and then identify the ranking
End With
Next lCount
End Sub
However I'm unsure on how to search for the corresponding time for Race A, and then give it a ranking of 1st, 2nd and 3rd. Can someone please help !
Bookmarks