Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Jez,
That's not my method, it's one I saved from a post a couple of years ago. It may have been Biff's although I think more likely it was Bob Phillips. You may also want to take note of Harlan Grove's comments on the use of MOD and INT. Anyway, all up it sounds like you found what you were looking for so that's the main thing. Cheers Martin "Jezzy" wrote in message ... Hi All, Thanks for the reply. I tried MartinW's method and it works. Appreciate all your help very much. Jez "MartinW" wrote: Hi, Saved from a previous post, This will count the EVENS =SUMPRODUCT(--(A1:A10<""),--(MOD(A1:A10,2)=0)) And this the ODDS =SUMPRODUCT(--(A1:A10<""),--(MOD(A1:A10,2)=1)) HTH Martin "Jezzy" wrote in message ... 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF a cell value is between two numbers | Excel Worksheet Functions | |||
countif colored numbers | Excel Worksheet Functions | |||
Embed a countif function in subtotal function? | Excel Worksheet Functions | |||
COUNTIF for range of numbers | Excel Discussion (Misc queries) | |||
Countif for numbers between x and y | Excel Worksheet Functions |