Sub es()
Dim i As Long, j As Long
Application.ScreenUpdating = False
For j = 2 To Cells(Rows.Count, 4).End(xlUp).Row
If MonthName(Month(Cells(j, 4))) = "août" Then
For i = 2 To Cells(Rows.Count, 4).End(xlUp).Row
If MonthName(Month(Cells(i, 4))) <> "août" Then
If Cells(i, 2) = Cells(j, 2) Then
Cells(i, 50) = 1: Cells(j, 50) = 1
End If: End If: Next i: End If: Next j
For i = 2 To Cells(Rows.Count, 50).End(xlUp).Row
If Cells(i, 50) Then
Range(Cells(i, 1), Cells(i, 4)).Copy Destination:=Cells(Rows.Count, 8).End(xlUp)(2)
Cells(i, 50) = ""
End If: Next i
End Sub