Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Embedding vlookup
Have you tried without the nesting to see if working.
-- Don Guillett Microsoft MVP Excel SalesAid Software "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. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Embedding in a cell. | Excel Discussion (Misc queries) | |||
Embedding functions in Vlookup? | Excel Worksheet Functions | |||
Help with embedding sheets | Excel Discussion (Misc queries) | |||
Embedding a Hyperlink | Excel Discussion (Misc queries) | |||
embedding excel | Links and Linking in Excel |