+ Reply to Thread
Results 1 to 3 of 3

Adding Up!

  1. #1
    Registered User
    Join Date
    05-05-2006
    Location
    Kent, England
    Posts
    37

    Question Adding Up!

    In cells A1:AH1 I have some numbers and some blanks
    In cells A2:AH2 I have a pick list of letters A, S, B

    When the user selects the "A" from the drop down list I want a formula which will add the totals of the cells in A1:AH1

    Any ideas?

    Thanks
    ExcelBob

  2. #2
    Guest

    Re: Adding Up!

    Hi

    Try this, presuming your drop-down list is in A3:
    =SUMPRODUCT(--(A2:AH2=A3),--(A1:AH1))

    Andy.

    "ExcelBob" <ExcelBob.29e8rk_1150291240.7517@excelforum-nospam.com> wrote in
    message news:ExcelBob.29e8rk_1150291240.7517@excelforum-nospam.com...
    >
    > In cells A1:AH1 I have some numbers and some blanks
    > In cells A2:AH2 I have a pick list of letters A, S, B
    >
    > When the user selects the "A" from the drop down list I want a formula
    > which will add the totals of the cells in A1:AH1
    >
    > Any ideas?
    >
    > Thanks
    > ExcelBob
    >
    >
    > --
    > ExcelBob
    > ------------------------------------------------------------------------
    > ExcelBob's Profile:
    > http://www.excelforum.com/member.php...o&userid=34152
    > View this thread: http://www.excelforum.com/showthread...hreadid=551845
    >




  3. #3
    Bernard Liengme
    Guest

    Re: Adding Up!

    Look in Help for SUMIF
    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "ExcelBob" <ExcelBob.29e8rk_1150291240.7517@excelforum-nospam.com> wrote in
    message news:ExcelBob.29e8rk_1150291240.7517@excelforum-nospam.com...
    >
    > In cells A1:AH1 I have some numbers and some blanks
    > In cells A2:AH2 I have a pick list of letters A, S, B
    >
    > When the user selects the "A" from the drop down list I want a formula
    > which will add the totals of the cells in A1:AH1
    >
    > Any ideas?
    >
    > Thanks
    > ExcelBob
    >
    >
    > --
    > ExcelBob
    > ------------------------------------------------------------------------
    > ExcelBob's Profile:
    > http://www.excelforum.com/member.php...o&userid=34152
    > View this thread: http://www.excelforum.com/showthread...hreadid=551845
    >




+ 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