+ Reply to Thread
Results 1 to 7 of 7

COUNTIF formula for multiple criteria

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    COUNTIF formula for multiple criteria

    Hi guys,

    Can anyone help me with my spreadsheet attached?

    I need a countif formula in cell B25 counting data from b2:b20 which counts:

    CL, FA Cup, CC, and SC only.
    I have tried inputting a few things from a google search with no success!

    Can anyone advise?

    Thank you.
    Attached Files Attached Files
    Thanks,

    R.



  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: COUNTIF formula for multiple criteria

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


    BSB
    Last edited by BadlySpelledBuoy; 05-20-2018 at 06:49 AM.

  3. #3
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: COUNTIF formula for multiple criteria

    =SUMPRODUCT(--ISNUMBER(SEARCH($D$1:$G$1,B2:B20)))
    in $D$1:$G$1 there are your strings

  4. #4
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: COUNTIF formula for multiple criteria

    Thanks BSB - strangely this is not returning the correct results at all! any ideas why?

  5. #5
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: COUNTIF formula for multiple criteria

    Quote Originally Posted by tim201110 View Post
    =SUMPRODUCT(--ISNUMBER(SEARCH($D$1:$G$1,B2:B20)))
    in $D$1:$G$1 there are your strings
    Thanks tim 201110 - Unfortunately this did not work. I don't think I am quite following you by what you mean in reference to the strings.. sorry

  6. #6
    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,277

    Re: COUNTIF formula for multiple criteria

    Put "CL, FA Cup, CC, SC"

    in D1:G1

    i.e D1=CL, E1=FA Cup ....

    then use Tim's formula

  7. #7
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: COUNTIF formula for multiple criteria

    Thanks all! Rep added

+ 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. Sum / countif formula for multiple criteria
    By misterjam in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2016, 10:36 AM
  2. [SOLVED] Countif formula to match multiple criteria
    By tlacloche in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-10-2013, 07:51 PM
  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

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