Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steven Robilard
 
Posts: n/a
Default Using vlookup on two worksheets

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,FAL SE))


Thank you,

Steve
  #2   Report Post  
JulieD
 
Posts: n/a
Default

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

"Steven Robilard" wrote in message
...
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,FAL SE))


Thank you,

Steve



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=IF(C4500="","",IF(ISNA(VLOOKUP1),"",VLOOKUP1,IF(I SNA(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))

--

Regards,

Peo Sjoblom



"Steven Robilard" wrote in message
...
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,FAL SE))


Thank you,

Steve



  #4   Report Post  
Steven Robilard
 
Posts: n/a
Default

Thank you Julie. It worked great.


On Fri, 11 Feb 2005 23:34:34 +0800, "JulieD"
wrote:

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),VLOOKU P(C4500,WORKSHEET1!A:E,3,0)))

Cheers
JulieD

"Steven Robilard" wrote in message
...
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,FAL SE))


Thank you,

Steve



  #5   Report Post  
Ola
 
Posts: n/a
Default

Just for fun. This will also work:

=LOOKUPV(C4500,WORKSHEET1!A:E,3,0,LOOKUPV(C4500,WO RKSHEET2!A:E,3,0,""))

Just copy this code: http://tinyurl.com/6o95h


Ola Sandstrom



  #6   Report Post  
JulieD
 
Posts: n/a
Default

you're welcome and thanks for the feedback

"Steven Robilard" wrote in message
...
Thank you Julie. It worked great.


On Fri, 11 Feb 2005 23:34:34 +0800, "JulieD"
wrote:

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),VLOOK UP(C4500,WORKSHEET1!A:E,3,0)))

Cheers
JulieD

"Steven Robilard" wrote in message
...
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,FAL SE))


Thank you,

Steve





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
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 01:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 11:43 AM
HELP! How do you--> Lock a set of rows but also link worksheets to FRUSTRATED Excel Discussion (Misc queries) 6 December 29th 04 11:05 PM
vlookup over multiple worksheets Neil Excel Worksheet Functions 3 December 16th 04 09:19 PM
Assigning Cells in worksheets to other data in other worksheets. David McRitchie Excel Discussion (Misc queries) 0 November 27th 04 07:15 PM


All times are GMT +1. The time now is 06:04 AM.

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"