SUMIFS Function in WPS Spreadsheet: Formula, Examples & Troubleshooting
Learn the SUMIFS formula in WPS Spreadsheet: sum values when multiple conditions all hold, 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: SUMIFS adds numeric amounts only where every supplied range-and-criterion pair is satisfied. Put the sum range first, followed by each test range and criterion. This is useful for combinations such as team, status and amount threshold.
Availability and version history
- Introduced: documented by 2019-05-13 in the official WPS lesson; original introduction is not established.
- Availability: WPS Office for Windows Personal; no numeric release is stated. This documents the named edition rather than a particular installed build.
- 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
=SUMIFS(sum_range,criteria_range1,criteria1,[criteria_range2,criteria2],...)
sum_range and the first criterion pair are required. Additional pairs add simultaneous conditions. The dated Windows Personal lesson allows up to 127 range/criterion pairs; the current build maximum is not verified. Keep every example range aligned to the same eight data rows.
Square brackets mark optional arguments and are not typed. Examples use English function names and comma separators; adapt punctuation to the workbook locale without changing quoted comparison text.
Prepare the original example
Enter this original dataset in A1:F9, including the headings. Amount and Units are numeric. Keep outputs outside the source table.
| 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
=SUMIFS(D2:D9,B2:B9,"East",C2:C9,"Paid")
Expected result: 330. East + Paid corresponds to 120 and 210, so 330.
Example 2: original comparison
=SUMIFS(D2:D9,B2:B9,"West",C2:C9,"Paid")
Expected result: 275. West + Paid corresponds to 150 and 125, so 275.
Example 3: add an amount threshold to the team and status tests
=SUMIFS(D2:D9,B2:B9,"East",C2:C9,"Paid",D2:D9,">=150")
Expected result: 210. Both East/Paid records pass the first two conditions, but only the 210 amount reaches 150. The 120 amount is excluded by the third condition. This is an AND rule: a row must pass all three tests.
For an adjustable threshold, enter numeric 150 in H2 and replace the last argument with ">="&H2. The result remains 210. The threshold cell stores the number; the quoted operator supplies the comparison.
Example 4: set a lower and upper bound on one column
=SUMIFS(D2:D9,D2:D9,">=100",D2:D9,"<200")
Expected result: 395, from 120, 150 and 125. The repeated criterion range is intentional: each amount must satisfy both boundaries.
Using <200 rather than <=200 makes the upper boundary exclusive. The supplied table has no amount of 200, so both versions happen to agree here. In a separate one-row boundary control containing 200, only the inclusive version would select that value.
Advanced example: build a two-way total with fixed references
In H2:H4 enter East, West, North. Enter Paid in I1 and Pending in J1. In I2 use:
=SUMIFS($D$2:$D$9,$B$2:$B$9,$H2,$C$2:$C$9,I$1)
Fill across to J2 and down through J4. The explanatory table below labels the six expected output cells:
| Team | Paid | Pending |
|---|---|---|
| East | 330 | 60 |
| West | 275 | 75 |
| North | 90 | 80 |
The amount and criteria ranges stay fixed. $H2 keeps the team column while allowing its row to change; I$1 keeps the status row while allowing its column to change.
Paid totals 695 and Pending totals 215; together they reconcile to 910. This depends on the supplied table containing only those two statuses. A new or misspelled status would require its own category or a separate exception check.
Advanced example: express OR without applying impossible conditions
To add Paid amounts for either East or West:
=SUMIFS(D2:D9,B2:B9,"East",C2:C9,"Paid")+SUMIFS(D2:D9,B2:B9,"West",C2:C9,"Paid")
Expected result: 605, from 330 plus 275. The two team groups are disjoint in this dataset.
Putting both "East" and "West" into separate tests on the same team cell asks that cell to equal both names simultaneously. It does not mean either name. For overlapping alternatives, calculate and subtract the intersection once rather than blindly adding subtotals.
Choosing between SUMIF and SUMIFS
With one criterion, the following formula totals all East amounts:
=SUMIFS(D2:D9,B2:B9,"East")
Expected result: 390. It matches SUMIF on these inputs, but the argument order differs: SUMIFS places the sum range first. Extending an existing SUMIF formula requires checking that order rather than merely adding an S to its name.
Troubleshooting and verification boundaries
Work through one criterion at a time when a result is unexpected. Confirm that the labels and numeric cells are the intended ones, and that all ranges cover the same rows without an accidental header or extra total row.
The selected WPS lesson defines the argument pairs and their historical limit, but does not establish exact mismatched-shape errors, wildcard escaping, case matching or a complete empty/text/error policy. These aligned, numeric controls do not certify those behaviors. Criteria matching also does not by itself make a subtotal sensitive to filtered or manually hidden rows; see SUBTOTAL for that requirement.
Related guides and verification
Related guides already published for this function: Microsoft Excel | Google Sheets | LibreOffice Calc | Apache OpenOffice Calc | Gnumeric
Each comparison guide is researched separately; a shared function name does not establish identical platform availability or edge behavior.
- WPS Academy: SUMIFS, 2019-05-13 (Chinese; Windows Personal scope).
- Editorial testing standards.
Evidence level: The complete article was reviewed against the direct WPS lesson. Original worked formulas, title and publication date are preserved. Added outputs are independently calculated expectations, not native WPS test results.