Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default lookup with match

In Sheet 1, I have a list of employees in one column and their SS# in
another column. In Sheet 2, their is a list of employees names that
will not include all the employees in Sheet 1. I would like to match
the employee names on the two sheets and have the correct SS# input
into a column beside the employee name in Sheet 2. I hope that I have
explained myself fully. Thanks for any help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default lookup with match

Hi Stacy

assuming there are no duplicate names, enter in B1 of Sheet2
=INDEX(Sheet1!$A:$B,MATCH(A1,Sheet1!$A:$A,0),2)
and copy down as required.
--
Regards
Roger Govier

wrote in message
...
In Sheet 1, I have a list of employees in one column and their SS# in
another column. In Sheet 2, their is a list of employees names that
will not include all the employees in Sheet 1. I would like to match
the employee names on the two sheets and have the correct SS# input
into a column beside the employee name in Sheet 2. I hope that I have
explained myself fully. Thanks for any help!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default lookup with match

try this formula

Let say in Sheet1 Col A contain Employee Name and Col B contain #SS no.
And that, Sheet2 col A listed the employee names

Place this formula in cell B2 of Sheet2 and copy down

=VLOOKUP(A2,Sheet1!$A$2:$B$8,2,0)

or this to replace #N/A to "not found"
=IF(ISNA(VLOOKUP(A2,Sheet1!$A$2:$B$8,2,0)),"not
found",(VLOOKUP(A2,Sheet1!$A$2:$B$8,2,0)))

Pls note that this is one single line.

Does this do what you want?

HTH

--
======================
Pls click Yes if this has help you
======================

Thank You

cheers,





" wrote:

In Sheet 1, I have a list of employees in one column and their SS# in
another column. In Sheet 2, their is a list of employees names that
will not include all the employees in Sheet 1. I would like to match
the employee names on the two sheets and have the correct SS# input
into a column beside the employee name in Sheet 2. I hope that I have
explained myself fully. Thanks for any help!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default lookup with match

Thanks for the information - it is working great!
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
xlm xlm is offline
external usenet poster
 
Posts: 55
Default lookup with match

Thanks for the feedback, and is glad to have assisted



cheers,

========================
please click the Yes button if this help
========================





" wrote:

Thanks for the information - it is working great!

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
Help w/Match or Lookup Spike9458 Excel Worksheet Functions 2 November 13th 07 01:58 PM
Match and Lookup Biocellguy Excel Worksheet Functions 1 July 6th 07 01:48 AM
match, lookup ??? skimpw Excel Worksheet Functions 0 August 14th 06 03:16 PM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM
Lookup & match daniel chen Excel Discussion (Misc queries) 2 June 19th 05 01:18 PM


All times are GMT +1. The time now is 11:50 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"