Contact

OR in Zoho Sheet: Flag any matching condition

Logical Beginner Zoho Sheet

Use OR to flag an order when one or more conditions match; detailed syntax, practical examples and errors.

Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in Zoho Sheet. How formula examples are checked

Quick answer: Use OR when any one of several tests should qualify a row. In the order table below, flag an order if it is Pending or has zero units; unlike AND, the tests need not both be true.

Official syntax and parameters

=OR(argument; [argument1]; ...)
Argument Definition Example
argument Required logical condition, value or range to evaluate. C3="Pending"
argument1, more Optional additional conditions. The result is TRUE when at least one argument is considered true. F3=0

Practice dataset: eight orders

In a new Zoho Sheet, put these headings in A1:F1 and enter the eight rows exactly into A2:F9. Set D and F to numbers, not text; use an empty column such as H for formulas so you do not overwrite the input table. A complete CSV copy is included with this review batch; you can also type the records directly.

Row A: Order ID B: Region C: Status D: Amount E: Agent F: Units
2 O-101 East Paid 120 Ana 12
3 O-102 West Pending 75 Bo 5
4 O-103 East Paid 210 Ana 7
5 O-104 North Paid 90 Cy 0
6 O-105 West Paid 150 Bo 3
7 O-106 East Pending 60 Dana 8
8 O-107 West Paid 125 Ana 12
9 O-108 North Pending 80 Cy 4

When copying examples, keep the semicolons shown in Zoho’s English-language function help. Other spreadsheet products and locale settings may show commas instead. Cell addresses in the examples refer to the table on this sheet, not to a different workbook.

Reproducible examples

Example 1 — Flag pending or out-of-stock orders

In H2, enter:

=OR(C2="Pending";F2=0)

Expected: FALSE. Row 2 is Paid and has 12 units, so both tests are FALSE. Copy the expression down to H3 and H5:

  • H3 expected TRUE: O-102 is Pending, with 5 units, so the first test is TRUE.
  • H5 expected TRUE: O-104 is Paid, but has 0 units, so the second test is TRUE.

This is a row-by-row example: H2 checks row 2; copying down changes the relative row references. Do not confuse it with counting all eight rows.

Example 2 — Numeric thresholds

=OR(D4>=200;F4=0)

Expected TRUE. O-103 has amount 210. The first condition is met even though seven units are available.

=OR(D3>=200;F3=0)

Expected FALSE. O-102 is worth 75 and has five units; neither condition is satisfied.

Advanced application — combine OR with IF to create a review queue

Use the OR result to display a readable action instead of just TRUE/FALSE:

=IF(OR(C5="Pending";F5=0);"Review order";"No action")

Expected: Review order. O-104 has no units, even though its status is Paid. For O-101 (row 2), change both references from row 5 to row 2; the result is No action.

Operational tip: Keep each reason visible in separate columns when staff need to know why an order was flagged. OR answers whether any condition is true but does not identify which one triggered the flag. Use AND when every test must pass and COUNTIFS for counts across rows.

Errors, edge cases and troubleshooting

  • TRUE versus nonzero numeric values: Zoho documents that zero is FALSE and nonzero numbers are TRUE. =OR(FALSE;2) therefore evaluates TRUE according to the documentation.
  • Text arguments: Zoho states that text values are ignored during OR evaluation. Do not use a bare category like Paid as a condition; use a comparison such as C2="Paid". Do not infer that text “TRUE” and the Boolean TRUE are interchangeable.
  • #NAME!: Check spelling, double quotes around text and the colon in ranges.
  • #VALUE!: Inspect argument types and any referenced error cells; the official page lists invalid input types as a cause.
  • #REF!: Rebuild a reference if a referenced row, column or sheet was deleted.
  • Unexpected FALSE: Check the actual status text (extra spaces matter for comparisons), the units’ numeric type, and whether you copied the formula to the correct row.
  • Range pitfalls: A comparison performed over whole ranges is not the same as the simple cell-by-cell examples here. Check array results in Zoho directly before using them in production.

Excel, Google Sheets and other software

Microsoft Excel OR documentation also describes a TRUE result if any input is true. Modern Excel typically documents formulas with commas in its English-language help; Zoho’s reference uses semicolons. Excel documents specific behavior when no logical values are present in a range; this has not been independently established for Zoho, so do not copy that error rule across products. Google Sheets offers OR as well, but text coercion and array-specific details must be checked against its own documentation and your workbook locale.

Official reference and verification

Verification status: Official documentation checked; example outcomes were independently reasoned or arithmetically checked where applicable. Not executed in Zoho Sheet.

  • No genuine Zoho Sheet screenshots are included; this guide does not use mock application images.