+ Reply to Thread
Results 1 to 4 of 4

Formula to count occurrences, multiple ranges, multiple criteria, with wildcard

  1. #1
    Registered User
    Join Date
    02-08-2017
    Location
    New Jersey
    MS-Off Ver
    Office 365
    Posts
    12

    Formula to count occurrences, multiple ranges, multiple criteria, with wildcard

    Hello Experts,

    I am trying to figure out an Excel formula that will accomplish the following. I am trying to count occurrences based on 2 columns/ranges worth of data and 3 criteria. I'll write it out as a mathematical expression:

    (Range1 = "Y)" AND ((Range2 = "Phase4") OR (Range2 = "Transitioned on*"))

    So, I am trying to count the number of instances where elements in Range 1 = "Y" and elements in Range2 = "Phase4" OR "Transitioned on*". Please note the wildcard.

    Any help coming up with this formula would be appreciated. Thank you.

    TMc

  2. #2
    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,187

    Re: Formula to count occurrences, multiple ranges, multiple criteria, with wildcard

    Try

    =SUM(COUNTIFS(Range1,"Y",Range2,{"Phase4","Transitioned on"})

  3. #3
    Registered User
    Join Date
    02-08-2017
    Location
    New Jersey
    MS-Off Ver
    Office 365
    Posts
    12

    Re: Formula to count occurrences, multiple ranges, multiple criteria, with wildcard

    Perfect! Thant's exactly what I needed. Thanks for your help.

  4. #4
    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,187

    Re: Formula to count occurrences, multiple ranges, multiple criteria, with wildcard

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Replies: 1
    Last Post: 07-05-2016, 06:35 AM
  2. Replies: 11
    Last Post: 06-30-2016, 07:07 PM
  3. [SOLVED] Count number of occurrences based on criteria in multiple columns and rows
    By gerryger in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-22-2015, 08:13 PM
  4. [SOLVED] Count Occurrences using multiple criteria
    By Rbooth in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-25-2014, 09:55 PM
  5. Count multiple occurrences when multiple criteria is met
    By e2thecaves in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2013, 06:00 PM
  6. Count Multiple Criteria within Multiple Date Ranges
    By E6BAV8R in forum Excel General
    Replies: 3
    Last Post: 12-08-2010, 05:06 PM
  7. Replies: 10
    Last Post: 10-10-2009, 07:30 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