+ Reply to Thread
Results 1 to 4 of 4

Count and sum based on multiple criteria

  1. #1
    Registered User
    Join Date
    04-16-2011
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    34

    Count and sum based on multiple criteria

    Hi all, I have hit the brick wall when trying to build up a table in a way that values are taken from the source table based on multiple criteria.
    Thanks in advance
    Attached Files Attached Files

  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: Count and sum based on multiple criteria

    Maybe in B6 and copy to the right.

    =COUNTIFS(Data!$A$2:$A$6,Table!$I$2,Data!$B$2:$B$6,Table!B$5)

    In B7 and copy to the right.

    =SUMIFS(Data!$C$2:$C$6,Data!$A$2:$A$6,Table!$I$2,Data!$B$2:$B$6,Table!B$5)
    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 Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Count and sum based on multiple criteria

    In B6 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it to right

    In B7 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it to right

    Hope that helps!


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    04-16-2011
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Count and sum based on multiple criteria

    Thanks that solved it. Got tangled up myself somehow.

+ 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