+ Reply to Thread
Results 1 to 4 of 4

Is there a way to combine COUNTIFS and SUMPRODUCT?

  1. #1
    Registered User
    Join Date
    12-20-2013
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2013
    Posts
    5

    Question Is there a way to combine COUNTIFS and SUMPRODUCT?

    Hello I am new to the forum and need help with a problem please. I have a formula that is working but I would like to add more criteria to it:

    working now:
    =COUNTIFS('Job Entry Form'!A:A,"chegan",'Job Entry Form'!L:L,"Yes")

    need to add:
    =SUMPRODUCT((B6>=4)*(B6<=7))

    Many thanks in advance,
    David

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Is there a way to combine COUNTIFS and SUMPRODUCT?

    Need more of an explanation.

    The COUNTIFS refers to entire columns but the SUMPRODUCT refers to a single cell.

    Do you mean this:

    =COUNTIFS('Job Entry Form'!A:A,"chegan",'Job Entry Form'!B:B,">=4",'Job Entry Form'!B:B,"<=7",'Job Entry Form'!L:L,"Yes")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    12-20-2013
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Is there a way to combine COUNTIFS and SUMPRODUCT?

    Thank you very much!! You got me thinking correctly. The formula is for calculating salesman bonuses.

    Here are the final formulas I used:

    =COUNTIFS('Job Entry Form'!A:A,A6,F:F,">=4",F:F,"<=7",'Job Entry Form'!J:J,"Yes")

    =COUNTIFS('Job Entry Form'!A:A,A6,F:F,">=8",F:F,"<=11",'Job Entry Form'!J:J,"Yes")

    =COUNTIFS('Job Entry Form'!A:A,A6,F:F,">=12",'Job Entry Form'!J:J,"Yes")

    Again, Thank you very much for the help!

    David

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Is there a way to combine COUNTIFS and SUMPRODUCT?

    You're welcome. Thanks for the feedback!

    If your question has been answered please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools>Mark this thread as solved.

+ 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. Need to combine several countifs for the same ranges
    By kbb222 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-10-2013, 06:45 AM
  2. Replies: 1
    Last Post: 08-05-2013, 01:52 PM
  3. COUNTIFS and SUMPRODUCT help
    By Stacy1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-19-2013, 02:35 PM
  4. [SOLVED] Countifs and sumproduct with two criteria
    By jewellove in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 10-28-2012, 08:07 PM
  5. Using SUMPRODUCT instead of COUNTIFS
    By SymphonyTomorrow in forum Excel General
    Replies: 12
    Last Post: 11-18-2011, 05:01 PM

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