A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Lookup Function? Employee Number with Employee Name



 
 
Thread Tools Display Modes
  #1  
Old March 9th, 2010, 05:16 PM posted to microsoft.public.excel.worksheet.functions
Lance Hebert[_2_]
external usenet poster
 
Posts: 20
Default Lookup Function? Employee Number with Employee Name

I have a spreadsheet that I believe that I need some form of LOOKUP function,
but have been unable to find the type that I need. I have a column "C" that
has an employee number in it. I have created a table on Sheet 2 with the
Employee Number and the corresponding Employee Name in that table. I want to
have the column "D" on Sheet 1 to automatically fill in the Employee Name
based on the Employee Number in column "C". What type of function would this
be? and suggestions on syntax? Thanks for the help.

  #2  
Old March 9th, 2010, 05:25 PM posted to microsoft.public.excel.worksheet.functions
Eva
external usenet poster
 
Posts: 316
Default Lookup Function? Employee Number with Employee Name

=VLOOKUP(c1,Sheet2!A:B,2,FALSE)
Or
for instances that thre are no employee on the list
=if(isna(VLOOKUP(c1,Sheet2!A:B,2,FALSE))=true,"no employee on the
list",VLOOKUP(c1,Sheet2!A:B,2,FALSE))

--
Please click "yes" if this post helped you!

Greatly appreciated

Eva


"Lance Hebert" wrote:

I have a spreadsheet that I believe that I need some form of LOOKUP function,
but have been unable to find the type that I need. I have a column "C" that
has an employee number in it. I have created a table on Sheet 2 with the
Employee Number and the corresponding Employee Name in that table. I want to
have the column "D" on Sheet 1 to automatically fill in the Employee Name
based on the Employee Number in column "C". What type of function would this
be? and suggestions on syntax? Thanks for the help.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.