例如按智i总分排名
Tables("打分排名表").Sort = "智i总分 desc"
Dim r As Row = Tables("打分排名表").Rows(0)
r("名次") = 1
For i As Integer = 1 To Tables("打分排名表").Rows.Count - 1
r = Tables("打分排名表").Rows(i)
If r("智i总分") = Tables("打分排名表").Rows(i-1)("智i总分") Then
r("名次") = Tables("打分排名表").Rows(i-1)("名次")
Else
r("名次") = i+1
End If
Next