I Would like to an icon which changes based upon the Gallery selection and wether or not it matches anothe SP list.

The gallery Works Order Number to look up against the Qaulity Alerts SP list Colum Job Number, If found then Cahnge Icon Else Leave as is.
I Know im doing something obviously wrong. Both SP Columns are Text fields.