Card Reader Lookup

WWII_Buff

Board Regular
Joined
Nov 13, 2017
Messages
88
Hello all!

I have an event that require card access to validate attendance.
The card scanner populates B2 and overwrites after every scan.

ABCDEF
1ID SCANNERSCANNEDIDNAME
290008000

BURNO
3Y9000JAMES
45000ADAM

<tbody>
</tbody>

When there is an ID match after the scan, I would like "Y" added in the SCANNER column.

Note: multiple scans are possible.

I am completely stumped on how to make this work. Any ideas and help is appreciated.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You could try this, paste in to D2 and copy down as needed, you will need to update the range as I only set it form B2:B20, so if your range is larger than B20 just increase that number. One last thing, this does not take in to account duplicates, it assumes a Scanned value will be unique and will only look for the 1st instance of it.

Code:
=IF(ISERROR(VLOOKUP(E2,$B$2:$B$20,1,0)),"","Y")
 
Upvote 0
Thanks for the response Phil! OK this is awesome. The second problem is the card reader doesn't arrow down to the next cell below, it simple overwrites B2.

I think a macro that would copy & paste special value a specific cell when a "Y" was returned would work.
 
Last edited:
Upvote 0
I am not familiar with card reader stuff, I would recommend posting a new thread for that topic as it is a different issue from this one.
 
Upvote 0

Forum statistics

Threads
1,213,510
Messages
6,114,037
Members
448,543
Latest member
MartinLarkin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top