Hi and welcome to the forum.
Not very elegant, but it works!
Sub Update()
Dim i As Long, r As Long
Application.ScreenUpdating = False
r = 16
With Sheet2
For i = 2 To Sheet1.Cells(Rows.Count, 17).End(xlUp).Row
.Cells(r, 5) = Sheet1.Cells(i, 17)
.Cells(r, 4) = Sheet1.Cells(i, 19)
r = r + 1
Next
r = 16
Do Until .Cells(r, 5) = ""
For i = 16 To .Cells(Rows.Count, 5).End(xlUp).Row
If i = r Then GoTo Nxt
If .Cells(i, 5) = .Cells(r, 5) Then
.Cells(r, 4) = .Cells(r, 4) + .Cells(i, 4)
Range(.Cells(i, 5), .Cells(i, 4)).Delete
End If
Nxt:
Next
r = r + 1
Loop
End With
End Sub