Here is one example. To make the data easy to access for the demo I'm loading it into a list box and pumping the results out to a message box.
Code:
Private Sub Command1_Click()
Dim intRanking(3) As Integer
Dim i As Integer
Dim x As Integer
Dim strLine() As String
Dim strValue As String
For i = 0 To List1.ListCount - 1
strLine = Split(List1.List(i), " ")
strValue = strLine(UBound(strLine))
Select Case Val(strValue)
Case Is < 50
x = 0
Case Is < 80
x = 1
Case Is < 96
x = 2
Case Else
x = 3
End Select
intRanking(x) = intRanking(x) + 1
Next i
MsgBox "Below Basic: " & intRanking(0) & vbCrLf & _
"Basic: " & intRanking(1) & vbCrLf & _
"Proficient: " & intRanking(2) & vbCrLf & _
"Advance: " & intRanking(3)
End Sub
Private Sub Form_Load()
List1.AddItem "John Smith 50"
List1.AddItem "Jane Doe 81"
List1.AddItem "Person 3 30"
List1.AddItem "Person 4 99"
List1.AddItem "Person 5 42"
List1.AddItem "Person 6 87"
End Sub