Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

How to Use Excel OR Function

We can use Excel OR function to simultaneously test multiple logical conditions. For each argument, the OR function will give TRUE or FALSE. This article will step through the use of the OR function.

Figure 1: Final result

Syntax of the formula

=OR(logical1, [logical2]….)

The parameters

Logical1- refers to first condition or logical value to evaluate

Logical2- refers to second condition or logical value to evaluate. It is optional.

Explanation

We will get either of two results: If the argument is true and the condition met, the OR function will return TRUE. However, on the other hand, if the condition is not met, then the OR function will return FALSE.

This function can be used to test multiple conditions, up to 255 at a time.

Using OR to extend functionality of IF function

We can also use the OR function to extend the functionality of the IF function. To better understand this, consider the example below:

Figure 2: Extending functionality of IF function

Array form of the OR function

One can test all values in a given range against one condition by using the array form of the OR function. The test will return either TRUE if any cell in the given range certifies the condition given.

e.g.

={OR(B2:BC20>100}

Notes

The OR function will ignore any empty cell or cells with text values.

Again, if the range selected does not contain any logical values, the OR function will return #Value.

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Solution examples
I have a list or people who are ranked in numbers from 3 to 6 I need to recognize the contents of each multiple cells and create an equivalent letter. for that value into another column. e.g. Cell E1 = 3 to show in new cell that row (H1) the letter "C" I have multiple rows with different values in column "E" Can this be done?
Solved by I. J. in 30 mins
Could you help me by explaining the IF function?
Solved by G. L. in 24 mins
I have a question about Conditional Formatting. =IF('Sheet1'!A1="X",IF('Sheet1'!B1="Y", TRUE, FALSE),FALSE) the set the cell background to red. I would like to make it so that if Sheet1'!B1="Z" I set the back to blue. How can I achieve this.
Solved by B. F. in 39 mins
I need to find out if the 2018 yearly sales goals were met if the yearly sales were $25,000 or more using an IF logical function and to set the formula to return a value of YES if met, and NO if not
Solved by A. A. in 18 mins
Hello good afternoon, I have a problem with excel. I need a formula to compare data between 3 columns and give me the result in a fourth column
Solved by X. B. in 58 mins

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co

Did this post not answer your question?
Get a solution from connecting with the expert

Another blog reader asked this question today on Excelchat:

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc