+ Reply to Thread
Results 1 to 4 of 4

Thread: Finding text multiple criteria

  1. #1
    Registered User
    Join Date
    07-01-2011
    Location
    ny
    MS-Off Ver
    Excel 2011
    Posts
    2

    Finding text multiple criteria

    I'm trying to get a count of how many times a product is shipped.
    So, in Sheet 1 Column A are the products, column B it says shipped. I'd like to be able to get the total of how many times a product shipped in Sheet 2. Although i figured out a way to do this --- =SUM((Sheet1!B3:B62="Product")*Sheet1!C3:C62="Shipped")), the problem i have is that I'd like it to pick up one word of the product even though there are other words in the referenced cells (e.g. Red apples and Green apples, and i just want it to find the word apples).

    Any help with this would be great!
    Thanks

  2. #2
    Forum Guru sweep's Avatar
    Join Date
    04-03-2007
    Location
    Location: Location:
    MS-Off Ver
    3.0
    Posts
    2,472

    Re: Finding text multiple criteria

    Hi,

    How about something like this

    =SUMPRODUCT((ISNUMBER(FIND("apples",Sheet1!B3:B62)))*(Sheet1!C3:C62="Shipped"))
    Last edited by sweep; 07-01-2011 at 05:13 AM. Reason: can't use wildcards!
    Please disregard anything in the above post. It may well have been edited without my consent, as has been the case with several posts and threads recently.

  3. #3
    Registered User
    Join Date
    07-01-2011
    Location
    ny
    MS-Off Ver
    Excel 2011
    Posts
    2

    Re: Finding text multiple criteria

    Thanks!
    That worked!

  4. #4
    Valued Forum Contributor Haseeb A's Avatar
    Join Date
    05-24-2011
    Location
    India | Kwt
    MS-Off Ver
    2007
    Posts
    1,453

    Re: Finding text multiple criteria

    Hello,

    You are using Excel 2010. So you can simply use,

    =COUNTIFS(Sheet1!B:B,"*apple*",Sheet1!C:C,"Shipped")

    Which is faster than SUMPRODUCT.
    HTH; Haseeb

    If your problem is solved, please say so clearly, and mark your thread as Solved:
    Forum Rules & How to Mark a thread as SOLVED

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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