finding matching cells (Excel 2007)

G

gcotterl

COL A has 1,313 cells whose contents look like this:

107211009-1
114650003-4
122413021-6

COL B has 987,601 cells whose contents look like this:

008100465-2 01 58.86
008100465-2 02 58.86
008100493-7 01 16.12

How do I find the cell(s) in COL B whose eleven left-most characters
match the contents in the cells in COL A?
 
R

ryguy7272

I suppose this would do it:
=IF(A1=LEFT(B1,11),"Match","")

Do you need a macro?

Ryan---
 
J

Jarek Kujawa

another way:

=IF(ISERROR(MATCH(LEFT(B1,11),$A$1:$A$1313,)),"","match")

then use autofilter if need be
 

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

Similar Threads

Finding matching cells 1
Finding matching cells 1
Finding matching cells 4
Delete matching cells 41
Finding cells with matching data 9
Matching cells 4
Eliminating non-matching cells 4
Matching cells (Excel 2007) 3

Top