+ Reply to Thread
Results 1 to 5 of 5

COUNTIFS formula excluding specific text values

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

    COUNTIFS formula excluding specific text values

    Hello All

    I am having some trouble getting this formula to work the way I'd like. The result I am trying to return is the number of incidents by priority (Column F), while excluding certain text values from 'Resolution notes' column (Column E) from the January Source Data sheet.

    I'd like the result to be displayed in column G2-G5 on the All Regions Source Data sheet.

    The two values I'd like to exclude in this count are "Duplicate Incident Opened, Do Not Report" and "Incident Opened In Error".

    The formula I have tried is =COUNTIFS('January Source Data'!$F$2:$F$10000, F2,"<>Duplicate Incident Opened, Do Not Report"), but it is returning an error.

    I have attached the sheet below -- any help is much appreciated!

    Thanks in advance...
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: COUNTIFS formula excluding specific text values

    Please try at G2 and drag down

    =COUNTIFS('January Source Data'!$F$2:$F$10000,F2,'January Source Data'!$E$2:$E$10000,"<>*Incident*")

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: COUNTIFS formula excluding specific text values

    =COUNTIFS(criteria_range,criteria,criteria_range2, criteria2....)

    Your criteria_range2 = "<>Duplicate Incident Opened, Do Not Report" so it can't works.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

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

    Re: COUNTIFS formula excluding specific text values

    Bo_Ry

    This formula worked, thank you. Can you help me understand the logic behind the formula?

    Thanks..

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: COUNTIFS formula excluding specific text values

    =COUNTIFS(criteria_range1, criteria 1, [criteria_range2, criteria 2]…)

    =COUNTIFS('January Source Data'!$F$2:$F$10000,F2,'January Source Data'!$E$2:$E$10000,"<>*Incident*")


    criteria 1 is F2 that is normally use.


    You don't want to include both sentences below, and both share the same word "Incident"
    and this word does not show for other sentences in 'January Source Data' column F

    "Duplicate Incident Opened, Do Not Report" and "Incident Opened In Error"

    criteria 2 is "<>*Incident*" * is wildcard can be anything before or behind "Incident"

+ 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: 09-12-2018, 06:16 AM
  2. Countifs formula with specific text that includes parenthesizes problem
    By kschmit1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-15-2018, 02:15 PM
  3. [SOLVED] Formula To Calculate Total Excluding Specific Text Based In Another Cell
    By rahul_ferns76 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-15-2017, 10:12 PM
  4. Replies: 6
    Last Post: 10-31-2017, 02:19 PM
  5. COUNTIFS; Excluding Columns, And Counting Between Specific Date Range...
    By Haslami in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-31-2017, 12:44 PM
  6. Help with excluding multiple values from a COUNTIFS function.
    By MONEYBALLBINGO in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2014, 10:30 AM
  7. Excluding Specific Values in Calculating Max
    By kegiannone in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2010, 07:23 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