• 517K Members
• 4,277 Online
• 615K Conversations
SOLVED

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

3 Replies
Solution

# Re: I need to use MOD function

Hi,

That could be

```=SUMPRODUCT(A2:F2*ISODD(COLUMN(A2:F2)))
and
=SUMPRODUCT(A2:F2*ISEVEN(COLUMN(A2:F2)))```

Highlighted

# Re: I need to use MOD function

Dear Sergei Baklan,

Thank you so much

# Re: I need to use MOD function

Related Conversations
A problem with the Zoom level of a Tab
Tavory in Discussions on
9 Replies
Which formula to use
Ramon Haagen in Excel on
2 Replies
function talking to table storage
donquijote in Compute on
0 Replies
Calculated column help
gopalaraoa in SharePoint on
1 Replies
Combining IF and INDEX functions
Hans van Deursen in Windows PowerShell on
2 Replies
Finding the data and to color code it
NishantSalunkhe in Excel on
3 Replies