Sub toto()
application.screenupdating = false
Dim i As Long, compteur As Integer
With Sheets("Feuil1")
For i = 1 To .Range("A" & .Rows.Count).End(xlUp).Row
If .Cells(i, 1) = .Cells(i + 1, 1) Then
compteur = compteur + 1
.Cells(i + 1, 2).Cut (.Cells(i + 1, 2 + compteur))
Else
compteur = 0
End If
Next i
End With
application.screenupdating = true
End Sub