+ Reply to Thread
Results 1 to 6 of 6

Multiple SUM Criteria - DSUM and SUMIFS not working :-(

  1. #1
    Registered User
    Join Date
    01-22-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    55

    Multiple SUM Criteria - DSUM and SUMIFS not working :-(

    Hi all,

    Hope all is well.

    I have run into a wall with this one and cannot figure it out...

    I am trying to sum a range based on multiple criteria - sounds simple enough right?!

    However I cannot achieve the correct result.


    Could someone please have a look - I have included a very brief example and notes in the attached workbook.


    Thanks in advance everyone!


    Coeus.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Multiple SUM Criteria - DSUM and SUMIFS not working :-(

    Hi Coeus,

    Could you share what is the expected result that you would want to displayed in F2?

    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  3. #3
    Registered User
    Join Date
    01-22-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Multiple SUM Criteria - DSUM and SUMIFS not working :-(

    Hi,

    Sorry for not explaining myself better,

    The results would total only those with classes 2, 3, and 5.

    So the results shown should be:

    A 90
    B 60
    C 140
    D 60
    E 90




    Thanks,

  4. #4
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Multiple SUM Criteria - DSUM and SUMIFS not working :-(

    No worries, try F2=SUMPRODUCT(Table1[SCORE]*(Table1[NAME]=[@NAME])*(ISNUMBER(MATCH(Table1[CLASS],$H$2:$H$4,0))))

    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  5. #5
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Multiple SUM Criteria - DSUM and SUMIFS not working :-(

    Another solution
    =SUMPRODUCT(COUNTIF($H$2:$H$7,Table1[CLASS])*Table1[SCORE]*(Table1[NAME]=[@NAME]))
    Appreciate the help? CLICK *

  6. #6
    Registered User
    Join Date
    01-22-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Multiple SUM Criteria - DSUM and SUMIFS not working :-(

    Hi all,

    Didn't want to ask and run.

    Thank you very much for your help. I was hoping for a simpler solution - not for myself but other less Excel-savvy need to understand the formulas and that would be a bit beyond them but it does work!


    Many thanks for your help, really appreciate it.


    Regards,


    Coeus.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DSUM Multiple Criteria
    By Neil Guyton in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-22-2014, 12:07 PM
  2. [SOLVED] SUMIF/SUMIFS not working using Date fields as criteria
    By waynees in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 09:24 AM
  3. Replies: 1
    Last Post: 06-08-2012, 01:28 PM
  4. DSUM: Multiple Criteria
    By NSTAR in forum Excel General
    Replies: 1
    Last Post: 03-31-2010, 10:16 AM
  5. dsum on multiple criteria
    By myroz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-15-2008, 09:33 AM

Tags for this Thread

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