+ Reply to Thread
Results 1 to 2 of 2

Delete rows if the unique ID appear once or twice only

  1. #1
    Registered User
    Join Date
    12-17-2008
    Location
    Singapore
    MS-Off Ver
    2002
    Posts
    71

    Delete rows if the unique ID appear once or twice only

    Hi,
    I had a workbook with 50,000 lines of data. The unique ID appear in column B. I wish to have a macro to delete away rows with the unique ID appear only once or twice in column B. The macro will run from the row 4 to the last available row.

    Thus I wish to have an excel with data when the unique ID appear 3 or more times in column B. Any idea on how to tackle
    Last edited by kaffal; 07-29-2009 at 02:13 PM.

  2. #2
    Registered User
    Join Date
    05-31-2007
    Posts
    16

    Re: Delete rows if the unique ID appear once or twice only

    Hello,

    Here's my stab at it:

    Please Login or Register  to view this content.
    You can speed it up considerably by turning off screen updating and calculations at the start of the macro and turning them on again at the end.
    Last edited by sous2817; 07-29-2009 at 03:09 PM.

+ 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