+ Reply to Thread
Results 1 to 5 of 5

COUNTIF - Multiple conditions are true

  1. #1
    Registered User
    Join Date
    11-18-2010
    Location
    NH
    MS-Off Ver
    Excel 2003
    Posts
    5

    COUNTIF - Multiple conditions are true

    Hello,

    I'm trying to count a range of text if the range of text meets two condition.

    Please Login or Register  to view this content.
    Any suggestions on how I can do this would be awesome!

    Thanks in advance
    Last edited by ryanw327; 11-24-2010 at 08:32 PM.

  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: COUNTIF - Multiple conditions are true

    Hi,

    If you're using Excel 2003 try,

    Please Login or Register  to view this content.
    change the 1:1000 range to suit your circumstances. If you have Excel 2007/2010 then use the new COUNTIFS() function.

    HTH
    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.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: COUNTIF - Multiple conditions are true

    =SUMPRODUCT(ISNUMBER(SEARCH("*WD*1*",F1:F100))*(I1:I100="ryan"))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    11-18-2010
    Location
    NH
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: COUNTIF - Multiple conditions are true

    Quote Originally Posted by martindwilson View Post
    =SUMPRODUCT(ISNUMBER(SEARCH("*WD*1*",F1:F100))*(I1:I100="ryan"))
    Works like a charm. Thank you very much

  5. #5
    Registered User
    Join Date
    11-18-2010
    Location
    NH
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: COUNTIF - Multiple conditions are true

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    If you're using Excel 2003 try,

    Please Login or Register  to view this content.
    change the 1:1000 range to suit your circumstances. If you have Excel 2007/2010 then use the new COUNTIFS() function.

    HTH

    This did not work for me I added the "" after WD*1*, still nothing. Says I have 0.

    Thanks just the same.

+ 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