Sub ±Æ¦WAmoKat()
tm = Timer
Set xD = CreateObject("Scripting.Dictionary")
Arr = Range([h6], [h1].Cells(Rows.Count, 1).End(xlUp))
For i = 1 To UBound(Arr): xD(Arr(i, 1)) = 0: Next i '¦r¨å²£¥Í°ß¤@È
With [i6].Resize(xD.Count) '§Q¥Î Range.Sort ±Æ§Ç
.Value = Application.Transpose(xD.keys)
.Sort Key1:=.Item(1), Order1:=xlDescending, Header:=xlNo
End With
For i = 1 To xD.Count: xD(Cells(5 + i, "I").Value) = i: Next i '±Æ§Ç§Ç¸¹¼g¤J¦r¨å
For i = 1 To UBound(Arr) '¬d¸ß¦r¨å±Æ¦C§Ç¸¹
If Arr(i, 1) = "" Then Arr(i, 1) = 0 Else Arr(i, 1) = xD(Arr(i, 1))
Next i
[i6].Resize(UBound(Arr)) = Arr '¶K¤W¸ê®Æ
Set xD = Nothing: Erase Arr
Debug.Print Timer - tm '0.30"
End Sub