Public Sub NgoWaXa()
Dim Vung, Tach, I, J, d, Cll, TachTiep
Set d = CreateObject("scripting.dictionary")
Vung = Range([B1], [B10000].End(xlUp))
For Each Cll In Vung
Cll = Replace(Cll, ":", ",")
Tach = Split(Cll, ";")
For I = LBound(Tach) To UBound(Tach)
TachTiep = Split(Tach(I), ",")
For J = LBound(TachTiep) To UBound(TachTiep) - 1
If Not d.exists(TachTiep(J)) Then
d.Add TachTiep(J), Val(TachTiep(UBound(TachTiep)))
Else
d.Item(TachTiep(J)) = d.Item(TachTiep(J)) + Val(TachTiep(UBound(TachTiep)))
End If
Next J
Next I
Next Cll
[G6:H1000].ClearContents
[G6].Resize(d.Count) = Application.WorksheetFunction.Transpose(d.keys)
[H6].Resize(d.Count) = Application.WorksheetFunction.Transpose(d.items)
End Sub