OR function

Returns Yes if any argument is TRUE; returns No if all arguments are FALSE.



Logical1, logical2,...     are 1 to 30 conditions you want to test that can be either TRUE or FALSE.


  • The arguments must evaluate to logical values such as TRUE or FALSE, or be arrays or references that contain logical values.

  • If a column reference argument contains text or is empty, those values are ignored.

  • If the specified range contains no logical values, OR returns the #VALUE! error value.



Description (Result)


One argument is TRUE (Yes)


All arguments evaluate to FALSE (No)


At least one argument is TRUE (Yes)

Connect with an expert
Contact us
Expand your skills
Explore training

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.