+ Reply to Thread
Results 1 to 3 of 3

Need a count that excludes certain text values

  1. #1
    Registered User
    Join Date
    09-10-2017
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    63

    Need a count that excludes certain text values

    Hi All,

    I am trying to use a formula to help get a count of the number of total incidents by priority on a monthly basis while excluding certain 'types' of incidents. In the attachment below, please reference the APAC All Months Summary sheet.

    An example of what I'd like to see is the number of "P1" and "P2" (cells A56 and A57; with individual count for each value) for each month (or for the entire 6-month range). However, I do not want that number to include "P1" or "P2" associated with the following types:

    1. Duplicate Incident Opened, Do Not Report (A68)
    2. Incident Opened in Error (A69)

    I would like to keep the worksheet in its current format and do not want to add any additional columns, because I need the data for importing into Power BI for reporting purposes. I have used this formula to return a count of the number of "P1" for each month =COUNTIFS(March!$E$2:$E$10000, A68) but cannot get it to exclude certain incident types.

    Example of Wanted Formula = COUNT of ALL March (or March-August if able) P1 incident types not including 'duplicate incident...' or 'incidents opened in error'

    Hope the request make sense. I have been playing around with a couple of different formulas I found online to no avail and this forum has always come through in the past.

    Thanks in advance for any response with help! Much Appreciated
    -John
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Need a count that excludes certain text values

    =COUNTIFS(March!$F$2:$F$10000, A56,March!$E$2:$E$10000,"<>Duplicate Incident Opened, Do Not Report",March!$E$2:$E$10000,"<>Incident Opened in Error")

    Does that work?
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Registered User
    Join Date
    09-10-2017
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    63

    Re: Need a count that excludes certain text values

    @Pauleyb

    That formula worked great! Thanks so much for the quick reply.

+ 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] Index formula returns values that need to be ignored. Need syntax that excludes values.
    By ZMAFC94 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-06-2018, 11:26 PM
  2. Replies: 4
    Last Post: 07-25-2017, 12:26 PM
  3. [SOLVED] Average Annual Growth Rate that excludes non numeric values.
    By Eamonn100 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-15-2017, 02:05 AM
  4. Sumproduct by month that excludes text
    By rkd101b in forum Excel General
    Replies: 1
    Last Post: 11-22-2016, 04:25 PM
  5. [SOLVED] How to create a formula that excludes specific text.
    By eekbubble in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-08-2014, 08:52 AM
  6. Ranking Formula that Excludes Values
    By intercon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-06-2014, 06:11 PM
  7. [SOLVED] Count days elapse using if isblank statement that excludes weekends
    By jedaicore in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 08-31-2014, 09:05 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