Function Problems

How to Exclude Multiple Names in Another Range with SUMIFS in WPS Spreadsheets

Huma Ashraf ChHuma Ashraf Ch Nov 13, 2026 869 views

Question details

The user needs to sum values in WPS Spreadsheets while excluding names that appear in a separate range, because SUMIFS cannot treat that range as a single not-equal condition.

How to Exclude Multiple Names in Another Range with SUMIFS in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The user is building a conditional sum formula that must exclude every name listed in a separate lookup range.
Observed behavior
SUMIFS only accepts one value at a time for a not-equal criterion and does not directly exclude an entire list.
Before you start

Confirm that all ranges used in the formula refer to the same number of rows and are on the same sheet. Identify the sum range, the condition ranges, the criteria cells, and the exclusion list range before editing the formula.

Solution 1Recommended

Use SUMPRODUCT with MATCH and ISNA to Exclude All Names in a List

Use this when the excluded values are stored in a range and you need one dynamic formula instead of adding a separate SUMIFS criterion for each name.

The formula multiplies the condition results by the sum range and uses MATCH inside ISNA to keep only rows whose name does not appear in the exclusion list. Because SUMPRODUCT processes arrays natively, it can handle multiple conditions and a list-based exclusion in one step.

1
Select the result cell

Click the cell where you want the total to appear in your WPS Spreadsheets worksheet.

2
Enter the SUMPRODUCT formula

Type a formula such as =SUMPRODUCT(($C$3:$C$14=$E$18)*($F$3:$F$14=$F$18)*ISNA(MATCH($X$3:$X$14,$D$2:$D$10,0))*$E$3:$E$14) and adjust each range to match your data layout.

3
Press Enter

Press Enter to calculate the total. Rows with names found in the exclusion list are treated as FALSE and do not contribute to the result.

Use SUMPRODUCT with MATCH and ISNA to Exclude All Names in a List
Dynamic exclusion achieved: The formula excludes every name in the exclusion list without requiring a separate SUMIFS condition for each cell.

Create a Dynamic Exclusion List Formula in WPS Spreadsheets

WPS Spreadsheets can accomplish this with SUMPRODUCT and MATCH: use one formula to sum rows based on criteria while automatically excluding every name in a separate range.

  1. 1. Open your workbook in WPS Spreadsheets: Launch WPS Office and open the workbook that contains your data and exclusion list.
  2. 2. Select the result cell: Click the cell where the total should appear.
  3. 3. Enter the dynamic formula: Type the SUMPRODUCT formula with MATCH and ISNA, then adjust the sum range, criteria ranges, and exclusion list range to your sheet.
  4. 4. Apply and verify the result: Press Enter and spot-check a few included and excluded rows to confirm the formula is calculating correctly.
One dynamic formula excludes all names in a separate range without manual criteria chainingFull compatibility with Microsoft Excel .xlsx formulas and workbook structureFree spreadsheet editing with a familiar ribbon interfaceLightweight performance for large data ranges and complex array formulas
microsoft office alternative - wps office

Frequently Asked Questions

Why does SUMIFS not accept a range as multiple not-equal criteria?

SUMIFS treats each criterion argument as a single condition. A reference like "<>"&D2:D10 is not processed as multiple OR exclusions in one argument, so you need SUMPRODUCT with MATCH or several individual criteria.

Can I exclude blanks at the same time as multiple names?

Yes. In SUMPRODUCT, add another condition such as *($X$3:$X$14<>"") and make sure all array ranges have the same number of rows.

Which formula is more maintainable: SUMIFS with individual criteria or SUMPRODUCT with MATCH?

SUMPRODUCT with MATCH is more maintainable because the exclusion list can grow or change without editing the formula criteria one by one.

What should I do if the formula returns #N/A?

Check that all array ranges have the same number of rows, the MATCH lookup range is correct, and the compared values do not have incompatible data types.

Does this formula work in both WPS Spreadsheets and Microsoft Excel?

Yes. SUMPRODUCT, MATCH, and ISNA are supported in both applications, so the same formula works when you open or save as a .xlsx file.