Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
adamb2000
 
Posts: n/a
Default VLookup a Vlookup

Hi,
I have created a VLOOKUP function which looks up a value in a different
Workbook.

Bases on this returned value I would like to create a VLOOKUP which looks up
a value in the original workbook but a different worksheet.

My problem seems to be creating a VLOOKUP on a formula. Below is what I
have used so far.

Original
=IF(D170,VLOOKUP(D:D,'[printing.XLS]TO GO'!$B:$H,4,FALSE),"TM")

Now I need to create a VLOOKUP on that result but it keeps returning #N/A.

Cheers,
Adam
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default VLookup a Vlookup

Adam,
You want something along these lines:

=IF(J170,VLOOKUP(VLOOKUP(I1,$B:$H,4,FALSE),$K$1:$ L$5,2,FALSE),"TM")

This looks for value in I1 in Columns B to H, and uses the result to to find
a value in K1 to L5.

In your VLOOKUP, you don't appear to have a lookup value as you have defined
this as column D (D:D). { VLOOKUP(D:D,'[printing.XLS]TO GO'!$B:$H,4,FALSE) }


HTH

"adamb2000" wrote:

Hi,
I have created a VLOOKUP function which looks up a value in a different
Workbook.

Bases on this returned value I would like to create a VLOOKUP which looks up
a value in the original workbook but a different worksheet.

My problem seems to be creating a VLOOKUP on a formula. Below is what I
have used so far.

Original
=IF(D170,VLOOKUP(D:D,'[printing.XLS]TO GO'!$B:$H,4,FALSE),"TM")

Now I need to create a VLOOKUP on that result but it keeps returning #N/A.

Cheers,
Adam

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default VLookup a Vlookup

=IF(D170,VLOOKUP(D:D,'[printing.XLS]TO GO'!$B:$H,4,FALSE),"TM")

Perhaps a possible typo in above:
Lookup value: D:D should be: D17 instead ?
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"adamb2000" wrote:
Hi,
I have created a VLOOKUP function which looks up a value in a different
Workbook.

Bases on this returned value I would like to create a VLOOKUP which looks up
a value in the original workbook but a different worksheet.

My problem seems to be creating a VLOOKUP on a formula. Below is what I
have used so far.

Original
=IF(D170,VLOOKUP(D:D,'[printing.XLS]TO GO'!$B:$H,4,FALSE),"TM")

Now I need to create a VLOOKUP on that result but it keeps returning #N/A.

Cheers,
Adam

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MartinW
 
Posts: n/a
Default VLookup a Vlookup

Hi Adam,

How are you referencing your first vlookup cell in your second vlookup?
If you address the cell directly you will get an error but not if you
address
it as VALUE().

So your second formula would be something like
=VLOOKUP(VALUE(K17) etc....etc...

HTH
Martin


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
adamb2000
 
Posts: n/a
Default VLookup a Vlookup

Thanks you all for your help,
Martin adding Value did the trick, I can now catch up on the two days work I
spent trying to figure it out,
Cheers
Adam

"adamb2000" wrote:

Hi,
I have created a VLOOKUP function which looks up a value in a different
Workbook.

Bases on this returned value I would like to create a VLOOKUP which looks up
a value in the original workbook but a different worksheet.

My problem seems to be creating a VLOOKUP on a formula. Below is what I
have used so far.

Original
=IF(D170,VLOOKUP(D:D,'[printing.XLS]TO GO'!$B:$H,4,FALSE),"TM")

Now I need to create a VLOOKUP on that result but it keeps returning #N/A.

Cheers,
Adam

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 Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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