Compare Two Unsorted Excel Columns and Return Missing Values
Question details
Compare two unsorted columns and return values from the second list that are missing from the first as a compact list, without a helper column.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The first list is in B3:B15 and the second is in D3:D15; the user wants to extract unmatched values from the second list.
- Observed behavior
- The desired result is a consecutive list of values found in column D but not in column B.
Check the ranges containing both lists and choose an empty output cell with enough clear cells below it for the results. The formula below requires an Excel version that supports LET, FILTER, and SORT, such as Microsoft 365 or Excel 2021.
Use FILTER and MATCH to return missing values
Use one dynamic-array formula to compare the lists and return sorted results without a helper column.
Click F3 or another empty cell outside the two source ranges.
Enter =LET(b,B3:B15,d,D3:D15,SORT(FILTER(d,(d<>"")*ISNA(MATCH(d,b,0)),""))) and press Enter. Replace the ranges if your lists are elsewhere.
Check the values spilled below F3. They are the nonblank values in D3:D15 that do not appear in B3:B15.

Find missing column values in WPS Spreadsheets
In a WPS Spreadsheets version that supports dynamic-array formulas, use FILTER and MATCH to extract values from one list that are absent from another.
- 1. Open the workbook: Open WPS Spreadsheets and use File > Open to select your workbook.
- 2. Check the lists: Locate the first list in B3:B15 and the second list in D3:D15, or note your own source ranges.
- 3. Enter the formula: Click an empty cell such as F3 and enter =FILTER(D3:D15,(D3:D15<>"")*ISNA(MATCH(D3:D15,B3:B15,0)),""). Press Enter.
- 4. Check the output: Review the values below F3. If the formula is not recognized, check whether your WPS Spreadsheets version supports FILTER and dynamic arrays.

Frequently Asked Questions
Do the two columns need to be sorted first?
No. MATCH uses 0 as its match type, so the formula can compare the lists without sorting them first.
How can I keep the missing values in their original order?
Remove SORT and enter =LET(b,B3:B15,d,D3:D15,FILTER(d,(d<>"")*ISNA(MATCH(d,b,0)),"")) in the output cell. The results follow their order in column D.
What happens if no values are missing?
The FILTER formula uses an empty string as its third argument, so the output cell appears blank when no nonblank values qualify.
Why does Excel show a spill error?
Clear any occupied cells in the output range below the formula cell. Dynamic-array results need an unobstructed range in which to spill.




