+ Reply to Thread
Results 1 to 3 of 3

COUNTIFS Based on Two Columns value presence

  1. #1
    Registered User
    Join Date
    04-06-2021
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    20

    COUNTIFS Based on Two Columns value presence

    I want to use COUNTIFS on String named 'PASS' in column C, based on the Availability of values in column A but if the cells have values else not consider for counting it in column C COUNTIFS formula.

    In my Example attached workbook, In Sheet1, Column A has 4 Values count, Column C has PASS string 6 values count.

    In Sheet 2, I am doing COUNTIFS as follows =COUNTIFS(Sheet1!C2:C7, "PASS"), how to modify this to ignore the blank values of A2:A7 and consider only values that are there.

    as of now, I am getting a value as 6. But I am expecting it should be 4.


    Thank You,
    Attached Files Attached Files
    Last edited by jake29; 11-02-2021 at 11:27 AM. Reason: Missed attachment.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: COUNTIFS Based on Two Columns value presence

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

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,786

    Re: COUNTIFS Based on Two Columns value presence

    Add that as a criterion:

    =COUNTIFS(Sheet1!A2:A7,"<>",Sheet1!C2:C7,"PASS")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Countifs if criteria is based on columns and rows (by date)
    By kingripper in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-25-2021, 03:28 AM
  2. Replies: 28
    Last Post: 05-28-2019, 08:17 AM
  3. Replies: 0
    Last Post: 05-31-2016, 04:25 PM
  4. [SOLVED] Deleting Cell based on the presence of ;
    By liquidmettle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-06-2016, 07:38 PM
  5. Replies: 4
    Last Post: 07-20-2012, 07:51 AM
  6. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  7. IF function based on alpha presence
    By mephistol in forum Excel General
    Replies: 3
    Last Post: 06-08-2009, 03:28 PM

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