ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   compare data in two lists to find matching entries (https://www.excelbanter.com/excel-discussion-misc-queries/18409-compare-data-two-lists-find-matching-entries.html)

Chris(new user)

compare data in two lists to find matching entries
 
I have a spreadsheet with two colums. Each colum contains an identification
reference e.g.
Colum A Colum B
abc123456 nmg4568987
ahsj45236 abc123456
ikl7856489 jkh7854566589
I want excel to check if the items in colums b are also in colum a and
insert either "Match found" or "No match found" in colum c. For example
abc123456 nmg4568987 No match found
ahsj45236 abc123456 Match found
ikl7856489 jkh7854566589 No match found
Please help. I've tried everything I could think of. Nothing seems to work.



AlfD


Hi!

Put this in C1 (assuming your list starts at A1 and B1):

=countif(A1:A2000,B1)
This will tell you how many times B1 appears in the range A1:A2000.

Need I say more? If so, come back.

Alf


--
AlfD
------------------------------------------------------------------------
AlfD's Profile: http://www.excelforum.com/member.php...fo&userid=4785
View this thread: http://www.excelforum.com/showthread...hreadid=355844



All times are GMT +1. The time now is 06:43 PM.

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