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.

[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]ID SCANNER[/TD]
[TD][/TD]
[TD]SCANNED[/TD]
[TD]ID[/TD]
[TD]NAME[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]9000[/TD]
[TD][/TD]
[TD][/TD]
[TD]8000[/TD]
[TD]

BURNO
[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD]Y[/TD]
[TD]9000[/TD]
[TD]JAMES[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]5000[/TD]
[TD]ADAM[/TD]
[/TR]
</tbody>[/TABLE]

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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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,223,704
Messages
6,173,984
Members
452,540
Latest member
haasro02

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