+ Reply to Thread
Results 1 to 2 of 2

Deleting part of a cell if it doesn't contain required data

  1. #1
    Registered User
    Join Date
    05-24-2012
    Location
    newbury
    MS-Off Ver
    Excel 2003
    Posts
    1

    Deleting part of a cell if it doesn't contain required data

    I have a string containing upto 200 words separated by a comma. I would like to be able to delete the words that don't contain the first 3 letters that match a 3 letter word in a different cell on the same row.

    I have upto 10,000 rows with these types of string on them.

    I have attached a mock up of what I mean, the green coloured cells are the ones that I want to remain on column b and the red ones are those which I want to delete.

    Can anyone suggest anything please?
    Attached Files Attached Files

  2. #2
    Forum Contributor tkowal's Avatar
    Join Date
    11-20-2010
    Location
    Miami, Fl
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Deleting part of a cell if it doesn't contain required data

    StripDelimList.xlsm

    I believe this will fulfill your requirements!

    The macro StripList will re-write the delimited list in column b with only those that the first 3 characters are contained in column A.

    the duplicate stuff in column M and N was so I could copy past original data back where you had it.

    enjoy
    Ted
    "Live Long and Prosper"

+ 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