=SUMPRODUCT((MOD(COLUMN(AK6:HN6),2))*(AK6:HN6)) works
=SUMPRODUCT((MOD(COLUMN(AK6:HN6),2))*(AK6:HN6)) works
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
I tried it, but it doesn't seem there just yet... I believe these cells (AW6, AY6, BC6, BE6, CI6, CK6, FY6, GA6, GS6, GU6, HK6, HM6) that I want excluded in the summation, are causing the problem. How can I write a formula that excludes these specific cells in the calculation? Thanks for your help
hn6 is not in every other column starting ak6,
but why not just subtract them
=SUMPRODUCT((MOD(COLUMN(AK6:HN6),2))*(AK6:HN6))-SUM(AW6, AY6, BC6, BE6, CI6, CK6, FY6, GA6, GS6, GU6, HK6)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks