Find matching records in two tables using mulitiple criteria

R

RC

--
RCIn this case there are two tables of data of different sizes copied into
the same worksheet. What is needed is to find each row of records in the
first table that contains matching data to the rows of records in the second
table by using multiple criteria. Here is an example below where the first
table is located in columns A through D and the second table in columns F
through I. The idea is to put a function in the cells in column E that will
return a value (such as 1 or 0, or Yes or No, or True or False) to indicate
the record on the particular row in the first table has a match, or does not
match, a record contained in any row in the second table.

A B C D E F G
H I
1 ID# LN FN Color Match? ID# LN
FN Color
2 321 Adams Alan Green No 321 Adams Alan
Red
3 321 Adams Alan Red Yes 432 Allen
Bob Red
4 432 Allen Bob Red Yes 543 Baker
Dan Green
5 432 Allen Bob Green No 765 Collins
John Green
6 654 Barber Sam Green No
7 765 Collins John Red No
8 765 Collins John Green Yes



Thanks,
 
R

RC

Thanks Bob, and I apologize for the table in the example turning out like it
did where the columns were not in alignment. The table example looked like it
should until after I posted the question. I've realigned the table in this
reply in hope that it will show a better example.
The IF function appears to be comparing only the data on the same row for
the first and second table, and returning zeroes for each row of records. Is
there a modification, or is there another function, or nested functions, that
will use as the lookup value the data in a range of cells on a row, like the
IF function does, and then use more than one column as the lookup array?

Thanks again,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top