Bonjour,
merci pour vos retour. mon problème c'est que j'ai 2 colonnes qualitatives et la 3ème colonne "Tickets" est quantitative. je travaille sur des statistiques je voudrai compter le nombre de tickets total pour les clients avec le critère EMAIL et MAGASIN avec VBA SVP.
Sub aargh() dl = Cells(Rows.Count, 1).End(xlUp).Row
criterecol1val1 = "Temoin"
criterecol1val2 = "EMAIL"
criterecol2val1 = "????????"
somme = 0 For i = 1 To dl
If (Cells(i, 7) = criterecol1val1 Or Cells(i, 7) = criterecol1val2) And Cells(i, 9) = criterecol2val1 Then
somme = somme + 1 Next i
Sheets("Brouillon").Range("B8").Value = somme
End Sub
merci
bien a vous