Using vlookup on two worksheets

  • Thread starter Thread starter Steven Robilard
  • Start date Start date
S

Steven Robilard

Right now I am using vlookup To lookup a name in one worksheet. I
would like to look for that name in two different worksheets.
Specifically to look for a matching name in the first worsheet and if
you don't find it look in the second worksheet.

Here is the function I am using now. I suspect I will have to use
nested if functions but nothing is working right.


=IF(C4500="","",VLOOKUP(C4500,WOOKSHEET1!A:E,3,FALSE))


Thank you,

Steve
 
Hi Steven

something along the lines of
=IF(C4500="","",IF(ISNA(VLOOKUP(C4500,WORKSHEET1!A:E,3,0)),VLOOKUP(C4500,WORKSHEET2!A:E,3,0),VLOOKUP(C4500,WORKSHEET1!A:E,3,0)))

Cheers
JulieD
 
=IF(C4500="","",IF(ISNA(VLOOKUP1),"",VLOOKUP1,IF(ISNA(VLOOKUP(2),"",VLOOKUP2
,and so on

Howevere there is a limit of 7 nested functions so unless you haven't got
more than a few sheets I would recommend that you download Laurent Longre's
Morefunc from here

http://longre.free.fr/english/

then after installing it use a function called THREED as follows

=IF(4500="","",VLOOKUP(C4500,THREED(Sheet1:Sheet30!A1:E1000),3,0))
 
Thank you Julie. It worked great.


Hi Steven

something along the lines of
=IF(C4500="","",IF(ISNA(VLOOKUP(C4500,WORKSHEET1!A:E,3,0)),VLOOKUP(C4500,WORKSHEET2!A:E,3,0),VLOOKUP(C4500,WORKSHEET1!A:E,3,0)))

Cheers
JulieD
 

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

Similar Threads

vlookup 1
Formula Using Vlookup & Match 3
Vlookup across 3 worksheets 2
Adding VLOOKUPS across multiple worksheets 3
vlookup 1
VLookup accross multiple worksheets 8
Looking up same value 3
VLOOKUP PROBLEM 2

Back
Top