OR Function in Excel: TRUE When Any Condition Is Met

⏱ 1 min readUpdated 28 September 2026

LogicalLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Power combo
  6. Related functions

OR returns TRUE if at least one condition is TRUE.

Syntax

=OR(logical1, [logical2], ...)
Argument What it means
logical1… Conditions to test.

Examples

Example 1

=OR(E2="Delhi", E2="Mumbai", E2="Bengaluru")

Is the city a metro?

Example 2

=IF(OR(WEEKDAY(A2,2)>5, COUNTIF(Holidays,A2)), "Off", "Working")

Weekend or listed holiday.

Power combo

=OR(E2={"Delhi","Mumbai","Bengaluru"})

An array constant keeps long OR lists short.

AND · NOT · IF

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong