OR function

2016-05-03

This function will return TRUE if one or more of the arguments are TRUE and FALSE if all the are FALSE.

 

Syntax

 

OR(Expression1, Expression2, Expression3, … )

  • Expression1 (required) – This is an expression that can evaluate to either TRUE or FALSE.
  • Expression2, Expression3 etc… (optional) – These are additional expressions you want to test.

 

Example

 

In this example we test two expressions. As seen, the result is only false when both expressions evaluated are false.

 

=OR(A2,B2)

 

OR OR function

About the Author

John MacDougall

John MacDougall

John is a Microsoft MVP and freelance consultant and trainer specializing in Excel, Power BI, Power Automate, Power Apps and SharePoint. You can find other interesting articles from John on his blog or YouTube channel.

Subscribe

Advertisement

Related Articles

IFNA function

This function will return a specified value if your given expression results...

read more

TRUE function

This function will return the TRUE value. This is the same as just entering...

read more

FALSE function

This function will return the FALSE value. This is the same as just entering...

read more

Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get The Latest News

Follow Us

Follow us on social media to stay up to date with the latest tips in Excel!

Pin It on Pinterest

Share This