+ Reply to Thread
Results 1 to 6 of 6

Countif Multiple Criteria

  1. #1
    Registered User
    Join Date
    04-21-2009
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    21

    Countif Multiple Criteria

    Hi,

    Is the below possible to do please?

    JOE, 12, Sickness
    JOE, 11, Authorised
    DAVE, 14, Sickness
    DAVE, 14, Sickness
    DAVE, 10, Authorised

    Count how many Total Instances Sickness for JOE (1)
    Count how many Total Instances Authorised for JOE (1)
    Count how many Total Instances Sickness for DAVE (2)
    Count how many Total Instances Authorised for DAVE (1)

    I tried =COUNTIFS(A1:A5,"JOE",C1:C5,"Authorised",B1:B5) but it displays #NAME?

    Thanks in advance for any help!

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Countif Multiple Criteria

    try
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This needs Excel>=2007

    OR

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    FOR eXCEL<2007
    Last edited by Fotis1991; 06-04-2014 at 10:33 AM.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Countif Multiple Criteria

    For 2003 and earlier versions use

    =SUMPRODUCT((A1:A5="JOE")*(C1:C5="Authorised"))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Countif Multiple Criteria

    COUNTIFS isn't available in Excel 2003, which your profile states is what you are using. You can use SUMPRODUCT instead, like this:

    =SUMPRODUCT((A$1:A$5="JOE")*(C$1:C$5="Authorised"),B$1:B$5)

    Or you can put JOE in a cell and Authorised in another cell and use those cell references in the formula to make it more flexible (for your other criteria).

    Hope this helps.

    Pete

    EDIT: my formula gives the total of column B entries that match, rather than the number of instances.

    Pete
    Last edited by Pete_UK; 06-04-2014 at 10:37 AM.

  5. #5
    Registered User
    Join Date
    04-21-2009
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Countif Multiple Criteria

    Sorry for the lack of feedback, this one worked for me =SUMPRODUCT((A1:A5="JOE")*(C1:C5="Authorised"))

    Thanks for the help really appreciate it

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Countif Multiple Criteria

    You are welcome and thanks for the feedback.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED,as per Forum Rule #9. Thank you.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Countif, Multiple Criteria, Multiple Sheets, Excel 2003
    By shyammankoo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-07-2013, 06:50 AM
  2. [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
  3. 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
  4. [SOLVED] Countif w/ Multiple Criteria
    By Manish Bajpai in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04:05 AM
  5. 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

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