A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Try this modified version:
Sub Summary()
Dim Cl As Range
Dim D1 As Object
Dim D2 As Object
Set D1 = CreateObject("Scripting.Dictionary")
Set D2 = CreateObject("Scripting.Dictionary")
For Each Cl In Range("A8", Range("A" & Rows.Count).End(xlUp))
D1.Item(Cl.Value) = D1.Item(Cl.Value) + Cl.Offset(, 4).Value
D2.Item(Cl.Offset(, 1).Value) = D2.Item(Cl.Offset(, 1).Value) + 1
Next Cl
Range("J8").Resize(D1.Count).Value = Application.Transpose(D1.Keys)
Range("K8").Resize(D2.Count).Value = Application.Transpose(D2.Keys)
Range("L8").Resize(D1.Count).Value = Application.Transpose(D1.Items)
End Sub