DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub benzersizler()
Dim sat As Integer, s As Integer
Range("c1:c" & Rows.Count).ClearContents
s = 1
For sat = 1 To Cells(Rows.Count, "a").End(xlUp).Row
If WorksheetFunction.CountIf(Range("b1:b" & sat), Cells(sat, "a")) = 0 Then
Cells(s, "c") = Cells(sat, "a").Value
s = s + 1
End If
Next
End Sub
Kod:Sub benzersizler() Dim sat As Integer, s As Integer Range("c1:c" & Rows.Count).ClearContents s = 1 For sat = 1 To Cells(Rows.Count, "a").End(xlUp).Row If WorksheetFunction.CountIf(Range("b1:b" & sat), Cells(sat, "a")) = 0 Then Cells(s, "c") = Cells(sat, "a").Value s = s + 1 End If Next End Sub