Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Embedding vlookup

I'm trying to lookup a value using lookup as a reference. It seems like excel
isn't understanding to use the lookup as a value.
My current formula is returning #N/A!

=VLOOKUP((VLOOKUP(B7,Compare!A1:B50,2,TRUE)),Paste !A1:S500,10,FALSE)


Any advise would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Embedding vlookup

Excel works with the kind of formula you have used... So the problem is not
with your formula but the data...
First VLOOKUP will give you value from Col B of Compare and then use that to
lookup from Paste sheet. Is that what you want?

Did you check what VLOOKUP(B7,Compare!A1:B50,2,TRUE) is returning in cases
where you are getting #N/A?
Possible reasons
1. VLOOKUP(B7,Compare!A1:B50,2,TRUE) is returning #N/A because B7 is not
found in Col A of Compare sheet (data type mismatch?)

2. VLOOKUP((VLOOKUP(B7,Compare!A1:B50,2,TRUE)),Paste! A1:S500,10,FALSE)
is returning #N/A as the value returned by VLOOKUP is not there in Col A of
Paste

Replace VLOOKUP(B7,Compare!A1:B50,2,TRUE) with
ISNA(VLOOKUP(B7,Compare!A1:B50,2,TRUE),"Not
Found",VLOOKUP(B7,Compare!A1:B50,2,TRUE))
Have an entery Not Found in Col A of Paste, enter something like Formula is
Ok in 10th column (J?) in Paste and see...

"MeanArtichoke" wrote:

I'm trying to lookup a value using lookup as a reference. It seems like excel
isn't understanding to use the lookup as a value.
My current formula is returning #N/A!

=VLOOKUP((VLOOKUP(B7,Compare!A1:B50,2,TRUE)),Paste !A1:S500,10,FALSE)


Any advise would be greatly appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Embedding vlookup

Adding on a couple more thoughts ..

To enable easy diagnosis on what's happening, dismember it ..

Place this in say, C7:
=VLOOKUP(B7,Compare!A1:B50,2,TRUE)

Then this in D7:
=VLOOKUP(C7,Paste!A1:S500,10,FALSE)

Maybe C7 is returning text numbers (or a mix of real/text numbers) ?
You could have this in D7 to take care of both possibilities:
=VLOOKUP(C7+0,Paste!A1:S500,10,FALSE)

--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"MeanArtichoke" wrote:
I'm trying to lookup a value using lookup as a reference. It seems like excel
isn't understanding to use the lookup as a value.
My current formula is returning #N/A!

=VLOOKUP((VLOOKUP(B7,Compare!A1:B50,2,TRUE)),Paste !A1:S500,10,FALSE)


Any advise would be greatly appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Embedding vlookup

Hi,

Instead of VLOOKUP(B7,Compare!A1:B50,2,TRUE), try this
VLOOKUP(B7,Compare!A1:B50,2,FALSE).

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"MeanArtichoke" wrote in message
...
I'm trying to lookup a value using lookup as a reference. It seems like
excel
isn't understanding to use the lookup as a value.
My current formula is returning #N/A!

=VLOOKUP((VLOOKUP(B7,Compare!A1:B50,2,TRUE)),Paste !A1:S500,10,FALSE)


Any advise would be greatly appreciated.


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
Embedding in a cell. ChattyKat Excel Discussion (Misc queries) 2 July 26th 07 09:10 AM
Embedding functions in Vlookup? AsstInterests Excel Worksheet Functions 2 May 25th 06 08:54 PM
Help with embedding sheets Tom Weston Excel Discussion (Misc queries) 0 February 13th 06 10:02 AM
Embedding a Hyperlink cincode5 Excel Discussion (Misc queries) 2 January 24th 05 11:21 PM
embedding excel Alex Links and Linking in Excel 1 December 1st 04 08:01 AM


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