Sub GroupColor()
couleurs = Array(3, 4, 6, 7, 8, 14, 15, 17, 20, 22, 24, 26, 27, 28, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 50, 53)
Set mondico = CreateObject("Scripting.Dictionary")
For Each c In Range("a2", [a65000].End(xlUp))
If c <> "" Then mondico.Item(c.Value) = mondico.Item(c.Value) + 1
Next c
tableauClés = mondico.keys
For Each c In Range("a2", [a65000].End(xlUp))
If c <> "" Then
nocoul = (Application.Match(c.Value, tableauClés, 0)) Mod UBound(couleurs)
If mondico.Item(c.Value) > 1 Then
c.Offset(, 1) = nocoul
c.Offset(, 2) = couleurs(nocoul)
c.Interior.ColorIndex = couleurs(nocoul)
End If
End If
Next c
End Sub