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: 7
Default Vlookup a text string

I have two sets of employee data. The first is a download from our payroll
system that gives each employees department number. The second is a download
of our health insurance billing. I need to break the health insurance bill
out to the various departments. The only field that is the "same" in both
sets of data is the employee name.
Unfortunatley, the health insurnace bill has the name in one field as "last
name, firstname middle initial". The payroll data breaks last name, first
name, and middle initial into three separate fields.
I have concatenated the payroll data into one field and then copied - paste
values so it is no longer a formula. I then tried to use vlookup combined
with the trim function in case there were unwanted spaces, but no luck. All
I can get is N/A.
Naturally, to further complicate matters, is sometimes the middle initial
appears in one set of data but not another. Also, we have several employees
with the same last names so I can't just search by last name.
Any ideas on how to lookup this data so I can get the departments from the
payroll data over to my health insurance data?

Thanks
 
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
vlookup and finding text string that's not an exact match my Excel Discussion (Misc queries) 4 July 31st 07 05:04 PM
Sumif text is contained winthin a longer text string in a cell Johnny M[_2_] Excel Worksheet Functions 3 March 21st 07 02:50 PM
Return a text string when the result of VLOOKUP formula is #N/A jeremy nickels Excel Worksheet Functions 2 August 4th 06 05:26 PM
Splitting a text string into string and number mcambrose Excel Discussion (Misc queries) 4 February 21st 06 03:47 PM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 09:56 PM


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