+ Reply to Thread
Results 1 to 4 of 4

Mark similar but not identical text strings

  1. #1
    Registered User
    Join Date
    04-28-2013
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    93

    Mark similar but not identical text strings

    Hi all,

    I am working with some text strings in Excel. These are news items, to be precise. Before proceeding with the analysis, I need to omit some data that is not correct. I have already removed all the duplicate values. The problem is that there are still some values like:

    B1: Libya restarts southern oil field.
    B2: Libya restarts southern oil field. <p><a href="http://feedads.g.doubleclick.net/~a/CO75vQ4piJ9lTeivpP7wIer7Phw/0/da

    These are exactly the same news items, they are published by the same newspaper, yet they cannot be removed as being duplicates since they are slightly different. Is there any way to mark these so that it can be seen that they relate to the same stuff.

    Thank you very much in advance!

  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: Mark similar but not identical text strings

    If the "duplicates" will always be in that kind or format, you could add a helper column and extract, say, the 1st 35 characters, and then do a countif() based on that - sort on >1 and then you can see what are probably the duplictes
    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

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Mark similar but not identical text strings

    Find and replace <*> with nothing?
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    04-28-2013
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Mark similar but not identical text strings

    Good stuff, thank you

+ 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] Identical text strings return false when compared
    By Skiingbeancounter in forum Excel General
    Replies: 13
    Last Post: 09-18-2023, 05:43 PM
  2. Comparing two lists, of similar but different text strings
    By FierceEffect in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2012, 10:41 AM
  3. Match Similar (But Not Exact) Text Strings
    By jamesjhhill in forum Excel General
    Replies: 1
    Last Post: 11-12-2012, 12:50 PM
  4. Matching similar but not exact text strings
    By Ampi Severe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-08-2012, 10:21 AM
  5. Seemingly identical text strings not matching
    By mr0range in forum Excel General
    Replies: 3
    Last Post: 08-27-2009, 05:28 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