Lesson#40: OR function in Excel
![Lesson#40: OR function in Excel](https://excelabcd.co.in/wp-content/uploads/2018/01/excelabcd-lesson-40.png)
OR function checks whether any of the arguments are TRUE then it returns TRUE or it will return FALSE.
Syntax of that function is OR(logical1, logical2, ….)
Example:
![](https://excelabcd.co.in/wp-content/uploads/2018/01/40-1.png)
Here I have shown an example where the values of the C column are going to be checked with the OR function.
I have put this formula
=OR(C3>100, MOD(C3,5)=0).
This will check whether the values in the C column are greater than 100 or return a remainder of 0 when divided by 5.
If the value meets any of these criteria then it will return TRUE or it returns FALSE.
![](https://excelabcd.co.in/wp-content/uploads/2018/01/40-3.png)
Another example of including OR function within the IF function.
I have changed the formula with =IF(OR(C3>100, MOD(C3, 5)=0), “ok”, “not ok”)
where it will check whether the values in the C column are greater than 100 or returns remainder 0 when divided with 5 then it will write “ok” or it will write “not ok”.
![](https://excelabcd.co.in/wp-content/uploads/2018/01/40-4.png)
Related video tutorials:
Leave a Reply