+ Reply to Thread
Results 1 to 4 of 4

Countif exclusion formula help

  1. #1
    Registered User
    Join Date
    09-21-2006
    Location
    Dallas, Texas
    MS-Off Ver
    Office 365 Subscription
    Posts
    56

    Countif exclusion formula help

    I have cells A2:A51, B2:B51, C2:C51, D2:D51 and E2:E51 that will either be blank or have a letter in them. I also have cells L2:L51 that is a number.

    In another cell I want to count all of the cells that are >0. However, I want the count to exclude any cells where the corresponding A-E cells contain any letter.

    This is what I started working with but can't seem to get very far..I am a novice at this so please don't laugh...

    =IF( AND(L2:L51 >=1, B2:B51 = "",C2:C51= "", D2:D51 ="",F2:F51="")), COUNTIF(L2:L51))

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Countif exclusion formula help

    since you did not indicate what the xl ver you are using..in later xl
    countifs could do that

    =countifs( L2:L51,">0",B2:B51,"",C2:C51,"",D2:D51,"",F2:F51,"")
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    09-21-2006
    Location
    Dallas, Texas
    MS-Off Ver
    Office 365 Subscription
    Posts
    56

    Re: Countif exclusion formula help

    Sorry, Excel 2003

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Countif exclusion formula help

    try sumproduct then

    =SUMPRODUCT(--(L2:L51>0),--(B2:B51=""),--(C2:C51=""),--(D2:D51=""),--(F2:F51=""))
    if the output is not the expected you can upload a sample file. with expected outcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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