To compare two listings for matches, you need to use the XMATCH function along with IF and ISNA:

To compare two listings for matches, you need to use the XMATCH function along with IF and ISNA:

For instance, to compare List 2 in B2:B10 against List 1 in A2:A10, the formula takes the next kind:

=IF(ISNA(XMATCH(B2:B10, A2:A9)), “”, “Match in List 1”)

In this instance, we identify just matches, and so the value_if_true argument regarding the IF function can be an empty sequence (“”).

Go into the formula that is above the topmost mobile (C2 within our instance), press Enter , and it surely will “spill” to the other cells immediately (it really is called a spill range):

Exactly How this formula works

In the middle regarding the formula, the XMATCH function looks for a value from List 2 within List 1. In cases where a value is located, its position that is relative is, otherwise a #N/A mistake. (more…)

Continue ReadingTo compare two listings for matches, you need to use the XMATCH function along with IF and ISNA: