Sub Compte()
Dim Vert, SommeBlanc, SommeVert, L%
Application.ScreenUpdating = False
Vert = RGB(0, 255, 0) ' adapter la couleur
For L = 2 To Range("A65500").End(xlUp).Row ' adapter la colonne
If Cells(L, "A").Interior.Color = Vert Then
SommeVert = SommeVert + Cells(L, "A")
Else
SommeBlanc = SommeBlanc + Cells(L, "A")
End If
Next L
[E3] = SommeBlanc
[E4] = SommeVert
End Sub