Examples for the or formula in excel
Copy these examples into a spreadsheet and adjust the ranges for your own data.
OR syntax pattern
=OR([booleans...])Use this OR pattern as the starting point for your spreadsheet formula.
OR in a worksheet
=OR([booleans...])Returns TRUE if any value is truthy and FALSE if all values are falsey.
When to use OR
Use OR when you need to return TRUE if any value is truthy and FALSE if all values are falsey.
- Branch spreadsheet logic based on conditions.
- Handle errors and combine boolean checks.
How OR works in Quadratic
In Quadratic, OR follows the syntax OR([booleans...]). The function works inside Quadratic formulas and can be combined with spreadsheet ranges, tables, and other formulas.
Common OR mistakes
Most OR issues come from mismatched argument types, ranges that do not cover the intended data, or optional parameters being omitted when the default behavior is not what you expected.
- Check each required parameter before copying the formula across a sheet.
- Confirm that ranges line up with the rows or columns you intend to analyze.
- Use Quadratic AI to explain or debug the formula when the result looks wrong.