I'm looking to SUM the "odd" and "even" numbers.
In this case below there should be 2 "odd" and 3 "even" numbers.
N13 8
O13 5
P13 0
Q13 7
R13 4
S13 <blank>
The coding I'm using is:
For "ODD" in cell T13:
=SUMPRODUCT(--(MOD(N13:S13,2)=1))
For "EVEN" in cell U13:
=SUMPRODUCT(--(MOD(N13:S13,2)=0))-COUNTIF(N13:S13,"")
This coding was working, now appearing is the terrible "#VALUE!" in both cells. The cell format is "General" on all cells.
Again I cleared the cells and re-entered the coding – and still the same.
Any suggestions???
Bookmarks