+ Reply to Thread
Results 1 to 4 of 4

COUNTIF mutiple criteria in a single range, but with mutiple ranges.

  1. #1
    Registered User
    Join Date
    11-07-2009
    Location
    England
    MS-Off Ver
    Office 2007
    Posts
    46

    COUNTIF mutiple criteria in a single range, but with mutiple ranges.

    Just as a note I am unable to upload any example files, hopefully this is easy enough to explain without the need of an example file.

    I am trying to make a COUNTIFS formula which looks for certain criteria in 3 columns, one of those columns however is looking for mutiple criteria.

    This is what my formula looks like (which isn't working)

    Please Login or Register  to view this content.
    So I want to count only the rows which have "Scotland" in J, "Recovered" in D and P1 or P2 in B.
    Last edited by Janbi; 12-23-2016 at 04:54 AM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: COUNTIF mutiple criteria in a single range, but with mutiple ranges.

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,909

    Re: COUNTIF mutiple criteria in a single range, but with mutiple ranges.

    Or try this ...

    =SUM(COUNTIFS($J$2:$J$500,"Scotland",$D$2:$D$500,"Recovered",$B$2:$B$500,{"P1","P2"}))

  4. #4
    Registered User
    Join Date
    11-07-2009
    Location
    England
    MS-Off Ver
    Office 2007
    Posts
    46

    Re: COUNTIF mutiple criteria in a single range, but with mutiple ranges.

    Quote Originally Posted by Olly View Post
    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Thank you worked perfectly.
    Last edited by Janbi; 12-23-2016 at 04:55 AM.

+ 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 with mutiple ranges and multiple criteria
    By aros23 in forum Excel General
    Replies: 4
    Last Post: 06-18-2015, 03:15 PM
  2. [SOLVED] Extract/Copy data within a range based on mutiple criteria?
    By new@excel in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-23-2013, 01:11 AM
  3. Conditional formating, mutiple variables, mutiple sheets
    By Adam_D in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2012, 06:47 AM
  4. Replies: 0
    Last Post: 01-06-2012, 07:09 AM
  5. Replies: 2
    Last Post: 09-20-2011, 10:30 AM
  6. COUNTIF with mutiple criteria
    By Paul Sheppard in forum Excel General
    Replies: 3
    Last Post: 04-06-2009, 09:36 AM
  7. SUMIF with Mutiple Ranges & Criteria
    By PokerZan in forum Excel General
    Replies: 5
    Last Post: 08-04-2005, 05:31 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