+ Reply to Thread
Results 1 to 5 of 5

Extract words from big text in excel cell

Hybrid View

  1. #1
    Registered User
    Join Date
    03-15-2016
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    2016
    Posts
    23

    Extract words from big text in excel cell

    Hi there,

    I like to extract different company names from a cell which contains a large amount of text. I already know how to extract one specific sentence or word from the text. However, in this case I have a list of over a hundred possible company names that can occur in the text. I would like excel to check the large amount of text in column A for all the different company names I have in the list and if the formula (or macro?) finds a match extract the company name in column B. I'm not sure if I need a macro for this or if it can be done with a formula.

    I hope somebody can help me with this!
    Attached Files Attached Files

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Extract words from big text in excel cell

    I didn't download your file.

    Here's an example of how to do what you want.

    Data Range
    A
    B
    C
    D
    1
    I'm suing Company2. Deal with it!
    Company2
    ------
    Company1
    2
    Company2
    3
    Company3
    4
    Company4
    5
    Company5


    This formula entered in B1:

    =IFERROR(LOOKUP(1E100,SEARCH(D1:D5,A1),D1:D5),"")

    You may have to replace the commas with semi-colons.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    04-19-2016
    Location
    Auckland
    MS-Off Ver
    2006
    Posts
    7

    Re: Extract words from big text in excel cell

    Mate, I think you will need business intelligence tool in that case LOL..... The forum guru above wrote down a list of companies before you can search them up from a text.


    In your case, assuming you don't know any company names but you want to track it in the description, it's tough mate

  4. #4
    Registered User
    Join Date
    03-15-2016
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    2016
    Posts
    23

    Re: Extract words from big text in excel cell

    @controlrex, I do have a list of company names which I can use to search for so the formula Tony Valko provided is quite helpful! Thank you!

    The problem you described controlrex is something I have with job titles within the text since I do not have a list of different job titles that are used. It depends on what the company calls it... But according you there is a way to do this? I can imagine that's a tough job, is there a place on this forum were I can find more about this business intelligence tool? Just for looking, don't think I am able to use it

  5. #5
    Registered User
    Join Date
    04-19-2016
    Location
    Auckland
    MS-Off Ver
    2006
    Posts
    7

    Re: Extract words from big text in excel cell

    Well it's hard to explain about Text mining tool here. And High five for malaysians btw.

+ 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. Extract a Sentence, That Contain One of these Words, from Text
    By Neyme in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-20-2014, 11:10 AM
  2. Replies: 7
    Last Post: 02-25-2014, 02:00 AM
  3. Looking for appropriate function to extract words in excel cell
    By JayshreeJK in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-07-2012, 04:39 PM
  4. Compare two text cells and extract common text words
    By ghost_chip in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2012, 06:07 AM
  5. Extract or insert figures words from or to cell in excel 2007
    By Khalid Maqbool in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-30-2012, 02:08 PM
  6. Replies: 6
    Last Post: 03-27-2012, 06:00 AM
  7. Extract 1, 2 or 3 words from middle of text in a cell
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-31-2010, 02:55 PM

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