+ Reply to Thread
Results 1 to 5 of 5

Multiple COUNTIF Criteria

  1. #1
    Registered User
    Join Date
    05-31-2016
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    2

    Multiple COUNTIF Criteria

    Hi All,

    Hoping somebody can help me with a formula I need in Excel 2013.

    I have a number of accounts and need to provide some basic MI, one piece of information I need is the number of cases that were registered in a particular month.

    So I have a column for Date Received which is I3 and then I need a COUNTIF that picks up the number of cases within a given month but for three separate criteria's (received, open, resolved). For example I have Feb cases, I need a formula to pick up how many cases received between 1st - 28/29th Feb that are currently resolved and then a separate formula to pick up the same info but if the criteria is open, the data for whether the case is open or resolved is in column AN3.

    Also is it possible for me to highlight/count any that fall outside of an SLA, so for example I have 300 cases, an SLA to resolve them within 10 days, so a formula that picks up from date received whether the case is outside of SLA.

    Kind Regards

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Multiple COUNTIF Criteria

    Hi
    Can you upload a sample file showing the results you expected?

  3. #3
    Registered User
    Join Date
    05-31-2016
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Multiple COUNTIF Criteria

    Excel Help.xlsx

    So for example in this example, I have all the dates that each case was received in column D and the outcome in column E

    In cell J4 I want a formula that picks up first how many cases were received in Feb but then how many of them Feb cases were resolved and then similar in K4 but for open if it makes sense, the answer would be Feb 3 cases resolved, 3 open.

    But then I also want something if it's possible that picks up the date received so for example 1st Feb, I'm currently on 20th Feb and my SLA to resolve was 10 working day, is there a formula I can use to highlight all the cases still within 10 working days SLA and then how many are not?

    Regards

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,261

    Re: Multiple COUNTIF Criteria

    In J4

    =SUMPRODUCT(--(MONTH($D$4:$D$12)=2)*($E$4:$E$12=$J$3))

    J3="Resolved"

    in K4

    =SUMPRODUCT(--(MONTH($D$4:$D$12)=2)*($E$4:$E$12=$K$3))

    k3="Open"

    Change 2 to 3 and 4 for March/April

    in G4

    =IF(AND(D4+10<$G$1,E4="Open"),"Outstanding","")

    G1=20/02/2016 (your "Today")

    Copy down
    Attached Files Attached Files

  5. #5
    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 COUNTIF Criteria

    Enter month names in Col I as text you see in example
    1. Enter formula in J4 and pull it to cell K4 and then down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    2. To SUM Total cases enter formula in L4 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v C D E F G H I J K L
    2
    3 Company Date Received Outcome Resolved Open Total Cases
    4 Company A 2/1/2016 Resolved Feb 2 3 5
    5 Company B 2/2/2016 Open Mar 1 3 4
    6 Company C 2/3/2016 Resolved Apr 0 0 0
    7 Company D 2/22/2016 Open
    8 Company E 2/23/2016 Open
    9 Company F 3/2/2016 Resolved
    10 Company G 3/1/2016 Open
    11 Company H 3/2/2016 Open
    12 Company I 3/3/2016 Open
    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

+ 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] countif multiple criteria
    By ccloss in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2014, 10:37 AM
  2. Countif, Multiple Criteria, Multiple Sheets, Excel 2003
    By shyammankoo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-07-2013, 06:50 AM
  3. [SOLVED] trying to do a "countif" with multiple ranges and multiple criteria. Countif, Sumproduct?
    By completelyhis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2013, 06:12 PM
  4. [SOLVED] Multiple criteria in countif
    By Abarency in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-09-2012, 04:36 PM
  5. COUNTIF on multiple criteria
    By Airwalker79 in forum Excel General
    Replies: 1
    Last Post: 05-24-2011, 10:49 AM
  6. Trying to COUNTIF when multiple criteria are met on multiple column data set
    By TGCRequiem in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-15-2011, 12:58 AM
  7. countif multiple criteria
    By Iamwhoiam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2006, 03:30 PM
  8. Countif w/ Multiple Criteria-How do I use countif
    By Patrick_KC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2005, 05:05 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