Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have tried everything & I keep getting #n/a returned in my vlookup formula.
I have tried IF and ISNA and they do not work. I know the formula is correct. Plese help! =VLOOKUP(B16,Sheet1!B:F,5,FALSE) =IF(ISNA(VLOOKUP(B16,Sheet1!B:F,5,FALSE))=TRUE,"Te st",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) Note: I just get test returned =IF(B16="","",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
#N/A doesn't mean the formula is wrong, it just means it looked for your
value and couldn't find it in the table you defined. Let's take a look here...yeah, looks fine to me, and if the second formula returns "Test" then that proves it. It's not the formula itself, it's just that VLOOKUP failed to find the value in B16. --- "phayes7" wrote: I have tried everything & I keep getting #n/a returned in my vlookup formula. I have tried IF and ISNA and they do not work. I know the formula is correct. Plese help! =VLOOKUP(B16,Sheet1!B:F,5,FALSE) =IF(ISNA(VLOOKUP(B16,Sheet1!B:F,5,FALSE))=TRUE,"Te st",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) Note: I just get test returned =IF(B16="","",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for getting back so fast. I validated that the values in column 16 are
in the array I'm searching and that is what is perplexing. I chave changed the cell format to number, general and text and still nothing. Thanks again! "Bob Bridges" wrote: #N/A doesn't mean the formula is wrong, it just means it looked for your value and couldn't find it in the table you defined. Let's take a look here...yeah, looks fine to me, and if the second formula returns "Test" then that proves it. It's not the formula itself, it's just that VLOOKUP failed to find the value in B16. --- "phayes7" wrote: I have tried everything & I keep getting #n/a returned in my vlookup formula. I have tried IF and ISNA and they do not work. I know the formula is correct. Plese help! =VLOOKUP(B16,Sheet1!B:F,5,FALSE) =IF(ISNA(VLOOKUP(B16,Sheet1!B:F,5,FALSE))=TRUE,"Te st",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) Note: I just get test returned =IF(B16="","",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() I've encountered this problem before, it can be frustrating. I find one useful diagnosis is to try doing a B16=(column containing the seemingly same value) and find out more about what went wrong. Yong Heng "phayes7" wrote: Thanks for getting back so fast. I validated that the values in column 16 are in the array I'm searching and that is what is perplexing. I chave changed the cell format to number, general and text and still nothing. Thanks again! "Bob Bridges" wrote: #N/A doesn't mean the formula is wrong, it just means it looked for your value and couldn't find it in the table you defined. Let's take a look here...yeah, looks fine to me, and if the second formula returns "Test" then that proves it. It's not the formula itself, it's just that VLOOKUP failed to find the value in B16. --- "phayes7" wrote: I have tried everything & I keep getting #n/a returned in my vlookup formula. I have tried IF and ISNA and they do not work. I know the formula is correct. Plese help! =VLOOKUP(B16,Sheet1!B:F,5,FALSE) =IF(ISNA(VLOOKUP(B16,Sheet1!B:F,5,FALSE))=TRUE,"Te st",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) Note: I just get test returned =IF(B16="","",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Debra Dalgleish has lots of notes on troubleshooting this kind of error:
http://contextures.com/xlFunctions02.html#Trouble phayes7 wrote: I have tried everything & I keep getting #n/a returned in my vlookup formula. I have tried IF and ISNA and they do not work. I know the formula is correct. Plese help! =VLOOKUP(B16,Sheet1!B:F,5,FALSE) =IF(ISNA(VLOOKUP(B16,Sheet1!B:F,5,FALSE))=TRUE,"Te st",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) Note: I just get test returned =IF(B16="","",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) -- Dave Peterson |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks to Dave & Bob...I went to the link from Debra and tried converting the
text to numbers advice. I had done this before but in the manner described. It worked...again thanks to all! "Dave Peterson" wrote: Debra Dalgleish has lots of notes on troubleshooting this kind of error: http://contextures.com/xlFunctions02.html#Trouble phayes7 wrote: I have tried everything & I keep getting #n/a returned in my vlookup formula. I have tried IF and ISNA and they do not work. I know the formula is correct. Plese help! =VLOOKUP(B16,Sheet1!B:F,5,FALSE) =IF(ISNA(VLOOKUP(B16,Sheet1!B:F,5,FALSE))=TRUE,"Te st",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) Note: I just get test returned =IF(B16="","",VLOOKUP(B16,Sheet1!B:F,5,FALSE)) -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel | |||
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |