+ Reply to Thread
Results 1 to 4 of 4

Removing duplicate cells

  1. #1
    Registered User
    Join Date
    08-02-2006
    Posts
    7

    Removing duplicate cells

    Hi

    I need to know if it's possible to remove duplicate numbers to leave only the unique numbers.

    Example:

    12345 56789
    42569 56983
    56789 12345
    56983 23456

    After the list has been filtered it should only show the following numbers:

    42569
    23456

    Where it removed both the original and the duplicate number.

    Thanks in advance

  2. #2
    Forum Contributor harrywaldron's Avatar
    Join Date
    05-24-2007
    Location
    Roanoke, VA
    MS-Off Ver
    Office Professional 2010 BETA
    Posts
    169
    If all cells are in column A, one idea is to PIVOT the table and then count the # of occurrences. If you're not familiar with how to do that specifically with the PIVOT function, you can place a "1" in an extra column and use the Word document following a step by step approach. After you're done, you can filter on the document, pulling in only the items having a "1" (single occurrence)

    http://msmvps.com/blogs/harrywaldron...t-a-table.aspx

    This search also shares more good techniques in how to find unique items

    http://www.google.com/search?hl=en&q...d+unique+items

  3. #3
    Registered User
    Join Date
    08-02-2006
    Posts
    7
    Thank you very much for your reply.

    I have followed your links but I can't seem to filter how I want it to.

    It either filters them so that only one of the numbers are showing or totals them up.

    Maybe I'm doing something wrong.

    I've even gone through google but still can't seem to find the answer.

    Sorry for being a pain

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Does these link help

    http://support.microsoft.com/kb/291320

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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