Поскольку в этом вопросе есть тег vba , словарь сценариев делает довольно быстрое суммирование.
Option Explicit
Sub SumArticles()
Dim i As Long, arr As Variant, dic As Object
'set up a dictionary object
Set dic = CreateObject("scripting.dictionary")
'work with Sheet1
With Worksheets("sheet1")
'collect values from worksheet
arr = .Range(.Cells(8, "A"), .Cells(.Rows.Count, "B").End(xlUp)).Value2
'loop through array, summing to dictionary items
For i = LBound(arr, 1) To UBound(arr, 1)
'shorthand overwrite dictionary add method
dic.Item(arr(i, 1)) = dic.Item(arr(i, 1)) + arr(i, 2)
Next i
'put dictionary keys and items back on worksheet
.Cells(8, "E").Resize(dic.Count, 1) = Application.Transpose(dic.keys)
.Cells(8, "F").Resize(dic.Count, 1) = Application.Transpose(dic.items)
End With
End Sub