Sub buyuk_59(ByVal ay As Range, ByRef j As Integer)
Dim sh As Worksheet, i As Long, s2 As Worksheet, sat As Long
Sheets("en büyük 10 değer").Select
Set sh = Sheets("Veri")
Set s2 = Sheets("Sayfa1")
s2.Range("A2:G" & Rows.Count).ClearContents
If sh.AutoFilterMode = True Then sh.AutoFilterMode = False
sh.Range("A1").AutoFilter field:=1, Criteria1:=ay.Value
sh.Range("A1").CurrentRegion.Copy s2.Range("A1")
sonsat = s2.Cells(Rows.Count, "D").End(xlUp).Row
sh.AutoFilterMode = False
s2.Range("A2:G" & Rows.Count).Sort s2.Range("E2"), xlDescending
Range("A" & j & ":Y" & j + 9).Value = Empty
sat = j
For i = 2 To 11
If WorksheetFunction.CountIf(s2.Range("D2:D" & i), s2.Cells(i, "D").Value) = 1 Then
Cells(sat, "B").Value = s2.Cells(i, "D").Value
Cells(sat, "H").Value = s2.Cells(i, "G").Value
Cells(sat, "M").Value = s2.Cells(i, "F").Value
Cells(sat, "S").Value = s2.Cells(i, "C").Value
Cells(sat, "Y").Value = s2.Cells(i, "E").Value
sat = sat + 1
End If
Next
End Sub