Results 1 to 8 of 8

Delete rows based on duplicate names in 1 column if they contain a value in a second ?

Threaded View

  1. #1
    Registered User
    Join Date
    01-25-2017
    Location
    USA
    MS-Off Ver
    Plus 2016
    Posts
    5

    Question Delete rows based on duplicate names in 1 column if they contain a value in a second ?

    I need to know if it is possible to delete all rows with duplicate names in column A if Column B contains a value for any of those rows with that same name?

    Example Below: I need to be able to delete ALL rows below that have the name "APPLE" in Column A if any of those rows contains a "1" in Column B. So in this case, ALL 4 rows with "APPLE" need to be deleted even though the first row with "APPLE" doesn't contain a "1" in Column B. The same goes for name "DOG".

    Column A Column B

    BOOK
    BOOK
    APPLE
    APPLE 1
    APPLE 1
    APPLE 1
    CAT
    CAT
    CAT
    CAT
    DOG 1
    DOG
    Last edited by myk2thestar23; 01-25-2017 at 04:16 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Delete Duplicate rows with duplicate in 1 column based on value from another column
    By CraigR&M in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2016, 04:36 PM
  2. Delete Duplicate rows with duplicate in 1 column based on value from another column
    By CraigR&M in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2016, 02:06 PM
  3. [SOLVED] Vba to sum up rows based on column a & b and delete duplicate rows
    By kevivu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2016, 03:15 PM
  4. highlight duplicate rows and delete based on highest value from column
    By adnan5586 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2015, 02:05 AM
  5. [SOLVED] Delete rows based on duplicate cell, but leaving first and last duplicate.
    By LadyNicole in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2013, 05:07 AM
  6. Replies: 5
    Last Post: 05-29-2006, 09:25 AM
  7. delete duplicate names in a column
    By jaya in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-21-2005, 05:05 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