Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hello,
i am using vlookup formula but when cell is empty #na error is coming out is there any other way ? =IF(A100="","",VLOOKUP(A100,spl,12,)) thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
VLOOKUP will return #NA if the value is not found. Try it this way to avoid
showing #NA. =IF(A100="","",IF(ISNA(VLOOKUP(A100,spl,12,)),"",V LOOKUP(A100,spl,12,))) or just like this: =IF(ISNA(VLOOKUP(A100,spl,12,)),"",VLOOKUP(A100,sp l,12,)) -- Hope that helps. Vergel Adriano "Tufail" wrote: hello, i am using vlookup formula but when cell is empty #na error is coming out is there any other way ? =IF(A100="","",VLOOKUP(A100,spl,12,)) thanks in advance. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thank you very much for your reply.
"Vergel Adriano" wrote: VLOOKUP will return #NA if the value is not found. Try it this way to avoid showing #NA. =IF(A100="","",IF(ISNA(VLOOKUP(A100,spl,12,)),"",V LOOKUP(A100,spl,12,))) or just like this: =IF(ISNA(VLOOKUP(A100,spl,12,)),"",VLOOKUP(A100,sp l,12,)) -- Hope that helps. Vergel Adriano "Tufail" wrote: hello, i am using vlookup formula but when cell is empty #na error is coming out is there any other way ? =IF(A100="","",VLOOKUP(A100,spl,12,)) thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If (Vlookup 0) working, but what if Vlookup cell does not exist | Excel Worksheet Functions | |||
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) | |||
Which is faster: VLOOKUP-worksheet or VB-array VLOOKUP? | Excel Programming | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |