Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default lookup for first n characters

I need for a lookup type formula that looks at a cell in workbook1, then does
a lookup in workbook2 for the 'root' part.

So in workbook1 I have part numbers like ABCDEF, HIJK, LMNOPPQ, etc. In
workbook2, I need to look through a list of parts like ABCDEF123k, HIJK54,
LMNOPPQ999, and input this information into workbook1. So, ABCDEF would
return the information from part ABCDEF123K.

Any help would be greatly appreciated!!
Thanks in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default lookup for first n characters

Try something like this:

A1 = lookup value = ABCDEF

=VLOOKUP(A1&"*",'C:\TV\[dbase.xls]dbase'!$A:$B,2,0)

--
Biff
Microsoft Excel MVP


"shairal" wrote in message
...
I need for a lookup type formula that looks at a cell in workbook1, then
does
a lookup in workbook2 for the 'root' part.

So in workbook1 I have part numbers like ABCDEF, HIJK, LMNOPPQ, etc. In
workbook2, I need to look through a list of parts like ABCDEF123k, HIJK54,
LMNOPPQ999, and input this information into workbook1. So, ABCDEF would
return the information from part ABCDEF123K.

Any help would be greatly appreciated!!
Thanks in advance!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default lookup for first n characters

Try This

LOOKUP(1E+300,SEARCH($A$2:$A$4,E2),$E$2:$E$4)


"shairal" wrote:

I need for a lookup type formula that looks at a cell in workbook1, then does
a lookup in workbook2 for the 'root' part.

So in workbook1 I have part numbers like ABCDEF, HIJK, LMNOPPQ, etc. In
workbook2, I need to look through a list of parts like ABCDEF123k, HIJK54,
LMNOPPQ999, and input this information into workbook1. So, ABCDEF would
return the information from part ABCDEF123K.

Any help would be greatly appreciated!!
Thanks in advance!

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
convert 5 characters in a cell to 6 characters by adding a zero Helenf Excel Discussion (Misc queries) 4 May 18th 09 04:43 PM
Insert Leading Characters If String Is Only 7 Characters Paperback Writer Excel Discussion (Misc queries) 2 April 21st 09 09:07 PM
lookup with some specific characters Gaurav[_2_] Excel Worksheet Functions 6 April 10th 08 02:55 PM
Lookup strings with ~ and ^ characters kmhnhsuk Excel Worksheet Functions 6 May 25th 06 08:30 PM
In Excel find characters when multiple characters exist w/i a cel teacher-deburg Excel Worksheet Functions 1 December 5th 05 10:22 PM


All times are GMT +1. The time now is 01:07 AM.

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"