Hi Welchs, the following should work pretty well. It inserts a unique list of ID's into column D and then the sums (using SUMIF formulas) into column E.
Sub welchs()
Dim colA As Long, colD As Long
colA = Range("A" & Rows.Count).End(xlUp).Row
Range("A1:A" & colA).AdvancedFilter Action:=xlFilterCopy, CopyToRange:=Range("D1"), Unique:=True
Range("E1").Value = "Hours"
Range("E2").Formula = "=SUMIF($A:$A,D2,$B:$B)"
colD = Range("D" & Rows.Count).End(xlUp).Row
Range("E2").AutoFill Destination:=Range("E2:E" & colD)
End Sub
Bookmarks