Select your data on abc, conditional formatting> new rule > use formula

=ISNUMBER(MATCH(A5, xyz!$A$5:$A$20,0))
format as desired
Repeat for xyz
Did that help?