One way. Assumes 3 columns
Sub getstudentstatus()
lr = Cells(Rows.Count, 1).End(xlUp).Row
Range("A1:C" & lr).Sort Key1:=Range("A2"), Order1:=xlAscending, _
Header:=xlNo, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom, DataOption1:=xlSortNormal
On Error Resume Next
For i = lr To 2 Step -3
Cells(i, 4) = "In Progress"
If Application.CountIf(Range(Cells(i - 2, 3), _
Cells(i, 3)), "Completed") = 3 Then Cells(i, 4) = "Completed"
If Application.CountIf(Range(Cells(i - 2, 3), _
Cells(i, 3)), "Not Started") = 3 Then Cells(i, 4) = "Not Started"
Next i
With Range("A1

1")
..AutoFilter
..AutoFilter Field:=4, Criteria1:="<>"
End With
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"CJOHNSO92" <(E-Mail Removed)> wrote in message
news:CB62E36C-3F1D-422B-8D48-(E-Mail Removed)...
> Greetings,
> I am trying to combine rows of data for e-learning students and then
> determine certification status; here’s an extract as an example:
>
> Smith Module 1 Completed
> Jones Module 1 Completed
> Doe Module 1 Not Started
> Smith Module 2 Completed
> Jones Module 2 Completed
> Doe Module 2 Not Started
> Smith Module 3 Completed
> Jones Module 3 In Progress
> Doe Module 3 Not Started
>
> First I’d like to sort by Last Name. Once sorted I need status – if
> all 3
> modules completed, status='certified'. If only 1 or 2 have been
> completed,
> status='in progress', if none have been started, status='not started'.
> Ultimate goal is:
> Smith Completed
> Jones In Progress
> Doe Not Started
> File will be new each month (download from another system) and number of
> rows will vary.
> Many thanks for your help!