+ Reply to Thread
Results 1 to 2 of 2

removing duplicate rows

  1. #1
    Registered User
    Join Date
    01-30-2007
    Location
    Ontario, Canada
    MS-Off Ver
    2003
    Posts
    42
    What I need help with is:
    I need to search column A for duplicate entries than if it finds one change the value in column C to "COM", and then remove the duplicate row.

    Not sure if this is even possible but any help would be greatly appreciated.

    Graeme

    process that im looking for is:

    a2 compare to all other items in Column "A"
    if duplicate delete duplicate row
    put "COM" in the "C2"
    then repeat replacing A2 with A3 and C2 with C3... and so on...

    thanks for any help that can be given.


    Graeme

    process that im looking for is:

    A2 compare to all other items in Column "A"
    if duplicate delete duplicate row
    put "COM" in the "C2"
    then repeat replacing A2 with A3 and C2 with C3... and so on...

    thanks for any help that can be given.

    Graeme
    Attached Files Attached Files
    Last edited by VBA Noob; 02-12-2007 at 03:33 AM.

  2. #2
    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
    Hi,

    If you delete the row the COM will be delted.

    Attached is a macro from Chip Pearson that will delete duplicates in selected column.

    Press the button to run


    http://www.cpearson.com/excel/deleti...eDuplicateRows


    VBA Noob
    Attached Files Attached Files
    _________________________________________


    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