Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If Statement / VLookup
I have the following where A23 is a user entered field and when it is blank,
it returns the #N/A. I don't understand the required "IF" statement to return blank instead of #N/A. (The lookup works correctly if A23 value is entered). =VLOOKUP(A23,Product!$A$1:$C$7,2) Thanks, Peter |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If Statement / VLookup
Try
=IF(A23="","",VLOOKUP(A23,Product!$A$1:$C$7,2)) "Pb" wrote: I have the following where A23 is a user entered field and when it is blank, it returns the #N/A. I don't understand the required "IF" statement to return blank instead of #N/A. (The lookup works correctly if A23 value is entered). =VLOOKUP(A23,Product!$A$1:$C$7,2) Thanks, Peter |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If Statement / VLookup
DLL,
Thanks alot. It appears to be it. I kept beating myself up, trying to add the "IF" to the end of the vlookup!!! Have a Great Weekend!! "daddylonglegs" wrote: Try =IF(A23="","",VLOOKUP(A23,Product!$A$1:$C$7,2)) "Pb" wrote: I have the following where A23 is a user entered field and when it is blank, it returns the #N/A. I don't understand the required "IF" statement to return blank instead of #N/A. (The lookup works correctly if A23 value is entered). =VLOOKUP(A23,Product!$A$1:$C$7,2) Thanks, Peter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
If Statement with VLookup | Excel Worksheet Functions | |||
Nested IF statement with VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup 'And' statement | Excel Discussion (Misc queries) | |||
Vlookup or If statement Help | Excel Worksheet Functions | |||
Do I need a sumif or sum of a vlookup formula? | Excel Worksheet Functions |