Just trying compare two lists in columns A
B
and look for text and integers that are matches in column C
. Not sure what function makes sense xlookup
or index/match
? I only have 2019 excel capabilities.
List 1 | List 2 | Results |
---|---|---|
Apple | Pear | Apple |
Pear | Apple | 1 |
Kiwi | 3 | 2 |
1 | 2 | 3 |
2 | 1 | .123Banana |
3 | .123Banana | Pear |
Strawberry | XYZ | |
Melon | .123Kiwi | |
.123Banana | ||
ABC | ||
.123KiwU |
MS365, Excel 2021 (Spills)
=FILTER(A2:A12,ISNUMBER(XMATCH(A2:A12,B2:B9)))
Older Versions (Copy Down)
=IFERROR(INDEX($A$2:$A$12,SMALL(IF(ISNA(MATCH($A$2:$A$12,$B$2:$B$9,0)),"",ROW($A$2:$A$12)-ROW($A$2)+1),ROW(A2)-ROW($A$2)+1)),"")