vlookup

I

ideasailer

I have two wok book. in one there are a lot of nos like
book no1
321127
92117-0002
in other book2
321127-00
0092117-02
how can we use vlook up
 
J

Jacob Skaria

If book2 is array Sheet2!A1:A100 try the below formula ..
Lookup value in cell A1 is from book no 1 .

=VLOOKUP("*" & LEFT(A1 & "-",FIND("-",A1)-1) & "*",Sheet2!A1:A100,1,0)

If this post helps click Yes
 
M

Mike H

Hi,

You can use a wildcard

=VLOOKUP("*"&A2&"*",[Book2]Sheet1!$A$1:$B$20,2,FALSE)

so if A2 contains 321127
it will find 321127-00 in book 2.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top