Sub DuplikateEntfernen()
Dim n As Long
Dim u As String
Dim v As String
Dim w As String
With ThisWorkbook.Worksheets(1)
' Erste Zeile...
u = .Cells(2, 2).Value
v = .Cells(2, 3).Value
w = .Cells(2, 5).Value
' Weitere Zeilen...
For n = 3 To 25 ' Letzte Zeile
If u <> .Cells(n, 2).Value Then
u = .Cells(n, 2).Value
Else
.Cells(n, 2).Value = ""
End If
If v <> .Cells(n, 3).Value Then
v = .Cells(n, 3).Value
Else
.Cells(n, 3).Value = ""
End If
If w <> .Cells(n, 5).Value Then
w = .Cells(n, 5).Value
Else
.Cells(n, 5).Value = ""
End If
Next
End With
End Sub