Contact

OR Function in WPS Spreadsheet: Formula, Examples & Troubleshooting

Logical Intermediate WPS Spreadsheet

Learn the OR formula in WPS Spreadsheet: test whether at least one condition is true, with reproducible examples, expected answers and compatibility cautions.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: OR returns TRUE when at least one supplied condition is true, including when several are true. It returns FALSE only when all are false. The choice between OR and AND depends on the rule, not the number of conditions.

Availability and version history

  • Introduced: documented by 2019-05-08 in the official WPS lesson; original introduction is not established.
  • Availability: WPS Office for Windows Personal; no numeric release is stated in the lesson metadata.
  • Scope: current supported build limits remain unverified. The Windows lesson does not establish equivalent support in other WPS clients.
  • Checked: October 14, 2026. Function-specific documentation and independent calculations; no new native WPS test was performed.

Syntax and arguments

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

At least one condition is required. The dated formal definition permits 1–30 conditions; it does not require exactly two. The maximum in a current build remains unverified.

Examples use English function names and comma separators. Square brackets indicate optional arguments and are not typed. Keep logical values distinct from quoted text that merely spells TRUE or FALSE.

Prepare the original example

Enter the original dataset in A1:F9, including headings. Row is explanatory, not an extra worksheet column. Amount and Units are numeric; keep output formulas outside the data.

Row A · Item B · Team C · Status D · Amount E · Units F · Agent
1 Item Team Status Amount Units Agent
2 Pen East Paid 120 12 Ana
3 Pad West Pending 75 5 Bo
4 Box East Paid 210 7 Ana
5 Tape North Paid 90 0 Cy
6 Folder West Paid 150 3 Bo
7 Pen East Pending 60 8 Dee
8 Pad West Paid 125 12 Ana
9 Box North Pending 80 4 Cy

Example 1: original control

=OR(B2="North",E2=12)

Expected result: TRUE. E2 equals 12 even though B2 is East.

Example 2: original comparison

=OR(B3="North",E3=12)

Expected result: FALSE. B3 is West and E3 is 5, so neither test holds.

Example 3: inspect the full North-or-twelve-units rule

Fill the original formula down H2:H9:

=OR(B2="North",E2=12)

Expected results are TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, TRUE and TRUE. Four rows qualify. Two meet the North condition and two meet the twelve-units condition in this dataset.

As a separate control, a North row with twelve units still returns TRUE. OR does not reject a row merely because both conditions hold. If the policy requires exactly one of two conditions, that is a different rule.

Advanced example: several acceptable labels plus a payment rule

=AND(OR(B2="East",B2="West"),C2="Paid")

Filled down, rows 2, 4, 6 and 8 qualify. Either team is acceptable, and the nested AND requires payment as well.

Compare =OR(B2="East",B2="West",C2="Paid"), which selects seven rows. It allows any of the three tests to succeed, so the North/Paid row and the East/West Pending rows are included. The North/Pending row is the only one excluded.

Advanced example: find values outside a permitted interval

For numeric amounts allowed from 75 through 125, inclusive:

=OR(D2<75,D2>125)

The original amounts 210, 150 and 60 are outside, so three rows give TRUE. The exact endpoint 125 remains within the permitted interval.

On an independent control containing 74.9, 75, 125 and 125.1, expected results are TRUE, FALSE, FALSE and TRUE. Writing <=75 or >=125 would change the boundary policy rather than simply rephrasing it.

To make the decision readable, use =IF(OR(D2<75,D2>125),"Outside","Within"). The label describes the chosen interval, not whether the measurement is valid for every other purpose.

Advanced check: compare inclusive OR with an intersection

The original table has three East orders and five Paid orders, with two in both groups. =OR(B2="East",C2="Paid") filled down selects six rows; =AND(B2="East",C2="Paid") selects only two.

Counting the two groups separately and adding 3+5 gives eight memberships, not eight distinct selected rows. OR’s row-level truth result avoids counting a single row twice, but it does not deduplicate repeated business records.

Truth table and source limitations

First condition Second condition OR
FALSE FALSE FALSE
FALSE TRUE TRUE
TRUE FALSE TRUE
TRUE TRUE TRUE

The formal WPS lesson also documents ignored text/empty cells in references and #VALUE! when a supplied range contains no logical values. The primary controls above use explicit comparisons rather than assuming every numeric or text input is coerced in a particular way.

The walkthrough’s suggestion that two conditions are required is narrower than its own syntax, and its age/service thresholds change between prose and formulas. Those inconsistent sample numbers are not reproduced here. Also, a true first argument does not certify short-circuit evaluation of later arguments. Keep calculations that might fail visible while debugging.

Related guides already published for this function: Microsoft Excel | Google Sheets | LibreOffice Calc | Apache OpenOffice Calc | Gnumeric

Each product guide is researched separately; the shared name does not establish identical release support or edge behavior.

Evidence level: The complete article was reviewed against direct function-specific WPS evidence. Original worked formulas, title, publication date and any original table are preserved. Added outputs are independent expectations, not native WPS test results.