Countif function for Even and Odd numbers
Try this
=COUNT(IF(MOD(A1:A25,2),A1:A25))
This is an array formula which must be entered by pressing CTRL+Shift+Enter
and NOT just enter. If you do it correctly then Excel will put curly brackets
around it {} you can't type these yourself.
Mike
"Jezzy" wrote:
Hi Hi,
I need help with a formula. I would like to count a column that consists of
even and odd numbers eg. 28, 31, 43, 50, 60. I like to count how many
numbers in that column is odd or even.
I have tried the following but it didn't work
=countif(a1:a10,"1","3","5")
Appreciate some help here.
Thanks
|