Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Using ISNA with OR
I need to make a formula that looks like the following: =IF(ISNA(VLOOKUP...) OR(VLOOKUP...=0)"", VLOOKUP... In human terms, if the Vlookup returns N/A or 0, show nothing (""), otherwise show me the vlookup. Any way to combine the ISNA with an OR statement? -- HBF ------------------------------------------------------------------------ HBF's Profile: http://www.excelforum.com/member.php...o&userid=34019 View this thread: http://www.excelforum.com/showthread...hreadid=537813 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Using ISNA with OR
=IF(ISNA(VLOOKUP()),"",IF(VLOOKUP()=0,"",VLOOKUP() ))
-- Regards, Peo Sjoblom http://nwexcelsolutions.com "HBF" wrote in message ... I need to make a formula that looks like the following: =IF(ISNA(VLOOKUP...) OR(VLOOKUP...=0)"", VLOOKUP... In human terms, if the Vlookup returns N/A or 0, show nothing (""), otherwise show me the vlookup. Any way to combine the ISNA with an OR statement? -- HBF ------------------------------------------------------------------------ HBF's Profile: http://www.excelforum.com/member.php...o&userid=34019 View this thread: http://www.excelforum.com/showthread...hreadid=537813 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Using ISNA with OR
=IF(OR(ISNA(VLOOKUP(...)),VLOOKUP(...)=0),"",VLOOK UP(...))
HTH, Elkar "HBF" wrote: I need to make a formula that looks like the following: =IF(ISNA(VLOOKUP...) OR(VLOOKUP...=0)"", VLOOKUP... In human terms, if the Vlookup returns N/A or 0, show nothing (""), otherwise show me the vlookup. Any way to combine the ISNA with an OR statement? -- HBF ------------------------------------------------------------------------ HBF's Profile: http://www.excelforum.com/member.php...o&userid=34019 View this thread: http://www.excelforum.com/showthread...hreadid=537813 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Using ISNA with OR
I don't think that will work since it is an error, using the OR function
will return an error if no value is found Peo "Elkar" wrote in message ... =IF(OR(ISNA(VLOOKUP(...)),VLOOKUP(...)=0),"",VLOOK UP(...)) HTH, Elkar "HBF" wrote: I need to make a formula that looks like the following: =IF(ISNA(VLOOKUP...) OR(VLOOKUP...=0)"", VLOOKUP... In human terms, if the Vlookup returns N/A or 0, show nothing (""), otherwise show me the vlookup. Any way to combine the ISNA with an OR statement? -- HBF ------------------------------------------------------------------------ HBF's Profile: http://www.excelforum.com/member.php...o&userid=34019 View this thread: http://www.excelforum.com/showthread...hreadid=537813 |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Using ISNA with OR
Ah yes, you're right. I see how to fix it, but your solution would be far
more efficient. Thanks for the catch. "Peo Sjoblom" wrote: I don't think that will work since it is an error, using the OR function will return an error if no value is found Peo "Elkar" wrote in message ... =IF(OR(ISNA(VLOOKUP(...)),VLOOKUP(...)=0),"",VLOOK UP(...)) HTH, Elkar "HBF" wrote: I need to make a formula that looks like the following: =IF(ISNA(VLOOKUP...) OR(VLOOKUP...=0)"", VLOOKUP... In human terms, if the Vlookup returns N/A or 0, show nothing (""), otherwise show me the vlookup. Any way to combine the ISNA with an OR statement? -- HBF ------------------------------------------------------------------------ HBF's Profile: http://www.excelforum.com/member.php...o&userid=34019 View this thread: http://www.excelforum.com/showthread...hreadid=537813 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I use ISNA on this formula | Excel Worksheet Functions | |||
So close and yet so far (IF ISNA question) | Excel Discussion (Misc queries) | |||
IF ISNA HELP, please..I cant add #N/A but 0 is another story | Excel Worksheet Functions | |||
if isna and vlookup together | Excel Worksheet Functions | |||
ISNA question | Excel Worksheet Functions |