Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HBF
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use ISNA on this formula amario Excel Worksheet Functions 5 September 1st 05 10:42 PM
So close and yet so far (IF ISNA question) randomjohn Excel Discussion (Misc queries) 3 August 3rd 05 07:28 PM
IF ISNA HELP, please..I cant add #N/A but 0 is another story Sigmaz Excel Worksheet Functions 2 March 23rd 05 01:23 PM
if isna and vlookup together tina Excel Worksheet Functions 2 January 20th 05 01:06 PM
ISNA question ShineboxNJ Excel Worksheet Functions 2 January 6th 05 10:49 PM


All times are GMT +1. The time now is 12:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"