+ Reply to Thread
Results 1 to 6 of 6

Countifs... excluding a row with specific text

  1. #1
    Registered User
    Join Date
    05-29-2019
    Location
    Corona, CA
    MS-Off Ver
    Windows 10
    Posts
    6

    Exclamation Countifs... excluding a row with specific text

    Hello everyone,

    thank you again for any help in advance

    Trying to verify Column F, with the word "Default" in it and Column B has "0" or less in it, except for the rows with "DC" in them based on Column E.

    If any cell in column B has a value other than the exclusion I want to return a false statement (Move On)

    =IF(COUNTIFS(F2:F15,"Default",B2:B15,(B2:B15>0),E2:E15,"<>DC"),"Stop","Move On")

    Test_with exclusions.xlsx
    Attached Files Attached Files

  2. #2
    Forum Contributor jomaor1's Avatar
    Join Date
    10-08-2018
    Location
    Brasil
    MS-Off Ver
    Excel 2016
    Posts
    177

    Re: Countifs... excluding a row with specific text

    Hi,

    you actually mean "larger than 0" right?
    And i quite don't get why you tried to use Countifs, can you elaborate?

    Anyway, try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    John.

    "I excel at jumping to conclusions"

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Countifs... excluding a row with specific text

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Countifs... excluding a row with specific text

    So you want 'Stop' only if there is at least one row with B<=0, F=Default and E<>DC?
    Just add '=0' after your COUNTIFS in the IF statement:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Does that do what you want?
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  5. #5
    Registered User
    Join Date
    05-29-2019
    Location
    Corona, CA
    MS-Off Ver
    Windows 10
    Posts
    6

    Re: Countifs... excluding a row with specific text

    If any of the other rows in B have a value I want to "Move On".

    The placement of Balances and Zeros can be random, from another sheet.

    Included forced results

    Attachment 628239

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Countifs... excluding a row with specific text

    Attempting to view the attachment in post #5 results in the following message: "Invalid Attachment specified. If you followed a valid link, please notify the administrator".
    It might be better to upload another file as was done in post #1. It also might help if you would show multiple scenarios and manually fill in the expected values in column G.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Average excluding specific text and sorting results
    By danieloverton1984 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-12-2019, 03:28 PM
  2. [SOLVED] COUNTIFS formula excluding specific text values
    By Jnehra in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-08-2019, 11:32 PM
  3. Replies: 1
    Last Post: 09-12-2018, 06:16 AM
  4. [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
  5. Replies: 6
    Last Post: 10-31-2017, 02:19 PM
  6. 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
  7. [SOLVED] Counting cells with specific text excluding if date in specific cells
    By FraserMc97 in forum Excel General
    Replies: 2
    Last Post: 04-07-2017, 06:19 AM

Tags for this Thread

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