+ Reply to Thread
Results 1 to 9 of 9

COUNTIFS versus SUMPRODUCT

  1. #1
    Forum Contributor
    Join Date
    08-23-2013
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 365
    Posts
    166

    COUNTIFS versus SUMPRODUCT

    I have a bunch of criteria that doesn't seem to be working.

    Please Login or Register  to view this content.
    The > represents dates. I want to say countif the DATE within the range is more than that cell.
    Someone have a better way to do this given how much criteria?

    Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: COUNTIFS versus SUMPRODUCT

    Change ">'Sheet Count'!J19" to ">"&'Sheet Count'!J19
    Don't just use the answers provided for you. Try to understand how it works by reverse engineering or asking about it.

    Please mark the thread as [SOLVED] (Thread Tools->Mark thread as Solved) when answered.
    If you're happy with an answer given, please click the * under the person's name to boost their reputation.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: COUNTIFS versus SUMPRODUCT

    Also need to adjust the last part too,,,,
    =COUNTIFS('Sheet Data'!L:L,"Sales",'Sheet Data'!P:P,">"&'Sheet Count'!J19,'Employee Data'!W:W,"<>"&Budgeted)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: COUNTIFS versus SUMPRODUCT

    @Fdibbins - unless "Budgeted" is a named range (which I assumed it wasn't) the way he had it would be fine to filter out the word "budgeted".

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: COUNTIFS versus SUMPRODUCT

    Craig, oops yes you are totally correct, apologies - it was a bit late when I replied.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: COUNTIFS versus SUMPRODUCT

    This is a small pet pieve of mine.

    You only have to use the & syntax when:
    You're using the < and/or > operators.
    AND
    The criteria value is a Cell Reference or result of another function.

    It is NOT required for the = operator or with a manually entered text value.
    That is the default operation of the xxxIFs functions.

    I cringe when I see
    "="&"sometext"
    "="&A1

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: COUNTIFS versus SUMPRODUCT

    Jonmo, your point is well made and I agree totally

    However, unless I am missing something, I dont see any of your "dont use" commands? (or were you just making a comment?)

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: COUNTIFS versus SUMPRODUCT

    It was just a comment. And I didn't meant to hijack the thread. Sorry.

    I usually don't say "don't do that" because it's technically not wrong. It does work.
    But in my suggested solutions, I'll remove that syntax

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: COUNTIFS versus SUMPRODUCT

    No, I fully understand, and again, fully agree (I have "adjusted" that myself a few times too). I dont consider your observation a hijack, it is a valid contribution

+ 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] CountIfS and SUMPRODUCT need help
    By rschoenb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-12-2014, 11:21 PM
  2. [SOLVED] Sumproduct/countifs
    By mahat in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-21-2014, 10:30 PM
  3. COUNTIFS and SUMPRODUCT help
    By Stacy1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-19-2013, 02:35 PM
  4. difference between SUMPRODUCT versus SUMIFS
    By pl123zorro in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-06-2013, 12:46 PM
  5. [SOLVED] 3,000 Tables versus 3,000 Worksheets versus 3,000 Workbooks
    By StevenM in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-18-2012, 03:15 AM
  6. Using SUMPRODUCT instead of COUNTIFS
    By SymphonyTomorrow in forum Excel General
    Replies: 12
    Last Post: 11-18-2011, 05:01 PM
  7. SUMPRODUCT * versus ,
    By ChemistB in forum Excel General
    Replies: 3
    Last Post: 02-25-2008, 03:38 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