+ Reply to Thread
Results 1 to 3 of 3

Need Macro to delete duplicate Values in Column

  1. #1
    Registered User
    Join Date
    07-13-2007
    Posts
    50

    Need Macro to delete duplicate Values in Column

    Hello can anybody help me with a macro to delete duplicate Values in a selected Column?

    In Column A I have duplicate account numbers that I need to eliminate.

    Example:

    12345
    12345
    12345
    45678
    45678

    I dont need to eliminate the row, just any duplicate value that might occur.

    Thanks

  2. #2
    Registered User
    Join Date
    03-08-2007
    Location
    Brisbane, Australia
    Posts
    57

    deleting duplicate data

    Do you definitiely need a macro for this? You may, if it's something you need to do regularly, or if the data changes often.

    Otherwise you can use one of a number of much simpler methods to find or delete duplicates, using either a formula in an adjacent column, or a by running a filter over the data to extract unique values.

    Also, did you just want to delete the duplicate value, or delete the row that holds the duplicate? Is the duplicate always alongside the original, or can the data be sorted? Is there ever a duplicate that you want to retain?

    James

  3. #3
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562
    See if this will do what you are wanting.

    Please Login or Register  to view this content.
    Sincerely,
    Jeff

+ 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