Can I use OR with iserror for multiple checking?

CAQ

New member
Local time
Today, 08:26
Joined
Apr 4, 2009
Messages
3
Got a problem need to check three logics with ISERROR (to check data on two different sheets and checking if one for negative value.
I'm not sure if I can use an OR statement to combine all three queries.

=IF(OR((ISERROR(VLOOKUP($A1,Sheet1!$1:$4600,2,FALSE)),ISERROR(VLOOKUP($A1,Sheet2!$1:$4600,2,FALSE)),VLOOKUP($A1,Sheet1!$1:$4600,2,FALSE)<0)),0,PERFORM SOME CALCULATION)))
 
Last edited:
This looks like Excel not Access code. Since this is not in the Excel forum, but an Access forum, can you clarify what app this is for?
 
My goof I didn't realized. I'll move on.
 
Last edited:
Yes you can use OR to check several booleans. To convince yourself, try entering this in a cell:

=OR(true,true,false)

It might be my eyesight but your brackets don't match up.

Chris
 

Users who are viewing this thread

Back
Top Bottom