Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 208
Default Lookup related question

Hi

I have a 2 column table I want to use as a lookup table; one column showing
all the company's employee names (last then first in one cell but no middle
initials) and the other column their department code.

I just imported another separate smaller table with employee names, salary,
date of hire, but no department code. However the employee names in this
table which will be the lookup value, have some middle initials at the end as
opposed to the employee names in the lookup table which do not have middle
initials.

I want to lookup the department code based on the name in the imported
table...but using False match gives me some "N/A" results on some since some
of the imported names have middle initials while the master lookup table has
no middle initials..when I tried a "true" match I keep getting the wrong
department code

any ideas???? thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Lookup related question

You could use the text to column functionality using space as the delimiter,
this will create a separate column for the Midle name then delete the column
and reconcatenate.
Another method is to use the Mid Function combined with the Find function,
embeded in your lookup function, but it will be easier to explain if you post
an example with the table and some cell references.
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Craig" wrote:

Hi

I have a 2 column table I want to use as a lookup table; one column showing
all the company's employee names (last then first in one cell but no middle
initials) and the other column their department code.

I just imported another separate smaller table with employee names, salary,
date of hire, but no department code. However the employee names in this
table which will be the lookup value, have some middle initials at the end as
opposed to the employee names in the lookup table which do not have middle
initials.

I want to lookup the department code based on the name in the imported
table...but using False match gives me some "N/A" results on some since some
of the imported names have middle initials while the master lookup table has
no middle initials..when I tried a "true" match I keep getting the wrong
department code

any ideas???? thanks!

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
Lookup value and return with all related data help_0616 Excel Discussion (Misc queries) 0 July 17th 08 03:46 AM
practical business related question, IF, LOOKUP...? Ivan808 Excel Discussion (Misc queries) 1 November 6th 06 12:41 AM
Another Date related question.... Pete Dray Excel Worksheet Functions 7 June 18th 06 11:49 PM
lookup related with defined name KrunoG Excel Worksheet Functions 0 February 24th 06 01:42 PM
Finding the Max of a related Value Lookup Cav Excel Worksheet Functions 4 November 23rd 05 02:53 PM


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