+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Summing a column based on multiple criteria in 2 other columns

  1. #1
    Registered User
    Join Date
    09-26-2011
    Location
    Portland, OR.
    MS-Off Ver
    Excel 2007
    Posts
    7

    Summing a column based on multiple criteria in 2 other columns

    Hi,

    I have searched and can't seem to find a solution that works for me. Basically I have to sum up a column based on criteria in 2 other columns to provide summary information.

    For example: Sum Column B where column A = Hardware AND column C = BB

    I have attached a workbook with an example. Expected results are on the "summary" sheet.

    Thanks in advance for any help. I know this is probably fairly simple but I am drawing a blank for some reason.

    Brian
    Attached Files Attached Files
    Last edited by BarnesB; 09-27-2011 at 01:38 PM.

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Summing a column based on multiple criteria in 2 other columns

    See attached.
    Attached Files Attached Files
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Summing a column based on multiple criteria in 2 other columns

    In B2:

    =SUMIFS(Data!$B$2:$B$19,Data!$A$2:$A$19,A2,Data!$C$2:$C$19,$B$1)

    copied down.

    you will need to adjust the $B$1 reference in the other subtables.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    09-26-2011
    Location
    Portland, OR.
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Summing a column based on multiple criteria in 2 other columns

    Thanks, that solved the issue!

+ 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