View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Mark is offline
external usenet poster
 
Posts: 8
Default Whats wrong with this OR formula?

This one worked beautifully. Thanks much!

Mark

"Pete_UK" wrote in message
ups.com...
You could trap the error from the VLOOKUP in F15 using this:

=IF(ISNA(VLOOKUP( ... )," ",VLOOKUP( ... ))

so that you won't get #N/A in that cell - you can change " " to "" or 0
whichever suits.

Then your formula could become:

=IF(OR(F15=" ",F15=0),"N/A","Approval Needed")

Hope this helps.

Pete

Mark wrote:
Greetings. I am trying to get this formula containing an OR command that
looks like this:

=IF(OR(F15=" ",F15=0,ISERROR(F15)),"N/A","Approval Needed")

When #N/A appears in cell F15 because of an invalid lookup value, I still
get #N/A instead of N/A like I have in quotes above. Why won't this
formula
work?

Thanks