Hi all,
I have a list (table 1) of names + date of births (dobs) which I'd like to search against a larger list (table 2) of names and dobs. Unfortunately table 2 has extra name columns and is quite unstructured; for example first names could appear in surname columns and dob may be missing.
What I'd like to do is check how many matches there are on a specific row - so for example if a name matches on first name and surname and dob then it is 3 matches as opposed just name and surname would be 2 matches.
Below are examples of the two tables and the sort of expected match (the match field can look like anything really). Notice that Charles Xavier matches on 3 despite the names being out of order in table 2. I've been trying to work this out with Sumproduct but apart from a ridiculously long formula looking up every single possible combination i can't get it to work.
Any help appreciated thanks!
I have a list (table 1) of names + date of births (dobs) which I'd like to search against a larger list (table 2) of names and dobs. Unfortunately table 2 has extra name columns and is quite unstructured; for example first names could appear in surname columns and dob may be missing.
What I'd like to do is check how many matches there are on a specific row - so for example if a name matches on first name and surname and dob then it is 3 matches as opposed just name and surname would be 2 matches.
Below are examples of the two tables and the sort of expected match (the match field can look like anything really). Notice that Charles Xavier matches on 3 despite the names being out of order in table 2. I've been trying to work this out with Sumproduct but apart from a ridiculously long formula looking up every single possible combination i can't get it to work.
Any help appreciated thanks!
Table 1 | |||
First Name | Surname | DOB | MATCH? |
John | Smith | 01/01/1958 | No match |
Jane | Doe | 15/12/1980 | Match x 3 |
Charles | Xavier | 06/06/1932 | Match x 3 |
Oliver | Queen | 09/09/2021 | Match x 2 |
Table 2 | |||||
Name 1 | Name 2 | Name 3 | Name 4 | Name 5 | DOB |
Kimberly | Burgess | Harper | Yoder | 04/07/1959 | |
Briana | Smith | Josiah | 05/06/1960 | ||
James | Young | Latisha | Maldonado | 04/06/1985 | |
James | Glass | 12/08/1985 | |||
James | Watts | dd/mm/yy | |||
Travis | Arnold | 10/04/1986 | |||
Ian | Kerr | 10/07/1988 | |||
Jane | Doe | 15/12/1980 | |||
Haley | Goodwin | 11/10/1988 | |||
Lisa | Williams | Jazmyn | 20/12/1989 | ||
Joshua | Brown | Humayra | Christensen | 03/02/1991 | |
Wendy | Todd | 11/07/1992 | |||
Jessica | Davis | 27/08/1993 | |||
Steven | Romero | 20/04/1995 | |||
Xavier | Charles | 06/06/1932 | |||
Charles | Little | 24/04/2009 | |||
Rhonda | Smith | Holloway | Bowers | 26/11/2011 | |
Janice | Reed | Ferguson | Fuller | Zavala | 08/02/2013 |
Smith | John | dd/mm/yy | |||
Jeremy | Howard | 24/06/2021 | |||
Oliver | Queen | 12/08/1985 |