Arkadaşlar benim aşağıdaki gibi bir kod sayfam var.Burda aynı olanları toplama işlemi yapıyor.Ama ben burda toplama işlemini hangi kodların yaptığını bulamıyorum.
Sub LİSTELE()
Application.ScreenUpdating = False
Set ST = Sheets("tablo")
Set SG = Sheets("gösterge")
ST.[A3:B65536].ClearContents
ST.[IV2:IV65536].ClearContents
SG.Select
For X = 5 To 30
SG.Range(Cells(6, X), Cells(25, X)).Copy
ST.Range("IV65536").End(3).Offset(1, 0).PasteSpecial Paste:=xlPasteValues
Next
ST.Select
Application.CutCopyMode = False
[IV2:IV65536].Sort Key1:=Range("IV2")
Columns("IV").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=[A2], Unique:=True
ST.[IV2:IV65536].ClearContents
[A1].Select
For Y = 3 To [A65536].End(3).Row
Cells(Y, 2) = Evaluate("=SUMPRODUCT((TARİH>=A1)*(TARİH<=B1)*(VERİ=" & Cells(Y, 1).Address & "))")
Next
Application.ScreenUpdating = True
MsgBox "LİSTELEME İŞLEMİ TAMAMLANMIŞTIR.", vbInformation
End Sub
Sub LİSTELE()
Application.ScreenUpdating = False
Set ST = Sheets("tablo")
Set SG = Sheets("gösterge")
ST.[A3:B65536].ClearContents
ST.[IV2:IV65536].ClearContents
SG.Select
For X = 5 To 30
SG.Range(Cells(6, X), Cells(25, X)).Copy
ST.Range("IV65536").End(3).Offset(1, 0).PasteSpecial Paste:=xlPasteValues
Next
ST.Select
Application.CutCopyMode = False
[IV2:IV65536].Sort Key1:=Range("IV2")
Columns("IV").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=[A2], Unique:=True
ST.[IV2:IV65536].ClearContents
[A1].Select
For Y = 3 To [A65536].End(3).Row
Cells(Y, 2) = Evaluate("=SUMPRODUCT((TARİH>=A1)*(TARİH<=B1)*(VERİ=" & Cells(Y, 1).Address & "))")
Next
Application.ScreenUpdating = True
MsgBox "LİSTELEME İŞLEMİ TAMAMLANMIŞTIR.", vbInformation
End Sub