+ Reply to Thread
Results 1 to 9 of 9

Alternate column summation

Hybrid View

  1. #1
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Alternate column summation

    =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

  2. #2
    Registered User
    Join Date
    03-23-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Alternate column summation

    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

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Alternate column summation

    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)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1