+ Reply to Thread
Results 1 to 6 of 6

searching list of words in a cell

Hybrid View

  1. #1
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: searching list of words in a cell

    How about this:

    1) Insert a blank row1

    2) Put GENE= in D1 and put LOCUS= in E1

    3) Put this formula in D2, copy down and across to column E:
    =IFERROR(SUBSTITUTE(TRIM(MID(SUBSTITUTE($B2, " ", REPT(" ", 50)), FIND(D$1, SUBSTITUTE($B2, " ", REPT(" ", 50))), 50)), D$1, ""), "")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  2. #2
    Registered User
    Join Date
    04-26-2015
    Location
    Tehran
    MS-Off Ver
    2007
    Posts
    58

    Re: searching list of words in a cell

    wow! thank you so much
    yes, it worked. I could collect the words in front of "GENE=" and "LOCUS=". Now I just have to use VLOOKUP function to compare them with my word list.
    Is there any advanced tutorial that can help me to get familiar with these kind of advanced functions? I think I really need to learn how to use excel for these kind of tasks
    Nazanin

+ 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. [SOLVED] Searching a cell for multiple words
    By squigman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-16-2013, 02:57 AM
  2. Replies: 3
    Last Post: 08-14-2013, 10:38 AM
  3. Replies: 3
    Last Post: 11-28-2012, 04:00 AM
  4. Searching for multiple words in a cell
    By CU2011 in forum Excel General
    Replies: 12
    Last Post: 05-05-2011, 11:48 AM
  5. [SOLVED] Searching a cell with multiple words
    By nervous_pilchard in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-21-2010, 10:17 AM

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.6.0 RC 1