ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Comparing two columns and finding matching names (https://www.excelbanter.com/excel-worksheet-functions/161836-comparing-two-columns-finding-matching-names.html)

excelissue

Comparing two columns and finding matching names
 
Please help...
I need to check one list of names against another list of names and to
determine if any of the names appear in both lists.

I.e.
Column A has 300 records
Column B has 100 records, I need to indicate if any record in Column B
matches any record in column A.

JW[_2_]

Comparing two columns and finding matching names
 
On Oct 11, 7:28 pm, excelissue
wrote:
Please help...
I need to check one list of names against another list of names and to
determine if any of the names appear in both lists.

I.e.
Column A has 300 records
Column B has 100 records, I need to indicate if any record in Column B
matches any record in column A.


You can use VLOOKUP, MATCH, COUNTIF etc to do this.
This will return the value is it is found:
=VLOOKUP(B1,A:A,1,FALSE)

This will return the position in the lookup_array (A:A in this
example) if the value was found:
=MATCH(B1,A1:A,0)

This will count how many times the value in B1 occurs in column A:
=COUNTIF(A:A,B1)



All times are GMT +1. The time now is 02:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com