OR Function in Apple Numbers: Syntax, Examples, and Troubleshooting
Test whether at least one of several conditions is true in Apple Numbers with examples and safeguards.
Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in Apple Numbers. How formula examples are checked
Quick answer: =OR(A2="Missing",B2="Unpaid") is TRUE if either or both conditions hold. Use OR to flag records needing action for at least one reason.
This is a Numbers-specific reference with sample data you can enter manually. Calculated results below are independently checked expectations, not claims of an Apple Numbers execution.
Exact official syntax and arguments
=OR(any-expression, any-expression…)
| Argument | Requirement and accepted input |
|---|---|
| First argument | any-expression — required expression that can be evaluated as a Boolean; numeric 0 is FALSE and any nonzero numeric expression is TRUE. |
| Additional or second argument | any-expression… — optional additional Boolean-evaluable expressions. Each contributes another chance for OR to be TRUE. |
The spelling and argument order are taken from Apple’s OR function documentation. Do not infer undocumented arguments or a historical first-supported app version from this page.
Platform, version, table-reference and locale notes
In the English/comma-decimal examples, multiple function arguments use a comma. Apple says that when the decimal separator is set to comma, typed function arguments should instead be separated with a semicolon. A range such as B2:B6 uses a colon, not an argument separator. In Numbers a spreadsheet can contain multiple tables on one sheet. All worked examples here put the formula in the same table as the source data and use simple references such as B2. When moving the result to a different table, select source cells using the formula editor and accept the table-qualified reference Numbers generates. Excel worksheet references are not a drop-in replacement.
Reproducible example: flag records requiring follow-up
- Create a Numbers table named Applications, with
Documents,Payment, andFeein A1:C1 and the exact entries below. Use text for A/B and numbers in column C. - Enter the formula below in a free result cell such as D2 of the same table.
| Row | A: Documents | B: Payment | C: Fee |
|---|---|---|---|
| 2 | Complete | Paid | 120 |
| 3 | Complete | Unpaid | 80 |
| 4 | Missing | Paid | 150 |
| 5 | Complete | Paid | 35 |
=OR(A2="Missing",B2="Unpaid")
Independently checked expected result for row 2: FALSE: the documents are not Missing and payment is not Unpaid. Row 3 with A3,B3 returns TRUE due to unpaid status; row 4 returns TRUE due to missing documents; row 5 returns FALSE. This is an inclusive any-condition test, not a count of failed criteria.
A literal example shows Apple’s numeric-to-Boolean rule:
=OR(0,0,4)
Expected result: TRUE because 4 is nonzero. By contrast, =OR(0,0) should be FALSE because no argument is true. Even if multiple tests are TRUE, OR still returns TRUE: it is inclusive OR, not XOR.
Advanced use: turn exception flags into a review decision
For a policy requiring complete documents, paid status, and at least 100 in fees, flag any failed condition:
=IF(OR(A2<>"Complete",B2<>"Paid",C2<100),"Review","Eligible")
Expected result for row 2: Eligible: no exception condition is true. With row 3 references the output is Review due to Unpaid; row 4 produces Review due to Missing, and row 5 produces Review because 35<100. In this exact input table, OR of the failed criteria is the logical opposite of AND of the successful criteria. Do not silently swap OR and AND when copying a business-rule formula.
OR does not itself filter or count records. For an exceptions dashboard, use the Boolean result to label a row or feed a validated IF, then choose appropriate summary functions such as COUNTIFS for row counts. A FILTER formula can produce a separate selection of matching records, subject to its own documented syntax.
Edge cases and limitations
- Inclusive OR, not exclusive OR: If two exceptions are present simultaneously, the function still returns TRUE. Use XOR only when “exactly one” is intended and verified.
- Compare text to text. A status label like
Unpaidis not a Boolean by itself. UseB3="Unpaid"rather than relying on implicit text coercion that Apple does not document here. - Zero is FALSE; every other numeric value is TRUE. A numeric −1 is also nonzero and thus TRUE under Apple’s stated rule. If the business intent is
>0, writeC2>0as a comparison instead of passing raw C2. - OR evaluates conditions, not data correctness. A typo such as
Unpaiddchanges the truth result. Clean and standardize imported labels. - Range or table mistakes: The example uses individual row cells from the same table. Do not generalize a single-cell OR example into a claim that passing a column reference counts the true rows.
- Errors are not valid truth values. this guide does not claim that OR handles formula errors or safely short-circuits evaluation. Inspect the invalid expression, and use IFERROR when a documented fallback is necessary.
Troubleshooting
If you expect row 3 to be TRUE but get FALSE, enter the comparisons separately: =A3="Missing" (expected FALSE) and =B3="Unpaid" (expected TRUE). Then rebuild =OR(A3="Missing",B3="Unpaid"). Inspect spaces, source table, row numbers, quotation marks and any imported text. If a summary cell unexpectedly reports TRUE for every row, check whether you used a raw nonzero numeric field as an OR argument instead of a comparison. If an argument separator fails, review the document’s regional decimal separator settings.
Excel and Google Sheets compatibility
Excel and Google Sheets also use OR for inclusive disjunction. For example, the logical decision “Missing or Unpaid” travels conceptually across products. Do not assume that a Numbers table reference (which may include Applications::A2) is a valid Excel Sheet1!A2 reference or that arbitrary text and array arguments are coerced identically. Apple defines OR arguments as expressions evaluable to Boolean and documents its specific zero/nonzero rule.
Related published Apple Numbers guides
Official reference and verification
- Apple Numbers — function documentation
- Apple — Functions overview
- Apple — Formulas and Functions Help
- Apple — Refer to cells in formulas
Verification status: Official documentation checked; example outcomes were independently reasoned or arithmetically checked where applicable. Not executed in Apple Numbers.
- No genuine Apple Numbers screenshots are included; this guide does not use mock application images.