Results 1 to 7 of 7

Find strings within cells and replace with string from a table

Threaded View

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Find strings within cells and replace with string from a table

    Good morning all, hopefully you can help me.

    I have a column of data which I need to tidy up. The data is made up of various strings, and I wish to replace various portions of those strings, with a predefined sanitised string contained within a table.

    In the example below, I wish to search to recursively through each string, and see if a match can be identified against the bold text, with a clean string substituted in.

    BEFORE

    63,Euroconsult Mott Mc.Donald,144.100,MM Croydon, BoardRm,
    64,MM Arnhem,144.100,Mott MacDonald, Croydon, Mezz,
    64,MM Arnhem,144.100,MM Croydon, BoardRm,

    AFTER

    63,MM Arnhem,144.100,MM Croydon,
    64,MM Arnhem,144.100,MM Croydon,
    64,MM Arnhem,144.100,MM Croydon,

    The sanitised data is contained in a separate table in the following format:

    COLUMN A

    MM Croydon, BoardRm
    Mott MacDonald, Croydon, Mezz,
    Euroconsult Mott Mc.Donald

    COLUMN B

    MM Croydon
    MM Croydon
    MM Arnhem

    I have attempted to use the SUBSTITUTE function, contained within nested IF functions, but above two or three different levels, the formulae becomes to unwieldy, as my sanitised table is about 40 rows long.

    Any help most appreciated.

    Regards,

    S
    Last edited by MMSte; 05-14-2012 at 12:25 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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