데이터 요약하기
Sub MergeProductDataWithFormatting() Dim x, i As Long, P As Long, k As Long, n As Long Dim ws As Worksheet Set ws = Sheets("Product") With ws.Range("a1").CurrentRegion x = .Value With CreateObject("Scripting.Dictionary") .Comparemode = 1 For i = 1 To UBound(x) If .Exists(x(i, 1)) Then n = .Item(x(i, 1)) x(.Item(x(i, 1)), 2) = x(.Item(x(i, 1)), 2) + x(i, 2) x(.Item(x(i, 1)), 3) = x(.Item(x(i, 1))..
2023. 8. 12.