DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Listele()
Application.ScreenUpdating = False
For a = 1 To 3
Sheets(a).Select
Range("I:BI") = ""
son = Cells(Rows.Count, 4).End(3).Row
For i = 1 To 10
Range("E1:G" & son).Replace i - 1, ""
Next
For i = 1 To son
For j = 5 To 7
adet = WorksheetFunction.CountIf(Range("I1:BI1"), Cells(i, j))
If adet = 0 Then
süt = WorksheetFunction.CountA(Range("I1:BI1")) + 9
Cells(1, süt) = Cells(i, j).Value
Cells(2, süt) = Cells(i, 4).Value
GoTo 10
End If
süt = WorksheetFunction.Match(Cells(i, j), Range("I1:BI1"), 0) + 8
sat = Cells(Rows.Count, süt).End(3).Row + 1
Cells(sat, süt) = Cells(i, 4).Value
10
Next
Next
Next
End Sub
Sub Listele()
Application.ScreenUpdating = False
For a = 1 To 3
Sheets(a).Select
Range("I:HI") = ""
son = Cells(Rows.Count, 4).End(3).Row
For i = 1 To 10
Range("E1:G" & son).Replace i - 1, ""
Next
For i = 1 To son
For j = 5 To 7
adet = WorksheetFunction.CountIf(Range("I1:HI1"), Cells(i, j))
If adet = 0 Then
süt = WorksheetFunction.CountA(Range("I1:HI1")) * 4 + 9
Cells(1, süt) = Cells(i, j).Value
Cells(2, süt) = Cells(i, 2).Value
Cells(2, süt + 1) = Cells(i, 3).Value
Cells(2, süt + 2) = Cells(i, 4).Value
GoTo 10
End If
süt = WorksheetFunction.Match(Cells(i, j), Range("I1:HI1"), 0) + 8
sat = Cells(Rows.Count, süt).End(3).Row + 1
Cells(sat, süt) = Cells(i, 2).Value
Cells(sat, süt + 1) = Cells(i, 3).Value
Cells(sat, süt + 2) = Cells(i, 4).Value
10
Next
Next
Next
End Sub