+ Reply to Thread
Results 1 to 3 of 3

Thread: Calculate every second column

  1. #1
    Registered User
    Join Date
    12-10-2007
    Location
    Trondheim, Norway
    Posts
    65

    Calculate every second column

    HI

    I have a sheet where I have data in every second column that I want to sum.

    I.e.

    Row 1 contians data in column A, C, E, G.....etc. Of course I cn use the normal SUM function, but when I have over 30 column it`s not so elegant...

    Any suggestion?

    Thanks for any help

    Elad
    Norway

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    3,788
    One way, an array formula so enter with ctrl+shift+enter

    =sum(if(mod(column(a1:e1),2)<>0,a1:e1))

  3. #3
    Registered User
    Join Date
    12-10-2007
    Location
    Trondheim, Norway
    Posts
    65
    Works fine -thanks a lot!

    elad
    Norway

+ 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.2.0