Cellgrids Cellgrids
Home › Excel formulas › Logic › OR

OR Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

OR is an Excel Logic function. Returns TRUE if at least one condition given is true.

OR syntax

=OR(logical1, [logical2], ...)

Arguments

When to use OR

OR is used to build decision rules directly into a spreadsheet instead of manually judging each row.

Practice OR online, free

Open the live Excel-style spreadsheet and try OR yourself. No Excel install or sign-up needed to start.

Practice OR now →

OR practice questions

More Logic functions

Frequently asked questions

What does the OR function do in Excel?

Returns TRUE if at least one condition given is true.

What is the syntax of OR in Excel?

The syntax is =OR(logical1, [logical2], ...). logical1: The first condition to check; logical2: An additional condition to check (optional) (optional).

Where can I practice OR online for free?

Open the free live spreadsheet on Cellgrids and try OR yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Logic functions · Excel case studies · Excel tutorials · Excel shortcuts