You'll be best served if you add a column to the QR Code table, and Hide the actual data table. I suggest that the list of personal device serial numbers be in a separate table. There's just no need to try to integrate the database with the scan data into a single table. Same sheet is fine, but I'd keep the tables separate. Let's call the scan data table Scan and the historical inventory table History.
in column B of Scan, write:
=IF(COUNTIF(History :: A,A)>0, " "&A, A)
Here's the screen shot:
I used three spaces ahead of the copied QR Code to detect found codes. I could have used another character or number of characters. I used three so that it would cause an offset in the alignment, making the detected addresses more obvious before applying the formatting.
The Results column has a Conditional Format: Text starting with three spaces gets a Green background and a value of zero gets a faint font color. You can adjust these signals any way you wish.
Jerry