+ Reply to Thread
Results 1 to 7 of 7

Multiple criteria sum product not working

  1. #1
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Multiple criteria sum product not working

    Okay, I'm trying to count the number of people on a spread sheet who have left in May, who have the first three characters of their separation reason as 'vol'.
    Here's my current formula. It's not working.

    =SUMPRODUCT(--(ISNUMBER(MATCH(Terminations!$A:$A,"May",0)))*--(ISNUMBER(MATCH(LEFT(Terminations!$B:$B,3)="VOL",0))))

    I've attached a spreadsheet with the formula.

    Where am I going wrong?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Multiple criteria sum product not working

    =SUMPRODUCT((Terminations!$A:$A="May")*(LEFT(Terminations!$B:$B,3)="VOL"))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Multiple criteria sum product not working

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Multiple criteria sum product not working

    Special-K, that worked! Thanks.

  5. #5
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Multiple criteria sum product not working

    Quote Originally Posted by AlKey View Post
    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This worked too.


    I'm curious - the worksheet that i have is going to have A LOT of formulas on it. Do either of you know which of these two formulas would require less resources?

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Multiple criteria sum product not working

    The COUNTIF or COUNTIFS are much better option than SUMPRODUCT. It is always recommended to use them when possible.

  7. #7
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Multiple criteria sum product not working

    Can you change this so that it looks up a range?

    So instead of this:
    =COUNTIFS(Terminations!A:A,"May",Terminations!B:B,"VOL*")

    It's

    =COUNTIFS(Terminations!A:A,"May",WkSht!$B8:$B13) (I realize WkSht isn't on the original document I uploaded).

    WHen I try that, it doesn't work. I'm trying to figure out why

+ 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. [SOLVED] Product After Multiple Criteria Are Met
    By JC1407 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-07-2016, 04:54 PM
  2. [SOLVED] Sum Product for multiple criteria
    By lejanco in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-30-2014, 11:25 AM
  3. Working out product across multiple columns?
    By Aidan Leather in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-02-2013, 07:31 AM
  4. multiple column sum product based on set criteria
    By b16dlg in forum Excel General
    Replies: 4
    Last Post: 07-11-2012, 07:51 AM
  5. sum product w/ multiple criteria
    By TechRetard in forum Excel General
    Replies: 4
    Last Post: 09-06-2011, 03:32 PM
  6. Multiple criteria for Sum-Product
    By thelucasgray in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-05-2010, 09:27 PM
  7. Sum Product Multiple Criteria
    By PeterSmith in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2008, 12:07 PM

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