You may try this way, using either SUM() or SUMPRODUCT() or MAX() with ROW() Function

• Formula used in cell B2
=--(MAX((A2='Sheet B'!$A$2:$F$7)*ROW('Sheet B'!$A$2:$F$7))>0)
The above formula returns a Boolean Logic which is turned into 1 & 0 using a double unary. And then custom formatted as
[=1]"Match";[=0]"No Match";
• Perhaps you can wrap the above within an IF() as well, in cell C2
=IF(MAX((A2='Sheet B'!$A$2:$F$7)*ROW('Sheet B'!$A$2:$F$7))>0,"Match","No Match")
Note: Since its an array formula, based on your excel version need to press CTRL+SHIFT+ENTER , O365 & Excel 2021 Users don't need to press CTRL+SHIFT+ENTER!