Function Problems

Create a Unique Filtered List with Multiple Criteria in WPS Spreadsheets

Amos GikundaAmos Gikunda Nov 12, 2026 868 views

Question details

Create a distinct list of values from another worksheet by matching a source criteria column against multiple criteria cells.

Create a Unique Filtered List with Multiple Criteria in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The user needs to consolidate values from the Load Tracker worksheet when values in column D match any criterion listed in K1:K4, then remove duplicates from the returned values.
Observed behavior
The desired result is a dynamic unique list containing only matching values from Load Tracker column M.
Before you start

Confirm that the criteria are entered in K1:K4 and that the source ranges on the Load Tracker sheet begin and end on matching rows. Make sure the output cells below the formula are empty so the dynamic-array results can spill.

Solution 1Recommended

Use FILTER, XMATCH, and UNIQUE to return matching distinct values

Use this formula when you want a dynamic list of unique values from Load Tracker column M for any matching criterion in K1:K4.

XMATCH checks whether each value in Load Tracker column D appears in the criteria list. FILTER returns the corresponding values from column M, and UNIQUE removes repeated results.

1
Select the first output cell

Click the cell where the unique filtered list should begin, such as L1 or another blank cell outside the source data.

2
Enter the combined formula

Type or paste =LET(filtered,FILTER('Load Tracker'!$M$2:$M$5000,ISNUMBER(XMATCH('Load Tracker'!$D$2:$D$5000,$K$1:$K$4))),UNIQUE(filtered)) and press Enter.

3
Review the spilled list

WPS Spreadsheets returns the matching values from Load Tracker column M as a unique list. Edit the values in K1:K4 to refresh the result automatically.

Use FILTER, XMATCH, and UNIQUE to return matching distinct values
Formula result: A value is included when its corresponding value in Load Tracker column D matches at least one nonblank criterion in K1:K4.
WPS Spreadsheets solution

Build Dynamic Multi-Criteria Unique Lists in WPS Spreadsheets

WPS Spreadsheets lets you combine dynamic-array functions such as FILTER, XMATCH, UNIQUE, and LET to create a clean list of distinct matching values across worksheets. Enter the formula once and update the criteria cells whenever you need a new result.

  1. 1. Open the workbook in WPS Spreadsheets: Open your .xlsx file in WPS Office and select the worksheet where the result list should appear.
  2. 2. Enter the criteria: Place the values to match in cells K1:K4, using one criterion per cell.
  3. 3. Choose an output cell: Click an empty cell with enough blank cells below it for the spilled unique list.
  4. 4. Enter the dynamic-array formula: Enter =LET(filtered,FILTER('Load Tracker'!$M$2:$M$5000,ISNUMBER(XMATCH('Load Tracker'!$D$2:$D$5000,$K$1:$K$4))),UNIQUE(filtered)) and press Enter.
Filter records against multiple criteria without helper columns.Remove duplicate matching values automatically with UNIQUE.Works with Microsoft Excel .xlsx workbook formats.Use a familiar spreadsheet interface for formulas, ranges, and cross-sheet references.
microsoft office alternative - wps office

Frequently Asked Questions

What does XMATCH do in this multi-criteria formula?

XMATCH searches each value in 'Load Tracker'!D2:D5000 within K1:K4. ISNUMBER converts successful matches into TRUE values that FILTER can use as its include argument.

Why does the formula return duplicate values?

Use UNIQUE around the FILTER result: UNIQUE(filtered). If duplicates remain, check for differences such as leading or trailing spaces in the values from Load Tracker column M.

How can I include more than four criteria?

Expand the criteria reference in the XMATCH argument. For example, replace $K$1:$K$4 with $K$1:$K$20 after entering additional criteria in that range.

Why do I see a spill error after entering the formula?

The formula returns multiple results and needs blank cells below its starting cell. Clear or move any content blocking the spill range, then recalculate the formula.