+ Reply to Thread
Results 1 to 7 of 7

Countifs if the text to be counted is within or inside a word in a cell (dropdown list)

  1. #1
    Registered User
    Join Date
    03-02-2020
    Location
    Mexico
    MS-Off Ver
    MS 365
    Posts
    62

    Countifs if the text to be counted is within or inside a word in a cell (dropdown list)

    Experts,

    Need your assistance, I need to do countif to a word containing specific text from a word(ex. dogcatmouse) need to find and count cat (as criteria 1 in a dropdown list)


    dogcatmouse 2-Dec
    dogcatmouse 2-Feb
    dogcatmouse 2-Dec
    dogcatmouse 2-Feb


    Please see sample attached for reference


    thanks,
    Attached Files Attached Files
    Last edited by kingripper; 12-23-2020 at 05:34 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Countifs if the text to be counted is within or inside a word in a cell (dropdown list

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,502

    Re: Countifs if the text to be counted is within or inside a word in a cell (dropdown list

    Try this:

    =SUMPRODUCT((B15:B22=LOOKUP(1000,SEARCH(F15,B15:B22),B15:B22))*(TEXT(C15:C22,"mmmm")=E15))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Countifs if the text to be counted is within or inside a word in a cell (dropdown list

    I think "--" do not need:

    =SUMPRODUCT((TEXT($C$15:$C$22,"mmmm")=E15)*(ISNUMBER(SEARCH(F15,$B$15:$B$22))))
    Quang PT

  5. #5
    Registered User
    Join Date
    03-02-2020
    Location
    Mexico
    MS-Off Ver
    MS 365
    Posts
    62

    Re: Countifs if the text to be counted is within or inside a word in a cell (dropdown list

    Quote Originally Posted by Shareez Saleem View Post
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    thank you very much..

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,502

    Re: Countifs if the text to be counted is within or inside a word in a cell (dropdown list

    You had three working solutions offered, but have acknowledged only your first helper here ... But thanks for the rep.

  7. #7
    Registered User
    Join Date
    03-02-2020
    Location
    Mexico
    MS-Off Ver
    MS 365
    Posts
    62

    Re: Countifs if the text to be counted is within or inside a word in a cell (dropdown list

    Thank you very much guys.. all the best....

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 08-08-2019, 06:56 AM
  2. [SOLVED] Insert Dropdown List inside Calendar Days
    By 323100N in forum Excel Programming / VBA / Macros
    Replies: 98
    Last Post: 05-24-2018, 03:32 AM
  3. [SOLVED] Counif in vertical list for 2 creterias looking for partial and full text inside cell
    By Sekars in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 07-31-2017, 02:23 PM
  4. Replies: 6
    Last Post: 02-02-2016, 04:26 PM
  5. Excel 2008 : Colour text inside dropdown list?
    By Bezy in forum Excel General
    Replies: 1
    Last Post: 07-13-2012, 06:43 AM
  6. How to get font of particulat word in text inside a cell?
    By Laguna in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2005, 01:05 AM
  7. [SOLVED] How do I create a bulleted list text format inside cell?
    By DEH in forum Excel General
    Replies: 5
    Last Post: 02-01-2005, 04:06 AM

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