+ Reply to Thread
Results 1 to 3 of 3

Need help identifying duplicates based on multiple criteria

  1. #1
    Registered User
    Join Date
    12-16-2013
    Location
    SF
    MS-Off Ver
    Excel 2003
    Posts
    15

    Need help identifying duplicates based on multiple criteria

    Hi All,

    I have an excel problem that is driving me crazy trying to figure it out without doing the work manually. it's a two part problem and luckily I have already done the first part. I have a worksheet where I've got a formula that says wherever you duplicates, identify the first in the series as '1st' and everything else within those duplicate occurrences as 'Other dups'. However, there is a second condition that I can't figure which I need. I need to look within a series of duplicates and look in a specific column (not the duplicate column) and see if at any point within the group of duplicates that column contains a "Y". If it does, then I want to put "yes" in the cell next to the duplicate occurrence column.

    Below is an example. As you can see, the 4th row in this series of duplicates contains a 'Y". I want to basically say if within a series of duplicates a "Y" exists, indicate this in cell X. I can't figure out how to tell excel to know what range is each series of duplicates. each group of duplicates could be any number of rows. In other words, the count of duplicate rows per duplicate group is dynamic.


    Antioch Delta Fair Medical Offices Medical Office Campus CN55-01 N Dup 1st
    Antioch Delta Fair Medical Offices Medical Office Campus CN55-02 N Dup Other Dups
    Antioch Delta Fair Medical Offices Medical Office Campus CN55-03 N Dup Other Dups
    Antioch Delta Fair Medical Offices Medical Office Campus CN55-04 Y Dup Other Dups
    Antioch Delta Fair Medical Offices Medical Office Campus CN55-05 N Dup Other Dups
    Antioch Delta Fair Medical Offices Medical Office Campus CN55-51 N Dup Other Dups
    Antioch Delta Fair Medical Offices Medical Office Campus CN55-52 N Dup Other Dups

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Need help identifying duplicates based on multiple criteria

    Are you able to post a small sample workbook (Use: Go Advanced --> Manage Attachments) so we can see what you're working with? Be sure to alter or remove any sensitive information.

  3. #3
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Need help identifying duplicates based on multiple criteria

    If the name is in A1:A8, the Y/N is in C1:C8, and the "1ST/DUPS" is in E1:E8, the formula below, placed in F1 and filled down, should return "YES" next to the first entry with that name if ANY entry with that name has a "Y" in column C.

    =IF(E1="1ST",IF(COUNTIFS($A$1:$A$8,$A1,$C$1:$C$8,"Y")>0,"YES",""),"")

    That's my best guess at what you're after; hopefully it helps?

+ 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. Remove duplicates based on multiple criteria
    By cbwilliams in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-18-2015, 05:12 PM
  2. [SOLVED] Assistance Needed Identifying Min Values Based On Multiple Criteria
    By elderdane in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2014, 05:00 PM
  3. [SOLVED] Identifying duplicates over mulitple sheets with 3 criteria
    By PHUTCH in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-28-2012, 10:15 AM
  4. [SOLVED] Deleting Duplicates Based on Multiple Criteria from Multiple Columns
    By Franklic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2012, 05:31 PM
  5. Identifying Multiple Duplicates Based on ID Number
    By Jakz34 in forum Excel General
    Replies: 4
    Last Post: 10-03-2012, 05:46 PM
  6. Identifying duplicates across multiple tabs with VBA
    By 0nyx1756 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2011, 11:02 AM
  7. Replies: 2
    Last Post: 06-02-2010, 01:20 PM

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