Test it, more intuitive
=SUMPRODUCT(--(MOD(A1:A6,2)=0),A1:A6)
Pity about ISEVEN
--
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Rick Rothstein (MVP -
VB)" wrote in
message ...
=SUMPRODUCT(MOD(A1:A6,2),A1:A6)
That is for odd numbers... I guess you can use this for even numbers...
=SUMPRODUCT(1-MOD(A1:A6,2),A1:A6)
Rick