Comparing data in Col A to data in Col B:
=If(isna(vlookup(B1,$A2:$A$2000,1,FALSE)),"","Match")
Another approach:
Code:=IF(COUNTIF(A$2:A$2000,B2),"Match","")
Matty
Excel Workbook | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
2 | Comp-Result | Address Col1 | Phone Col1 | Address Col2 | Phone Col2 | |||
3 | Address-1 | Phone -1 | Address-6 | Phone -6 | ||||
4 | Address-2 | Phone -2 | Address-7 | Phone -7 | ||||
5 | Address-3 | Phone -3 | Address-8 | Phone -8 | ||||
6 | Address-4 | Phone -4 | Address-9 | Phone -9 | ||||
7 | Address-5 | Phone -5 | Address-10 | Phone -10 | ||||
8 | Match | Address-6 | Phone -6 | Address-11 | Phone -11 | |||
9 | Match | Address-7 | Phone -7 | Address-12 | Phone -12 | |||
10 | Match | Address-8 | Phone -8 | Address-13 | Phone -13 | |||
11 | Match | Address-9 | Phone -9 | Address-14 | Phone -14 | |||
12 | Match | Address-10 | Phone -10 | Address-15 | Phone -15 | |||
13 | Match | Address-11 | Phone -11 | Address-23 | Phone -23 | |||
14 | Match | Address-12 | Phone -12 | Address-24 | Phone -24 | |||
15 | Match | Address-13 | Phone -13 | Address-25 | Phone -25 | |||
16 | Match | Address-14 | Phone -14 | Address-26 | Phone -26 | |||
17 | Match | Address-15 | Phone -15 | |||||
18 | Address-16 | Phone -16 | ||||||
19 | Address-17 | Phone -17 | ||||||
20 | Address-18 | Phone -18 | ||||||
21 | Address-19 | Phone -19 | ||||||
22 | Address-20 | Phone -20 | ||||||
23 | Address-21 | Phone -21 | ||||||
24 | Address-22 | Phone -22 | ||||||
25 | Match | Address-23 | Phone -23 | |||||
26 | Match | Address-24 | Phone -24 | |||||
27 | Match | Address-25 | Phone -25 | |||||
28 | Match | Address-26 | Phone -26 | |||||
Sheet5 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
B3 | 1. / Formula is =ISNUMBER(MATCH(B3&C3,$E$3:$E$16&$F$3:$F$16,0)) | Abc |