Finding Duplicates Based on Multiple Criteria

nikzter

New member
Joined
Apr 5, 2015
Messages
1
Reaction score
0
Points
0
ABCDEFG
1CASE_NUMBERF_NAMEL_NAMEB_DATESEX
210F-22012347DixieAbagail07-Apr-64F11F-11012344
311F-11012344DixieAbagail07-Apr-64F
411F-11012364VeronicaAdams01-Mar-65F
511F-11012349AndyAdams04-Apr-52M11F-11012350
611F-11012350AndyAdams, Jr.04-Apr-52M
711F-11012351TerriAdams01-Feb-49F
811F-11012352MichaelAdams05-Jun-82M
911F-11012345JohnAfter03-Jun-86M
1011F-11012346Mary AnnAnah07-Apr-85F11F-1101234711F-11012348
1111F-11012347MaryAnah07-Apr-85F
1211F-11012348Mary AnnAnah07-Apr-85F


Here's what I'm looking for:

In F2: If the first 4 character in B2 are the first 4 characters in a cell in B:B AND the first 4 character in C2 are the first 4 characters in C:C AND D2 is in D: D AND E2 is in E:E THEN return adjacent cell in A:A.

There may be more than two results that meet the criteria in G2. So G2 should have the 3rd CASE_NUMBER (if there is one)--the same concept/formula in F2, but returning a result that is not already in G2.

In other words, all the CASE_NUMBERs of the same person should be combined in one row. The results I'm looking for are in Columns F and G.

However, the same person’s name might have been entered into the databased differently. For instance, Mary Ann [B11] and Mary [B10 & B12] are all the same person. And Andy Adams and Adams, Jr. is the same person. This is why the formula should just search for the first few characters of a name instead of matching it exactly.

And because it’s possible for different people in the database to have the same F_NAME and L_NAME, the formula should have the extra precaution of checking to make sure the B_DATE and SEX are also the same.


Help is much appreciated!
 
Hi,
plz see the file.
 

Attachments

  • TEST.xlsx
    9.1 KB · Views: 9
Back
Top