Bonsoir Adrien et à tous,
En filtrant à coté sans doublon, te reste à copier la bonne liste à sa place.
Sub SansDoublons()
Dim Lg As Long
Lg = [A65536].End(xlUp).Row
Range("a1:d" & Lg).AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"e1:e2"), CopyToRange:=Range("g1:j1"), Unique:=True
End Sub
Fichier:
https://www.excel-pratique.com/~files/doc/Supprimer_doublons2.xls
Claude.
édit: ce code fait tout d'un coup
Sub SansDoublons2()
Dim Lg As Long
Application.ScreenUpdating = False
Lg = [A65536].End(xlUp).Row
Range("a1:d" & Lg).AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"e1:e2"), CopyToRange:=Range("g1:j1"), Unique:=True
Range("g1:j" & Lg).Cut Destination:=Range("a1")
End Sub