+ Reply to Thread
Results 1 to 6 of 6

Count If met any one of multiple criteria

  1. #1
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2013
    Posts
    177

    Count If met any one of multiple criteria

    Hi all,
    As per the title. What formula would I use if I wanted to count a range where cells meet any one of a number of criteria? (not all of multiple criteria, any one)

    Many thanks

    Luke

  2. #2
    Forum Contributor
    Join Date
    03-30-2009
    Location
    dublin
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: Count If met any one of multiple criteria

    It would depend how many criteria you require.

    First i would have a look at countifs,

    if that didnt meet your needs. i would try sumproduct, but u would need an understanding of this function,
    can u be more specific

    baj

  3. #3
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2013
    Posts
    177

    Re: Count If met any one of multiple criteria

    So for example I have the following formula
    Please Login or Register  to view this content.
    However I think this is checking for cells that have ALL of the criteria above, I need it to check cells that have any ONE of the following criteria in the named range 'progmonethnicity':
    "Black - African"
    "Black Caribbean"
    "Chinese"
    "Gypsy/Roma"
    "Indian"
    "Kashmiri Pakistani"
    "Other Asian"
    "Other Pakistani"
    "White and Asian"
    "White and Black African"
    "White and Black Caribbean"
    "Any other Black background"
    "Any other ethnic group"
    "Any other mixed background"
    "Information Not Yet Obtained"
    "Refused"

  4. #4
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2013
    Posts
    177

    Re: Count If met any one of multiple criteria

    Can anyone help on this?

  5. #5
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Count If met any one of multiple criteria

    =SUM(COUNTIFS(progmonethnicity,{"Black - African","Black Caribbean","Chinese","Gypsy/Roma","Indian","Kashmiri Pakistani","Other Asian","Other Pakistani","White and Asian","White and Black African","White and Black Caribbean","Any other Black background","Any other ethnic group","Any other mixed background","Information Not Yet Obtained","Refused"},'Progress Monitor'!$AL$3:$AL$42,C$2))

    probably easier to have a grouping column in the source data
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  6. #6
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2013
    Posts
    177

    Re: Count If met any one of multiple criteria

    Quote Originally Posted by JosephP View Post
    =SUM(COUNTIFS(progmonethnicity,{"Black - African","Black Caribbean","Chinese","Gypsy/Roma","Indian","Kashmiri Pakistani","Other Asian","Other Pakistani","White and Asian","White and Black African","White and Black Caribbean","Any other Black background","Any other ethnic group","Any other mixed background","Information Not Yet Obtained","Refused"},'Progress Monitor'!$AL$3:$AL$42,C$2))

    probably easier to have a grouping column in the source data
    Amazing! Thank you!

+ 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. Count statement wtih multiple criteria only showing results for one criteria
    By uhlabomber in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2013, 02:47 PM
  2. Replies: 0
    Last Post: 01-11-2013, 02:39 AM
  3. Replies: 8
    Last Post: 07-13-2012, 06:00 AM
  4. Count instances of a string across multiple columns with multiple criteria
    By rpthoth in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2012, 09:23 AM
  5. Count Multiple Entries, Return Multiple Rows, Based On 3 Criteria
    By gtj_global in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-20-2008, 06:40 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