+ Reply to Thread
Results 1 to 8 of 8

To search specific text in a cell that contains text string

  1. #1
    Registered User
    Join Date
    08-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    12

    To search specific text in a cell that contains text string

    I have no idea to create a formula. Here is my situation..

    I need to search specific word in a sentence. If it is found, the result will appear as Track.

    Example:
    If Cell A1 contains specific word such as Kit, keyboard or mouse..the result should be Track in cell B1.
    In cell A1, it contains a text such as "Laptop without mouse"

    Currently, i'm tracing manually using my eyes..and i have more than 300 records daily...

    I hope someone can help me to speed up my task..

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: To search specific text in a cell that contains text string

    Do you have source of those words?
    Can you upload spreadsheet?
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Registered User
    Join Date
    08-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: To search specific text in a cell that contains text string

    Here is the file. Please help me..
    Attached Files Attached Files

  4. #4
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: To search specific text in a cell that contains text string

    How do you know for wich word to search for?
    Do you have only 4 words?
    What if we had
    "HP 2400W Gold Ht Plg Pwr Monitor"

  5. #5
    Registered User
    Join Date
    08-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: To search specific text in a cell that contains text string

    If i see the text contains below words, i know that i need to "track" the item and the result is "track". if we had "HP 2400W Gold Ht Plg Pwr Monitor", the result should be "Not track"

    List
    Kit
    SSD
    Keyboard
    Cable
    Mouse
    Vmaware

  6. #6
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: To search specific text in a cell that contains text string

    hi mikail, welcome to the forum. you can put the list somewhere say in E1:E7, then in B1:
    =IF(SUMPRODUCT(COUNTIF(A1,"*"&$E$1:$E$7&"*")),"Track","Not Track")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  7. #7
    Registered User
    Join Date
    08-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: To search specific text in a cell that contains text string

    Thanks, Guys. You are awesome!!!

  8. #8
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: To search specific text in a cell that contains text string

    Unless the you will not get "mauset" in your data or any slighlty different name(like scable) the formula will work.
    Otherwise will return "Track".
    Unless your word is always the last word in sentence(this could be done by formula" I would suggest to look here:
    http://www.excelfox.com/forum/f22/fi...ther-word-603/

+ 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. Search a string for a specific text value from cells
    By hockeyadc in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-25-2013, 08:39 AM
  2. Excel 2007 : Search specific text in a string
    By nlm in forum Excel General
    Replies: 7
    Last Post: 12-14-2011, 05:38 AM
  3. search for specific text pattern within string
    By nzdzy2 in forum Excel General
    Replies: 3
    Last Post: 10-10-2011, 11:47 AM
  4. Search for specific text in a string and replace
    By VegasL in forum Excel General
    Replies: 5
    Last Post: 12-04-2009, 04:45 PM
  5. search for specific characters in text string and separate them out
    By neowok in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2008, 09:21 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