close

I have a simple 200 member database and want to use bar code id badges for
class check in and out.
I created the badges and now need to use the id number on the badge to
lookup 3 collums of that persons data when i scan the bar code and post it on
a new sheet.
Sounds so simple but i dont know where to start.
Help
Thank You

Look at VLOOKUP in help

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

quot;rlenzquot; lt;u20976@uwegt; wrote in message news:5ef5d28e9891e@uwe...
gt; I have a simple 200 member database and want to use bar code id badges
for
gt; class check in and out.
gt; I created the badges and now need to use the id number on the badge to
gt; lookup 3 collums of that persons data when i scan the bar code and post it
on
gt; a new sheet.
gt; Sounds so simple but i dont know where to start.
gt; Help
gt; Thank You

You could lookup a lookup.

A two-column table of badges with Badge Number and PersonID to which
the badge is allocated.

A multi-column Person table for each person with (say) PersonID, Name,
Other bits, Class1, Class2, Class3, Class4 etc. - thus Class1-Class3
being the 3 columns you need.

To extract your data, assume the barcode is scanned into Column A, say
from cell A222 onwards, and the first table data is in C2 to D201 for
your 200 badges, the second table is in F2 to M201 for your 200
employees,

Then, in B222 put

=VLOOKUP(VLOOKUP($A222,$C$2:$D$201,2,FALSE),$F$2:$ M$201,COLUMN() 2,FALSE)

You can then formula drag this 2 columns rightwards, to cover the 3
data columns you require, then downwards to cover the key numbers that
are allocated.

Translated the formula is:
lookup on bagde to get PersonID
lookup on that PersonID to get details from the person table, which is
7 columns from G to M

Hope this gives you some ideas, the tables can, of course, be stored on
other sheets, and perhaps be Named Ranges.

--

rlenz Wrote:
gt; I have a simple 200 member database and want to use bar code id badges
gt; for
gt; class check in and out.
gt; I created the badges and now need to use the id number on the badge to
gt; lookup 3 collums of that persons data when i scan the bar code and post
gt; it on
gt; a new sheet.
gt; Sounds so simple but i dont know where to start.
gt; Help
gt; Thank You--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: www.excelforum.com/member.php...oamp;userid=21059
View this thread: www.excelforum.com/showthread...hreadid=533696

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()