Forum Discussion
ahmad ali
Jan 05, 2019Brass Contributor
I need to use MOD function
Hello,
I need to add the odd columns (A,C and E) and put the result under Total in
and add the even columns (B,D and F) and put the result under Total out
I have to use MOD function .... thanks
I've tried ( =SUMIF(A2:F2;MOD(COLUMN(A2);2)<>0;A2:F2) ) but it's not working?
could you please fix my formula? thanks
Hi,
That could be
=SUMPRODUCT(A2:F2*ISODD(COLUMN(A2:F2))) and =SUMPRODUCT(A2:F2*ISEVEN(COLUMN(A2:F2)))
3 Replies
- SergeiBaklanDiamond Contributor
Hi,
That could be
=SUMPRODUCT(A2:F2*ISODD(COLUMN(A2:F2))) and =SUMPRODUCT(A2:F2*ISEVEN(COLUMN(A2:F2)))
- ahmad aliBrass Contributor
Dear Sergei Baklan,
Thank you so much
- SergeiBaklanDiamond Contributor
Ahmad, you are welcome