+ Reply to Thread
Results 1 to 3 of 3

remove the repeated words/numbers in a cell

  1. #1
    Forum Contributor
    Join Date
    10-27-2010
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    107

    remove the repeated words/numbers in a cell

    I have some contents in cell B1 and cell C1.
    For e.g. the content in cell B1 is,
    DAT8, G8, D4, A8, NQ8, "C7", ground, G7, 5, P14

    And the content in cell C1 is
    DAT8, D4, ground, C8, "C7", E7, 5, F4, F3, E8

    If we compare the two contents we can see that some values can be found in both cells. For e.g. DAT8, D4, ground, “C7” and 5

    So what I want to do is to remove all these repeated contents from cell C1.

    After running the macro successfully the content in cell C1 should be
    C8, E7, F4, F3, E8

    And the content in cell B1 should remains as how it was initially,
    DAT8, G8, D4, A8, NQ8, "C7", ground, G7, 5, P14
    Last edited by darkhorse4321; 01-24-2011 at 02:17 AM.

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: remove the repeated words/numbers in a cell

    Try this:-
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Forum Contributor
    Join Date
    10-27-2010
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    107

    Re: remove the repeated words/numbers in a cell

    Thanks Mick for your help and time. It works

+ 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