Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How to fix #N/A if vlookup can't find a match to the lookup value.
For example, Array = D1:E2 D1:E2 = Apple 1 Orange 2 Lookup value = A1 A1 = Pear vlookup(A1, D1:E2, 2,0) Result will return as #N/A since "Pear" cannot be found in the array. Question: how do I set it to blank or 0 if it's #N/A? Please help! Thank you. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try =IF(ISNA(vlookup(A1, D1:E2, 2,0)),"not found", vlookup(A1, D1:E2, 2,0))
best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "Sweepea" wrote in message ... How to fix #N/A if vlookup can't find a match to the lookup value. For example, Array = D1:E2 D1:E2 = Apple 1 Orange 2 Lookup value = A1 A1 = Pear vlookup(A1, D1:E2, 2,0) Result will return as #N/A since "Pear" cannot be found in the array. Question: how do I set it to blank or 0 if it's #N/A? Please help! Thank you. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks so much, Bernard. It works!!!!
"Bernard Liengme" wrote: Try =IF(ISNA(vlookup(A1, D1:E2, 2,0)),"not found", vlookup(A1, D1:E2, 2,0)) best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "Sweepea" wrote in message ... How to fix #N/A if vlookup can't find a match to the lookup value. For example, Array = D1:E2 D1:E2 = Apple 1 Orange 2 Lookup value = A1 A1 = Pear vlookup(A1, D1:E2, 2,0) Result will return as #N/A since "Pear" cannot be found in the array. Question: how do I set it to blank or 0 if it's #N/A? Please help! Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLOOKUP Problem | Excel Discussion (Misc queries) | |||
VLOOKUP Limitations | Excel Worksheet Functions | |||
Have Vlookup return a Value of 0 instead of #N/A | Excel Worksheet Functions | |||
vlookup data hidden within worksheet | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |