
Originally Posted by
duane
adjust your range as required
=SUMPRODUCT((MOD(A1:A10,2)=0)*1)&"E"&" "&SUMPRODUCT((MOD(A1:A10,2)<>0)*1)&"O"
Thanks Duane,
That works perfectly!
I'm using this formula
=COUNT(B1:B163)-SUMPRODUCT((MOD(B1:B163,2)=0)*1)&"E"&" "&SUMPRODUCT((MOD(B1:B163,2)<>0)*1)&"O"
to count the totals of each..... that's because I have 163 rows at present.
Tom
Checking this formula on smaller amount of cells it appears the Count pre-fix messes things up... The formula works as
=SUMPRODUCT((MOD(B1:B163,2)=0)*1)&"E"&" "&SUMPRODUCT((MOD(B1:B163,2)<>0)*1)&"O"
Just like you originally said!
Bookmarks