+ Reply to Thread
Results 1 to 7 of 7

Summing different columns if certain text is entered in a cell

  1. #1
    Registered User
    Join Date
    02-25-2004
    Posts
    5

    Red face Summing different columns if certain text is entered in a cell

    Hi!
    I would like to summ data in different ranges if I enter a word or number into a cell.
    e.g
    I enter 3 into cell a1
    This will summ cells b3,c3,e3, to cell a3
    I enter 4 into cell a1
    This will summ cells b3,d3,e3,g3 to cell a3.
    Ofcourse I need to do this in several rows.

    Any ideas how I could make this happen?

    Thanks.

  2. #2
    Registered User
    Join Date
    02-25-2004
    Posts
    5

    Thumbs down

    I know someone out there is dieing to solve my problem.

  3. #3
    Registered User
    Join Date
    02-25-2004
    Posts
    5
    Last call for help!

  4. #4
    Forum Contributor
    Join Date
    06-10-2004
    Location
    India
    Posts
    1,066
    I guess you could simply have:

    = if(a1=3,(b3+c3+e3),if(a1=4,(b3+d3+e3+g3),""))

    and then drag it down.

    - Mangesh

  5. #5
    Registered User
    Join Date
    02-25-2004
    Posts
    5
    Hi Mangesh!
    Thanks for the tip, for some reason it says invalid formula.
    I'll keep trying maybe I'm screwing up something.
    Thx

  6. #6
    Registered User
    Join Date
    12-03-2004
    Posts
    4
    works for me.

  7. #7
    Registered User
    Join Date
    02-25-2004
    Posts
    5
    Thanks Jenkins,

    Could be because I'm using different language version.
    Althought it usually recognises the functions even if I enter them in english.
    I'll have more time to work on it during the weekend.

+ 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