+ Reply to Thread
Results 1 to 4 of 4

Combining multiple equations in Countifs

  1. #1
    Registered User
    Join Date
    01-29-2019
    Location
    monett, missouri
    MS-Off Ver
    13
    Posts
    2

    Combining multiple equations in Countifs

    I need some help with this one. I have dates entered in one column and three possible options (yes/no/?) in another. I am counting the total number of entries per month{counting within a date range} (=COUNTIFS(Assigned!A2:A3000,">="&Tracking!A2,Assigned!A2:A3000,"<="&Tracking!B2)). What I need to do in another column is track the total number of entries per month that also is marked "yes" in another column. I have tried combining the previous formula with (COUNTIFS(Assigned!A2:A3000,"yes") but I can not get it to work right. How do I combine these two formulas so I can count entries within a date range only if they answered "yes" in another column?????

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Combining multiple equations in Countifs

    Perhaps
    =COUNTIFS(Assigned!A2:A3000,">="&Tracking!A2,Assigned!A2:A3000,"<="&Tracking!B2,Assigned!A2:A3000,"yes")

  3. #3
    Registered User
    Join Date
    01-29-2019
    Location
    monett, missouri
    MS-Off Ver
    13
    Posts
    2

    Re: Combining multiple equations in Countifs

    The "yes/no/?" is in a different column. I tried your suggestion and changed the required field and it gave me an error. Here is what you sent with the column changed.
    =COUNTIFS(Assigned!A2:A3000,">="&Tracking!A2,Assigned!A2:A3000,"<="&Tracking!B2,Assigned!A2:A3000,Assigned!E459:E3000"yes")

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Combining multiple equations in Countifs

    is the error because in your formula in post #3 you forgot a comma?
    =COUNTIFS(Assigned!A2:A3000,">="&Tracking!A2,Assigned!A2:A3000,"<="&Tracking!B2,Assigned!A2:A3000,Assigned!E459:E3000,"yes")
    or is it because you are using two different ranges?
    you have to use the same ranges and not miss any commas. Hope that helps.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ 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. Combining multiple COUNTIFS for monthly totals
    By Dave2468 in forum Excel General
    Replies: 2
    Last Post: 09-28-2016, 01:46 PM
  2. [SOLVED] Combining COUNTIFS and ISNUMBER
    By OverKnight in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-05-2015, 12:55 AM
  3. Combining Indirect with Countifs
    By arthurphil in forum Excel General
    Replies: 7
    Last Post: 01-27-2015, 08:13 AM
  4. [SOLVED] Combining CountIfS Formulas
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-21-2013, 09:25 AM
  5. [SOLVED] Combining two COUNTIFS
    By fletch8701 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-19-2012, 11:07 PM
  6. [SOLVED] Combining two equations
    By fansoffloyd in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-29-2012, 03:32 PM
  7. Replies: 4
    Last Post: 03-26-2009, 12:46 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