+ Reply to Thread
Results 1 to 4 of 4

Remove duplicates macro

  1. #1
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Remove duplicates macro

    Hello everyone, I am looking for a macro that can scan column A, about 50k rows, and remove any rows that have repeat text. For example if A1 and B1 both have the word "two" then BOTH A1 and B1 rows would be deleted.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Remove duplicates macro

    Try running this:
    Please Login or Register  to view this content.
    It makes use of column B as a helper column, so make sure it is empty (unused).
    多么想要告诉你 我好喜欢你

  3. #3
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Remove duplicates macro

    actually I have info in column B and C

  4. #4
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Remove duplicates macro

    Then use column D as helper:
    Please Login or Register  to view this content.
    The red number indicates the column number, 1 = "A", 2 = "B", 4 = "D", etc.
    Last edited by millz; 11-09-2016 at 11:30 PM.

+ 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. Using A Macro to remove duplicates
    By JakeMann in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-31-2016, 10:28 AM
  2. [SOLVED] Macro to remove duplicates...
    By Finalfrontier1976 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2016, 11:44 AM
  3. [SOLVED] Macro to remove duplicates very Slooooow
    By capson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2014, 12:30 PM
  4. Replies: 1
    Last Post: 03-18-2012, 09:28 AM
  5. Macro to remove duplicates and send email?
    By Milet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2011, 04:55 PM
  6. macro to select table and remove duplicates problem.
    By 0lzi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-16-2011, 05:59 AM
  7. Macro - Remove Duplicates and Lower Values
    By allblack in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2010, 07:58 AM

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