+ Reply to Thread
Results 1 to 6 of 6

Countif formula for multiple criteria

  1. #1
    Forum Contributor
    Join Date
    05-16-2018
    Location
    SG
    MS-Off Ver
    2013
    Posts
    217

    Countif formula for multiple criteria

    Hi All,

    I would like to understand how to go about trying 2 criteria for this formula

    1. The first example would be in column A, i want to count the number of times apple appears but not counting the word pear and lemon in column c
    2. The second example would be if apple appears in column A, to count the just number of times the word pear appears in column c

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Countif formula for multiple criteria

    Can you provide some sample data and what the expected outcome is?

  3. #3
    Forum Contributor
    Join Date
    05-16-2018
    Location
    SG
    MS-Off Ver
    2013
    Posts
    217

    Re: Countif formula for multiple criteria

    Hi,

    I have added a file to better explain the sum.I have added in a 3rd example to help me understand how do i amend formulas with multiple criteria.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Countif formula for multiple criteria

    Try these:

    Excel 2016 (Windows) 32 bit
    G
    6
    =COUNTIFS(A:A,"Apple",C:C,"<>Pear",C:C,"<>Lemon")
    7
    =COUNTIFS(A:A,"Apple",C:C,"<>Pear")
    8
    =COUNTIFS(A:A,"Apple",C:C,"<>Pear",D:D,"blue")
    Sheet: Sheet1
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    05-16-2018
    Location
    SG
    MS-Off Ver
    2013
    Posts
    217

    Re: Countif formula for multiple criteria

    Thank you very much guys.
    Last edited by michael35; 06-16-2019 at 07:52 AM.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Countif formula for multiple criteria

    A pleasure!

+ 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 formula for multiple criteria
    By rayted in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-20-2018, 01:08 PM
  2. Sum / countif formula for multiple criteria
    By misterjam in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2016, 10:36 AM
  3. [SOLVED] Formula for multiple COUNTIF criteria
    By LuckyStrike in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2013, 12:06 PM
  4. [SOLVED] Multiple criteria for a countif formula please!
    By mcain1981 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2013, 05:07 PM
  5. COUNTIF formula for multiple Criteria
    By AbrahamRunning in forum Excel General
    Replies: 8
    Last Post: 02-06-2012, 09:29 AM
  6. COUNTIF formula for multiple Criteria
    By AbrahamRunning in forum Excel General
    Replies: 1
    Last Post: 01-30-2012, 03:29 AM
  7. Countif formula with multiple criteria ie >30 and <60?
    By Dali in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2005, 01:06 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