Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ETC ETC is offline
external usenet poster
 
Posts: 3
Default VLookup on same last names - different people

I have two files (one a different sourced subset of the other) and have put
last name in a column in each as the key field. The next column has First
name on one file and first middle initial on the other. Need to use a
vlookup but how do you do it across the same last name? Can I use a secondary
field; first name, location etc. to resolve to the right one?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default VLookup on same last names - different people

You need to have unique key values - think along the lines of SSN's.....

HTH,
Bernie
MS Excel MVP


"ETC" wrote in message
...
I have two files (one a different sourced subset of the other) and have put
last name in a column in each as the key field. The next column has First
name on one file and first middle initial on the other. Need to use a
vlookup but how do you do it across the same last name? Can I use a secondary
field; first name, location etc. to resolve to the right one?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default VLookup on same last names - different people

You could always CONCATENATE the First Name and Last Name fields first and
then using the CONCATENATED columns as the key, try your VLOOKUP again.
--
Hope this helps.

Matt S.


"Bernie Deitrick" wrote:

You need to have unique key values - think along the lines of SSN's.....

HTH,
Bernie
MS Excel MVP


"ETC" wrote in message
...
I have two files (one a different sourced subset of the other) and have put
last name in a column in each as the key field. The next column has First
name on one file and first middle initial on the other. Need to use a
vlookup but how do you do it across the same last name? Can I use a secondary
field; first name, location etc. to resolve to the right one?




  #4   Report Post  
Posted to microsoft.public.excel.misc
ETC ETC is offline
external usenet poster
 
Posts: 3
Default VLookup on same last names - different people

Thanks Matt. My problem with that, I think, is that one file include middle
initial and other file doesn't causing the two concatenated fields to still
be different.

"Matt" wrote:

You could always CONCATENATE the First Name and Last Name fields first and
then using the CONCATENATED columns as the key, try your VLOOKUP again.
--
Hope this helps.

Matt S.


"Bernie Deitrick" wrote:

You need to have unique key values - think along the lines of SSN's.....

HTH,
Bernie
MS Excel MVP


"ETC" wrote in message
...
I have two files (one a different sourced subset of the other) and have put
last name in a column in each as the key field. The next column has First
name on one file and first middle initial on the other. Need to use a
vlookup but how do you do it across the same last name? Can I use a secondary
field; first name, location etc. to resolve to the right one?




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default VLookup on same last names - different people

Then unless you can find a unique field in each spreadsheet, you will not be
able to use the VLOOKUP
--
Hope this helps.

Matt S.


"ETC" wrote:

Thanks Matt. My problem with that, I think, is that one file include middle
initial and other file doesn't causing the two concatenated fields to still
be different.

"Matt" wrote:

You could always CONCATENATE the First Name and Last Name fields first and
then using the CONCATENATED columns as the key, try your VLOOKUP again.
--
Hope this helps.

Matt S.


"Bernie Deitrick" wrote:

You need to have unique key values - think along the lines of SSN's.....

HTH,
Bernie
MS Excel MVP


"ETC" wrote in message
...
I have two files (one a different sourced subset of the other) and have put
last name in a column in each as the key field. The next column has First
name on one file and first middle initial on the other. Need to use a
vlookup but how do you do it across the same last name? Can I use a secondary
field; first name, location etc. to resolve to the right one?



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
Find a group of names in a long list Carl_Monday Excel Discussion (Misc queries) 1 August 9th 06 03:49 PM
problem using Range Names in VLOOKUP Dee Excel Worksheet Functions 6 February 28th 06 06:57 PM
Using VLOOKUP with abitlity to choose from multiple defined names. Armando Excel Worksheet Functions 5 February 26th 06 10:18 PM
Have 2 columns of names - need to filter out names not duplicated Jill Excel Worksheet Functions 6 January 20th 06 08:01 PM
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM


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

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

About Us

"It's about Microsoft Excel"