+ Reply to Thread
Results 1 to 6 of 6

ISNUMBER with multiple criteria

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    3

    ISNUMBER with multiple criteria

    Hi

    this is my first time posting so fingers crossed. I have a formula which counts a number of entries which have been inputted within a date range and match a criteria.
    =SUMPRODUCT(($G$21:$G$1501>=$A$1502)*($G$21:$G$1501<=$A$1503)*(ISNUMBER(SEARCH("Clinic",$H$21:$H$1501))))

    A1502 & A1503 contain the date range
    rows 21 - 1501 contain the data

    this formula work fine and counts the number of "clinic" entries within the date range but when I try to add another criteria it goes wrong.
    I wish to search for the word "incomplete" within column K but I have tried several times using AND and I either get a 0 or #Value

    help!!

    Sharon

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: ISNUMBER with multiple criteria

    Sharon,

    Welcome to the forum!
    Give this a try:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: ISNUMBER with multiple criteria

    You don't say how you wish to apply that criteria, but try this:

    =SUMPRODUCT(($G$21:$G$1501>=$A$1502)*($G$21:$G$1501<=$A$1503)*(ISNUMBER(SEARCH("Clinic",$H$21:$H$1501)*(ISNA(SEARCH("incomplete",$K$21:$K$1501))))

    This will exclude from the count any values in column K that contain the word incomplete.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    11-06-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: ISNUMBER with multiple criteria

    thanks so much - works brilliant

  5. #5
    Registered User
    Join Date
    11-06-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: ISNUMBER with multiple criteria

    thanks Pete - all good

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: ISNUMBER with multiple criteria

    Well, it's either ISNUMBER or ISNA in the end parameter, depending on whether you want to include or exclude rows with "incomplete" in column K.

    Pete

+ 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