+ Reply to Thread
Results 1 to 7 of 7

How to sum values from cells in a column using criteria from multiple other columns

  1. #1
    Registered User
    Join Date
    08-02-2007
    Posts
    30

    How to sum values from cells in a column using criteria from multiple other columns

    Hi,

    I am running excel 2003 and wants to add a function that shall sum the values of the cells in Column A1:A100 in case the values in corresponding cells in Column B1:B100 equals "Y" and corresponding cell values in Column C1:C100 equals "N".

    I appreciate any help.

    Marcus

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to sum values from cells in a column using criteria from multiple other columns

    Try

    =SUMPRODUCT((B1:B100="Y")*(C1:C100="N")*(A1:A100))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: How to sum values from cells in a column using criteria from multiple other columns

    Hi - You can use Sumproduct to achieve this. Try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If solved kindly remember to mark Thread as solved.
    Click the small star icon at the bottom left of my post if this was useful.

  4. #4
    Registered User
    Join Date
    08-02-2007
    Posts
    30

    Re: How to sum values from cells in a column using criteria from multiple other columns

    Thx,

    but I do not think excel 2003 allow this formula to use differeent data types. The values in A1:A100 are numbers and B and C is plain text. Will this still work? I get error in my excel.

  5. #5
    Forum Contributor
    Join Date
    09-27-2012
    Location
    London, England
    MS-Off Ver
    2003, 2010
    Posts
    344

    Re: How to sum values from cells in a column using criteria from multiple other columns

    Should work in 2003. Can you upload workbook please

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to sum values from cells in a column using criteria from multiple other columns

    Why do you say this?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-02-2007
    Posts
    30

    Re: How to sum values from cells in a column using criteria from multiple other columns

    Sorry,

    I made wrong column referenc e in my sheet. That's why I got problems with data. It works no.

    Thank you for your help.

+ 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