+ Reply to Thread
Results 1 to 4 of 4

Counting partial strings

  1. #1
    Forum Contributor
    Join Date
    07-20-2009
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    203

    Counting partial strings

    I don't know what's wrong with this it's not working..


    =COUNTIF(SEARCH("radio",A2:A20),"")


    i just want to count all the cells from a2 to a20 that has a word "radio" from that cells. Since a2 until a20 have different words like tv power, radio blaster (this should be consider because there's a radio word on it) and so on.


    if i use only =COUNTIF(A2:A20,"radio") the word should be exact "radio" and it wont consider the word "radio blaster".

    someone? I'm starting to teach myself with codings, but also starting to encounter some problems, lolz..


    Thanks!
    Last edited by darkhangelsk; 07-31-2009 at 11:24 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Wrong Formula?

    Try

    =Countif(A2:A20,"*radio*")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-31-2009
    Location
    Philadelphia, PA
    MS-Off Ver
    All of them
    Posts
    4

    Re: Wrong Formula?

    Use wildcards.

    =COUNTIF(A:A,"*Radio*")

  4. #4
    Forum Contributor
    Join Date
    07-20-2009
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    203

    Re: Counting partial strings

    Oh yah!! got it!

    Thanks! Now im learning! Thanks again!

+ 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