#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default VLOOKUP Novice

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default VLOOKUP Novice

Sure, assuming the id drops into, say, A2, in B2, type
=VLOOKUP(A2,StudentList!A:C,3,0)&", "&VLOOKUP(A2,StudentList!A:C,2,0)

This will show last, first into cell B2.

Copy the formula down your rows.

This assumes your data is on a tab named StudentList and is in columns A
through C.

"Jeff Nelson - Lincoln College" wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default VLOOKUP Novice

After you get the id's into the worksheet, you could use this technique.

Create a new worksheet (call it Table) with a 3 column table.
In column A, put the student id.
In column B, put the first name.
In column C, put the last name.

Then you could use a formula like this (with the ID in A1):

=vlookup(a1,table!a:c,2,false)
(to get the first name)
=vlookup(a1,table!a:c,3,false)
(to get the last name)

Or better:
=if(a1="","",if(isna(vlookup(a1,table!a:c,2,false) ),"Missing",
vlookup(a1,table!a:c,2,false)))

(same kind of thing for the last name.

Jeff Nelson - Lincoln College wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default VLOOKUP Novice

Thanks! I'll give it a try!

"Sean Timmons" wrote:

Sure, assuming the id drops into, say, A2, in B2, type
=VLOOKUP(A2,StudentList!A:C,3,0)&", "&VLOOKUP(A2,StudentList!A:C,2,0)

This will show last, first into cell B2.

Copy the formula down your rows.

This assumes your data is on a tab named StudentList and is in columns A
through C.

"Jeff Nelson - Lincoln College" wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default VLOOKUP Novice

Thanks Dave.....I'll give this a try...

"Dave Peterson" wrote:

After you get the id's into the worksheet, you could use this technique.

Create a new worksheet (call it Table) with a 3 column table.
In column A, put the student id.
In column B, put the first name.
In column C, put the last name.

Then you could use a formula like this (with the ID in A1):

=vlookup(a1,table!a:c,2,false)
(to get the first name)
=vlookup(a1,table!a:c,3,false)
(to get the last name)

Or better:
=if(a1="","",if(isna(vlookup(a1,table!a:c,2,false) ),"Missing",
vlookup(a1,table!a:c,2,false)))

(same kind of thing for the last name.

Jeff Nelson - Lincoln College wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default VLOOKUP Novice

Sean,
When I typed in the formula you have below, it automatically returns the
last name and the first name of the student in Row 2.

What I want to happen is when I scan the student ID, the ID # will display
on the Excel worksheet in (let's say) A712 (because we have 710 students
listed in the worksheet) and then as soon as the Student ID # pops onto the
worksheet, the column next to the ID# should match the student's name from
the entire list above.

Student ID# Last Name First Name
123 Allen James
124 Bowman PJ
125 Charles Sam

(Scanned ID)
124 Bowman PJ

When I scan ID# 124, "Bowman PJ" should display in the column next to the ID#.

Thanks,
Jeff N.

"Sean Timmons" wrote:

Sure, assuming the id drops into, say, A2, in B2, type
=VLOOKUP(A2,StudentList!A:C,3,0)&", "&VLOOKUP(A2,StudentList!A:C,2,0)

This will show last, first into cell B2.

Copy the formula down your rows.

This assumes your data is on a tab named StudentList and is in columns A
through C.

"Jeff Nelson - Lincoln College" wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default VLOOKUP Novice

Dave,
When I typed in the formula you have below, it automatically returns the
last name and the first name of the student in Row 2.

What I want to happen is when I scan the student ID, the ID # will display
on the Excel worksheet in (let's say) A712 (because we have 710 students
listed in the worksheet) and then as soon as the Student ID # pops onto the
worksheet, the column next to the ID# should match the student's name from
the entire list above.

Student ID# Last Name First Name
123 Allen James
124 Bowman PJ
125 Charles Sam

(Scanned ID)
124 Bowman PJ

When I scan ID# 124, "Bowman PJ" should display in the column next to the ID#.

Thanks,
Jeff N.


"Dave Peterson" wrote:

After you get the id's into the worksheet, you could use this technique.

Create a new worksheet (call it Table) with a 3 column table.
In column A, put the student id.
In column B, put the first name.
In column C, put the last name.

Then you could use a formula like this (with the ID in A1):

=vlookup(a1,table!a:c,2,false)
(to get the first name)
=vlookup(a1,table!a:c,3,false)
(to get the last name)

Or better:
=if(a1="","",if(isna(vlookup(a1,table!a:c,2,false) ),"Missing",
vlookup(a1,table!a:c,2,false)))

(same kind of thing for the last name.

Jeff Nelson - Lincoln College wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product


--

Dave Peterson

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default VLOOKUP Novice

I think you made a mistake--either with your data entry or with your formula.
Take another look.

And I'd return the first and last names to different cells, but ...

You could combine them if you want:

=vlookup(a1,table!a:c,3,false) & " " & vlookup(a1,table!a:c,2,false)

(change the columns to match your table.

Jeff Nelson - Lincoln College wrote:

Dave,
When I typed in the formula you have below, it automatically returns the
last name and the first name of the student in Row 2.

What I want to happen is when I scan the student ID, the ID # will display
on the Excel worksheet in (let's say) A712 (because we have 710 students
listed in the worksheet) and then as soon as the Student ID # pops onto the
worksheet, the column next to the ID# should match the student's name from
the entire list above.

Student ID# Last Name First Name
123 Allen James
124 Bowman PJ
125 Charles Sam

(Scanned ID)
124 Bowman PJ

When I scan ID# 124, "Bowman PJ" should display in the column next to the ID#.

Thanks,
Jeff N.

"Dave Peterson" wrote:

After you get the id's into the worksheet, you could use this technique.

Create a new worksheet (call it Table) with a 3 column table.
In column A, put the student id.
In column B, put the first name.
In column C, put the last name.

Then you could use a formula like this (with the ID in A1):

=vlookup(a1,table!a:c,2,false)
(to get the first name)
=vlookup(a1,table!a:c,3,false)
(to get the last name)

Or better:
=if(a1="","",if(isna(vlookup(a1,table!a:c,2,false) ),"Missing",
vlookup(a1,table!a:c,2,false)))

(same kind of thing for the last name.

Jeff Nelson - Lincoln College wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product


--

Dave Peterson


--

Dave Peterson
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default VLOOKUP Novice

Student ID last_name first_name
448832 Aaron Ardena
459994 Adams Darius
462790 Addison Irvenna
462131 Agate Jennifer
..
..
..
461657 Wynn Aloni
457277 Ybarra Christopher
462878 Young Michael


* last_name first_name

Key:
* = empty cell a713 awaiting the scanned ID
last_name = cell b713 with the following;
=IF(A1="","",IF(ISNA(VLOOKUP(A1,StudentList!A:C,2, FALSE)),"Missing",VLOOKUP(A1,StudentList!A:C,2,FAL SE)))
first_name = cell c713 with the following;
=IF(A1="","",IF(ISNA(VLOOKUP(A1,StudentList!A:C,3, FALSE)),"Missing",VLOOKUP(A1,StudentList!A:C,3,FAL SE)))

When I place the scanned ID# into cell a713, I don't get any results in cell
b713 or c713.

As I mentioned in my first post, I am a complete novice, so I have very
little knowledge of how this is done. What am I doing wrong?

Thank you very much for replying!!

Jeff N.


"Dave Peterson" wrote:

I think you made a mistake--either with your data entry or with your formula.
Take another look.

And I'd return the first and last names to different cells, but ...

You could combine them if you want:

=vlookup(a1,table!a:c,3,false) & " " & vlookup(a1,table!a:c,2,false)

(change the columns to match your table.

Jeff Nelson - Lincoln College wrote:

Dave,
When I typed in the formula you have below, it automatically returns the
last name and the first name of the student in Row 2.

What I want to happen is when I scan the student ID, the ID # will display
on the Excel worksheet in (let's say) A712 (because we have 710 students
listed in the worksheet) and then as soon as the Student ID # pops onto the
worksheet, the column next to the ID# should match the student's name from
the entire list above.

Student ID# Last Name First Name
123 Allen James
124 Bowman PJ
125 Charles Sam

(Scanned ID)
124 Bowman PJ

When I scan ID# 124, "Bowman PJ" should display in the column next to the ID#.

Thanks,
Jeff N.

"Dave Peterson" wrote:

After you get the id's into the worksheet, you could use this technique.

Create a new worksheet (call it Table) with a 3 column table.
In column A, put the student id.
In column B, put the first name.
In column C, put the last name.

Then you could use a formula like this (with the ID in A1):

=vlookup(a1,table!a:c,2,false)
(to get the first name)
=vlookup(a1,table!a:c,3,false)
(to get the last name)

Or better:
=if(a1="","",if(isna(vlookup(a1,table!a:c,2,false) ),"Missing",
vlookup(a1,table!a:c,2,false)))

(same kind of thing for the last name.

Jeff Nelson - Lincoln College wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product

--

Dave Peterson


--

Dave Peterson

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default VLOOKUP Novice

Each of the formulas will have the row in the formula adjusted. So the formula
in B713 will look like:

=IF(A713="","",IF(ISNA(VLOOKUP(A713,StudentList!A: C,2,FALSE)),"Missing",
VLOOKUP(A713,StudentList!A:C,2,FALSE)))

Same for the formula in C713.

I'd plop the formulas in B1 and C1 and drag down as far as you think you'll
need.

If you have headers in B1 and C1, then plop them into B2 and C2, but make sure
you point at A2 in all the spots.


Jeff Nelson - Lincoln College wrote:

Student ID last_name first_name
448832 Aaron Ardena
459994 Adams Darius
462790 Addison Irvenna
462131 Agate Jennifer
.
.
.
461657 Wynn Aloni
457277 Ybarra Christopher
462878 Young Michael


* last_name first_name

Key:
* = empty cell a713 awaiting the scanned ID
last_name = cell b713 with the following;
=IF(A1="","",IF(ISNA(VLOOKUP(A1,StudentList!A:C,2, FALSE)),"Missing",VLOOKUP(A1,StudentList!A:C,2,FAL SE)))
first_name = cell c713 with the following;
=IF(A1="","",IF(ISNA(VLOOKUP(A1,StudentList!A:C,3, FALSE)),"Missing",VLOOKUP(A1,StudentList!A:C,3,FAL SE)))

When I place the scanned ID# into cell a713, I don't get any results in cell
b713 or c713.

As I mentioned in my first post, I am a complete novice, so I have very
little knowledge of how this is done. What am I doing wrong?

Thank you very much for replying!!

Jeff N.

"Dave Peterson" wrote:

I think you made a mistake--either with your data entry or with your formula.
Take another look.

And I'd return the first and last names to different cells, but ...

You could combine them if you want:

=vlookup(a1,table!a:c,3,false) & " " & vlookup(a1,table!a:c,2,false)

(change the columns to match your table.

Jeff Nelson - Lincoln College wrote:

Dave,
When I typed in the formula you have below, it automatically returns the
last name and the first name of the student in Row 2.

What I want to happen is when I scan the student ID, the ID # will display
on the Excel worksheet in (let's say) A712 (because we have 710 students
listed in the worksheet) and then as soon as the Student ID # pops onto the
worksheet, the column next to the ID# should match the student's name from
the entire list above.

Student ID# Last Name First Name
123 Allen James
124 Bowman PJ
125 Charles Sam

(Scanned ID)
124 Bowman PJ

When I scan ID# 124, "Bowman PJ" should display in the column next to the ID#.

Thanks,
Jeff N.

"Dave Peterson" wrote:

After you get the id's into the worksheet, you could use this technique.

Create a new worksheet (call it Table) with a 3 column table.
In column A, put the student id.
In column B, put the first name.
In column C, put the last name.

Then you could use a formula like this (with the ID in A1):

=vlookup(a1,table!a:c,2,false)
(to get the first name)
=vlookup(a1,table!a:c,3,false)
(to get the last name)

Or better:
=if(a1="","",if(isna(vlookup(a1,table!a:c,2,false) ),"Missing",
vlookup(a1,table!a:c,2,false)))

(same kind of thing for the last name.

Jeff Nelson - Lincoln College wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson


  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default VLOOKUP Novice

WORKED PERFECTLY AS YOU STATED!! Thank you very much for your assistance. I
appreciate it very much!

Jeff N.

"Dave Peterson" wrote:

Each of the formulas will have the row in the formula adjusted. So the formula
in B713 will look like:

=IF(A713="","",IF(ISNA(VLOOKUP(A713,StudentList!A: C,2,FALSE)),"Missing",
VLOOKUP(A713,StudentList!A:C,2,FALSE)))

Same for the formula in C713.

I'd plop the formulas in B1 and C1 and drag down as far as you think you'll
need.

If you have headers in B1 and C1, then plop them into B2 and C2, but make sure
you point at A2 in all the spots.


Jeff Nelson - Lincoln College wrote:

Student ID last_name first_name
448832 Aaron Ardena
459994 Adams Darius
462790 Addison Irvenna
462131 Agate Jennifer
.
.
.
461657 Wynn Aloni
457277 Ybarra Christopher
462878 Young Michael


* last_name first_name

Key:
* = empty cell a713 awaiting the scanned ID
last_name = cell b713 with the following;
=IF(A1="","",IF(ISNA(VLOOKUP(A1,StudentList!A:C,2, FALSE)),"Missing",VLOOKUP(A1,StudentList!A:C,2,FAL SE)))
first_name = cell c713 with the following;
=IF(A1="","",IF(ISNA(VLOOKUP(A1,StudentList!A:C,3, FALSE)),"Missing",VLOOKUP(A1,StudentList!A:C,3,FAL SE)))

When I place the scanned ID# into cell a713, I don't get any results in cell
b713 or c713.

As I mentioned in my first post, I am a complete novice, so I have very
little knowledge of how this is done. What am I doing wrong?

Thank you very much for replying!!

Jeff N.

"Dave Peterson" wrote:

I think you made a mistake--either with your data entry or with your formula.
Take another look.

And I'd return the first and last names to different cells, but ...

You could combine them if you want:

=vlookup(a1,table!a:c,3,false) & " " & vlookup(a1,table!a:c,2,false)

(change the columns to match your table.

Jeff Nelson - Lincoln College wrote:

Dave,
When I typed in the formula you have below, it automatically returns the
last name and the first name of the student in Row 2.

What I want to happen is when I scan the student ID, the ID # will display
on the Excel worksheet in (let's say) A712 (because we have 710 students
listed in the worksheet) and then as soon as the Student ID # pops onto the
worksheet, the column next to the ID# should match the student's name from
the entire list above.

Student ID# Last Name First Name
123 Allen James
124 Bowman PJ
125 Charles Sam

(Scanned ID)
124 Bowman PJ

When I scan ID# 124, "Bowman PJ" should display in the column next to the ID#.

Thanks,
Jeff N.

"Dave Peterson" wrote:

After you get the id's into the worksheet, you could use this technique.

Create a new worksheet (call it Table) with a 3 column table.
In column A, put the student id.
In column B, put the first name.
In column C, put the last name.

Then you could use a formula like this (with the ID in A1):

=vlookup(a1,table!a:c,2,false)
(to get the first name)
=vlookup(a1,table!a:c,3,false)
(to get the last name)

Or better:
=if(a1="","",if(isna(vlookup(a1,table!a:c,2,false) ),"Missing",
vlookup(a1,table!a:c,2,false)))

(same kind of thing for the last name.

Jeff Nelson - Lincoln College wrote:

I'm not even sure if VLOOKUP is what I want to use, but here goes:

We are importing a list of Student ID's, First Names, and Last Names into
Excel. Then, as students show their student ID, the barcode scanner will scan
their Student ID into the system.

We would like it to display the student first name and last name next to the
Student ID number when the ID is scanned.

For example, student shows his ID. Attendance scans the ID with his
hand-held barcode scanner. The ID number (#423423) then displays on the
screen. We would like the student name to appear right along side the ID

<Scan ID#: 423423 Simpson, Stan

Any ideas?

Thanks,
Jeff

Office 2007 Product

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Novice needing help!!! Sarah Excel Worksheet Functions 3 May 27th 07 04:48 PM
vlookup--novice needs help consolidating! specgirl Excel Discussion (Misc queries) 4 May 23rd 07 04:29 PM
Please help! Excel Novice here Theresa[_2_] Excel Worksheet Functions 14 May 15th 07 12:51 PM
Charting help for a novice? Dave Jones Charts and Charting in Excel 3 February 26th 07 04:32 PM
Novice needs help. aphwood Excel Discussion (Misc queries) 1 October 4th 05 07:56 PM


All times are GMT +1. The time now is 03:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"