LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default Index Match to add employee number

Hi,

I've got two sheets of data.

Sheet1 Data contains employee info
Col A = Employee number Alphanumeric text field = DataERN
Col B = Forename
Col C = Middle
Col D= Surname
Col E = DOB

Sheet 2 Details contains more info from a different source so there is no
employee number
Col A = Name - mostly surname followed by forename but some mid names
Col B = DOB

So I want to give all the employees in Details an Employee Number from Data.
I've concatenated B, D and E in Data(Helper). In Details I've split A with
Text to Cols to take out middle name and concatenated forename surname and
DOB (F)to match string in Data.

I would usually use Index and Match

=INDEX(DataERN,MATCH($F2,Helper,0))

but the match type 0, I believe finds the first exact match.

1. What happens if there is more than 1 exact match? This is a definite
possibility
2. It will also become more of a possibility if I try to account for
differences such as mistyped data, changes in surname etc. I'm planning to
put some additional columns in with different combinations of concatenated
names and DOB.

Is there any way I can get it to return all possible matches?
I'm guessing no but hoping yes :-)

Any ideas about ways of doing this would be very welcome.

Cheers
Diddy
 
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
Number of characters in a cell for a Index/match function Govind Excel Worksheet Functions 11 May 6th 09 08:37 AM
index(match) Wind Uplift Calculations (match four conditions) JMeier Excel Worksheet Functions 8 August 1st 08 01:45 AM
LOOKUP OR INDEX/MATCH TO FIND NUMBER? A.S. Excel Discussion (Misc queries) 3 February 5th 07 10:29 PM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
index,match,match on un-sorted data Brisbane Rob Excel Worksheet Functions 3 September 24th 05 10:04 PM


All times are GMT +1. The time now is 02:18 AM.

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"