OR Formula Generator (2026) — Logical OR | Free Excel & Sheets
Returns TRUE if any argument is TRUE; returns FALSE if all arguments are FALSE.
Common Errors & Fixes
OR returns TRUE unexpectedly
Causes:- A condition matches when you thought all should fail.
- Empty cells are treated as 0, which may be a valid condition match.
Fixes:- Test each condition individually.
- Check how empty cells are evaluated in your specific criteria.
Frequently Asked Questions
Can OR be used in conditional formatting?
Yes. Use =OR(A1="Overdue", B1>30) in a conditional formatting rule to highlight cells matching any condition.
What is the difference between OR and AND?
OR returns TRUE if ANY condition is true. AND returns TRUE only if ALL conditions are true. Use OR for flexible criteria and AND for strict criteria.
Does OR work in Google Sheets?
Yes, OR works identically in Google Sheets with the same syntax and behavior.
Want to become an Excel Pro?
Stop searching for formulas. Master Excel in 30 days with this top-rated course.
Learn More