+ Reply to Thread
Results 1 to 2 of 2

Matching 1 string of words to the closest string of words in another col

  1. #1
    Forum Contributor
    Join Date
    06-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    179

    Matching 1 string of words to the closest string of words in another col

    Hi,

    I have a long list 5000+ names i have another list of a similar number i basically want in a third col the name from the second col that is closest the name in the first list.

    I did this on an individual basis by splitting list two into individual words (text to col) and then counting the number of words in the specific name in col A. Then the one which matched the closest number of words would be the one that went in the cell.

    How can i do this on a mass scale?

    I know i can't be 100% right but i'd just like the name thats closest.

    Any ideas?

    Regards,
    Joshua

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Matching 1 string of words to the closest string of words in another col

    Hard to say without seeing a sample of what you are working with. Upload a small representative sample workbook please
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Extracting two words from a string
    By HM001 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-14-2013, 07:15 AM
  2. [SOLVED] Find matching words in 10 columns and add row numbers of matching words
    By zeke 29 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-03-2012, 09:57 AM
  3. String with words and numbers
    By jkessler in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2012, 10:09 AM
  4. Can some words in a string be a different color?
    By richard11153 in forum Excel General
    Replies: 3
    Last Post: 11-28-2008, 05:09 AM
  5. Remove Certain Last Words from String
    By ShredDude in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-18-2008, 02:31 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