Results 1 to 9 of 9

Count If Formula for 2 Separate Criteria Not Correct

Threaded View

  1. #1
    Registered User
    Join Date
    05-22-2017
    Location
    Houston, Texas
    MS-Off Ver
    2013/2016
    Posts
    20

    Count If Formula for 2 Separate Criteria Not Correct

    Hello All,

    I am trying to write a CountIf Excel formula to calculate 2 separate criteria for a range. The range consists of an If formula that generates either a 1 or a 2, so the Countif will tell the user what category that range is ( 1 or 2). The formula works when it is only for one criteria but I can't get it to work when I add a second CountIf. I appreciate you taking time to read my post. Please let me know if you have any suggestions, thank you!

    1 criteria which works =IF(COUNTIF(M14:AR14,"*"&"1"&"*"),"Check","x")

    2 criteria =IF(COUNTIF(M14:AR14,"*"&"1"&"*"),"Check",IF(COUNTIF(M14:AR14,"*"&"4"&"*"),"Clear","x"))
    Attached Files Attached Files
    Last edited by wooshoe; 05-17-2019 at 12:30 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sumproduct formula not giving correct count
    By mmccra2858 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-03-2017, 01:59 PM
  2. [SOLVED] correct If formula with three criteria
    By mazan2010 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-01-2016, 03:02 PM
  3. [SOLVED] Correct syntax for referencing a separate worksheet in a formula when.
    By moosetales in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-20-2014, 03:01 PM
  4. [SOLVED] How can I count line entries based on meeting criteria for 2 separate columns?
    By neilrk7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2013, 12:57 PM
  5. Am I correct in using the IF formula for 6 criteria?
    By danny2324 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-24-2008, 01:50 PM
  6. How do I count data with criteria from two separate columns in exc
    By Scott in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-02-2006, 12:25 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