+ Reply to Thread
Results 1 to 2 of 2

Nested AND or IF inside of count

  1. #1
    Registered User
    Join Date
    07-26-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Nested AND or IF inside of count

    So I have been trying different COUNTIF and DCOUNT, and SUM(IF and I am at wits end... it seems so simple, yet if it was in a DB I would have it figured out in seconds...

    So Here is my issue

    I need a formula that First looks for values in C9:C18 that have any type of data AND has a string value of "Not Run" in L9:L18

    So I first started with =COUNTIF(C9:C18,"="&"*") Works great for the first part
    Then =COUNTIF(L9:L18,"Not Run") works great for second part... but cant seem to figure out how to nest and AND in there. I tried +COUNTIF(AND( and that didnt work...

    Then I played around with DCOUNT(C9:L18,"Not Run" and that wouldnt pull back the right data either. Most likely my inexperience with the syntax

    Lastly I tried =COUNT(IF(C9:C18="*",1,0),IF(L9:L18="Not Run",1,0))

    I seriously think I am confusing myself now and would be very happy if you pointed me in the right direction...

    Thanks

    Will

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need help with Nested AND or IF inside of count

    Hi,

    How about

    Please Login or Register  to view this content.
    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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