By: Shamima Sultana

In reply to Fong.

Hello Fong,

Yes, you can definitely achieve that using Excel functions like VLOOKUP, INDEX-MATCH, or XLOOKUP (if you’re using a newer version of Excel). Based on your example, it seems you’re trying to:
Assuming:
Column A: Item names from Set 1
Column B & C: Corresponding values from Set 1
Columns E, F, G: Set 2 data (same structure)
You can use the following formulas:
To find matched name:
=IFERROR(INDEX($E$2:$E$100, MATCH(A2, $E$2:$E$100, 0)), “”)

To find matched values from Set 2:
=IFERROR(INDEX($F$2:$F$100, MATCH(A2, $E$2:$E$100, 0)), “”)
and similarly for the next column (Column G values).

To indicate match status (1 for match, blank otherwise):
=IF(COUNTIF($E$2:$E$100, A2), 1, “”)
This will align matched entries and leave the unmatched ones blank as you described.

Regards
ExcelDemy