AND Function in WPS Spreadsheet: Formula, Examples & Troubleshooting
Learn the AND formula in WPS Spreadsheet: require several conditions to be 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: AND returns TRUE only when every supplied logical condition is true. One false condition makes the result FALSE. Use it for an all-requirements rule, not merely because a formula happens to have two tests.
Availability and version history
- Introduced: documented by 2019-05-21 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
=AND(logical1, [logical2], ...)
At least one condition is required. The dated Windows Personal lesson describes 1–30 conditions; this is not a verified maximum across current builds.
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
=AND(D2>=100,C2="Paid")
Expected result: TRUE. The 120 amount passes the threshold and its status is Paid.
Example 2: original comparison
=AND(D3>=100,C3="Paid")
Expected result: FALSE. 75 is below 100 and the status is Pending.
Example 3: require all three operational conditions
In H2 enter and fill through H9:
=AND(C2="Paid",D2>=100,E2>0)
Expected results are TRUE, FALSE, TRUE, FALSE, TRUE, FALSE, TRUE and FALSE. Four rows satisfy all three conditions. The North/Paid row with amount 90 and zero units fails even though its payment status is correct.
For an explicit report label, use =IF(AND(C2="Paid",D2>=100,E2>0),"Ready","Hold"). The same four rows are Ready. AND supplies the Boolean decision; IF supplies the chosen text.
Advanced example: define a half-open interval
=AND(D2>=75,D2<125)
Filled down the original Amount column, this is TRUE for 120, 75, 90 and 80, four observations. The lower limit is included, while 125 is excluded. On a separate control containing 74, 75, 124.9 and 125, the expected results are FALSE, TRUE, TRUE and FALSE.
To make the bounds editable, put 75 in K2 and 125 in K3, then use =AND(D2>=$K$2,D2<$K$3). Locking the boundary cells prevents fill-down from shifting the limits. A condition such as 75<=D2<125 is not used as a substitute for the two explicit comparisons.
Advanced example: combine an OR subgroup with an AND requirement
=AND(OR(B2="East",B2="West"),C2="Paid")
Fill down. Rows 2, 4, 6 and 8 qualify: either allowed team is acceptable, but Paid is still required. The North/Paid row is excluded by the team rule and the East/Pending row by the status rule.
This grouping differs from =OR(B2="East",AND(B2="West",C2="Paid")), which also accepts the East/Pending row and therefore selects five records. Parentheses express the actual rule; a visually similar formula can select a different population.
Truth-table check and evaluation limits
| First condition | Second condition | AND |
|---|---|---|
| FALSE | FALSE | FALSE |
| FALSE | TRUE | FALSE |
| TRUE | FALSE | FALSE |
| TRUE | TRUE | TRUE |
Try the four combinations using explicit logical expressions such as 1=1 and 1=2. These controls make the all-conditions requirement visible without depending on coercion of numbers or text into Boolean values.
A false first condition is not proof that AND skips evaluating a later argument. Do not rely on AND as a universal guard against a later division or reference error; inspect each expression separately and use a documented error-handling policy where necessary.
Source cautions and troubleshooting
The Academy lesson says referenced text/empty cells are ignored, but also contains a broader sentence saying nonlogical cells cause #VALUE!. That wording does not establish a consistent complete range-coercion matrix. This guide uses explicit TRUE/FALSE comparisons and leaves mixed-type range and no-logical-value behavior unverified.
Its walkthrough also says “greater than 90” while displaying >=90; those are different boundaries. The examples here state their exact inclusive or exclusive operators. Use OR when at least one condition is enough, and confirm that imported quantities are stored as numbers before comparing them.
Related guides and verification
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.
- WPS Academy: AND, 2019-05-21 (Chinese; Windows Personal scope).
- Editorial testing standards.
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.