+ Reply to Thread
Results 1 to 6 of 6

Calculate Based On Multiple Criteria

  1. #1
    Forum Contributor
    Join Date
    08-19-2006
    MS-Off Ver
    Excel 365
    Posts
    229

    Calculate Based On Multiple Criteria

    Hi,

    I have the attached spreadsheet with data on table 1.

    In Table 2, I need a formula to summarize the number of task based on status on table 1 in percentage for each department.

    Appreciate all the help.
    Attached Files Attached Files
    Last edited by Kumara_faith; 02-03-2012 at 03:19 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,494

    Re: Calculate Based On Multiple Criteria

    Given that you have the matrix laid out, you can use:

    D17: =SUMPRODUCT(--($C$4:$C$10=$C17),--($E$4:$E$10=D$16))

    Copy down and across.

    You might want to consider a Pivot Table as an alternative approach.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    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: Calculate Based On Multiple Criteria

    Hi

    In D17, try this:

    =SUMPRODUCT(($C$4:$C$10=C17)*($E$4:$E$10=D16))

    Is this, what are you looking for?
    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.

  4. #4
    Forum Contributor
    Join Date
    08-19-2006
    MS-Off Ver
    Excel 365
    Posts
    229

    Re: Calculate Based On Multiple Criteria

    Dear TMShucks and Fotis1991,

    Thank you both for your solutions. It worked. Appreciate your valuable time and patience.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,494

    Re: Calculate Based On Multiple Criteria

    You're welcome.

  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: Calculate Based On Multiple Criteria

    You are welcome!

+ 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