Skip to main content
SheetCraft
🔀 Logical Function · beginner

OR Function in Google Sheets

Returns TRUE if any argument is TRUE.

Syntax

OR(logical_expression1, [logical_expression2, ...])

Returns: TRUE if any argument is TRUE.

Excel equivalent: OR (identical)

Parameters

NameRequiredDescription
logical_expression1, logical_expression2, ...RequiredConditions.

Examples

Either-or

=IF(OR(A2 = "VIP", A2 = "Premium"), "Discount", "Full")

Discount for VIP or Premium.

Any blank

=OR(ISBLANK(A2), ISBLANK(B2), ISBLANK(C2))

TRUE if any cell empty.

OR in FILTER

=FILTER(A:C, (B:B="X") + (B:B="Y"))

Use + for element-wise OR.

When to use an alternative

  • ANDAll-of-many.
  • + operatorArray formulas.

Common errors and how to fix them

  • Always TRUE

    Cause: Wrong comparison.

    Fix: Make each arg boolean.

Related functions

Frequently Asked Questions

OR in FILTER?

Use + instead — OR collapses arrays.

XOR?

TRUE if ODD number of args are TRUE. Parity checks.

Source: Google Sheets official function reference.