ActiveCell = Application.WorksheetFunction.CountIf(Range("R107:R137"), "Oui")
Range("R143") = Application.WorksheetFunction.CountIf(Range("R107: R137"), "Oui")
another question ...
Si à la place d'une cellule précise, je veux mettre le résultat dans la feuille 2 d'excel ?
MErci again & again ..
Sheets("Feuil2").Range("R143").Value = Application.WorksheetFunction.CountIf(Range("R107: R137"), "Oui")
Re,
pour atteindre la feuille 2 :
Code:Sheets("Feuil2").Range("R143").Value = Application.WorksheetFunction.CountIf(Range("R107: R137"), "Oui")
petite derniére question .. promis .. ze last ...
ça ..
Range("J140") = Application.WorksheetFunction.SumIf(Range("U107:U137"), "Oui","J107:J137)/Application.WorksheetFunction.CountIf(U107:U137"),"Oui")
En gros avec les fonctions Excel, je veux diviser un SommeSi par un NBsi ( SumIf / CountIf )
est ce possible ?
MErci !