+ Reply to Thread
Results 1 to 3 of 3

Delete entire Rows if Column value is unique OR Duplicate is less than three

  1. #1
    Forum Contributor
    Join Date
    08-17-2013
    Location
    Asia
    MS-Off Ver
    Excel 2021
    Posts
    271

    Delete entire Rows if Column value is unique OR Duplicate is less than three

    I have a worksheet where data is in Range Column A:U.

    Controlling Column for data evaluation is in Column B.

    I want to remove entire rows if a) cell value in Column B is UNIQUE, or b) there are duplicates but such duplicates are less than two value only

    Conversely speaking, I want to RETAIN / KEEP all ROWs, if cell value in each row in Column B has duplicates >=3

    I read this thread (# 4) http://www.excelforum.com/excel-prog...uplicates.html

    Please Login or Register  to view this content.
    This macro perfectly does the job, but keeps duplicates (even two) and i need to keep only those rows where duplicates in Column B are >=3.


    Thanks

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Delete entire Rows if Column value is unique OR Duplicate is less than three

    Try this:
    Please Login or Register  to view this content.
    Best,
    berlan

  3. #3
    Forum Contributor
    Join Date
    08-17-2013
    Location
    Asia
    MS-Off Ver
    Excel 2021
    Posts
    271

    Re: Delete entire Rows if Column value is unique OR Duplicate is less than three

    WOW, That worked like a Charm. Thanks

+ 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. Delete Duplicate Entire Rows Keeping Row with Lowest Price
    By timmy1254 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-23-2015, 07:07 PM
  2. [SOLVED] Delete both Original and duplicate rows off data in 1 column for entire sheet
    By Caraexcel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-01-2014, 01:33 AM
  3. [SOLVED] VBA Delete Duplicate Rows If Entire Row Is A Match
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2014, 09:30 AM
  4. delete the entire row if duplicate found in column
    By gujugolf in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2013, 04:07 PM
  5. [SOLVED] Delete entire row if value in the column A is duplicate.
    By swapnilj1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-12-2012, 07:40 AM

Tags for this Thread

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