Function Problems

Excel Formula to Return Numbers Missing from Another Column

Ayan MasoodAyan Masood Nov 3, 2026 869 views

Question details

The user needs an Excel formula to extract only numeric values from one column while excluding any values that already appear in a second reference column.

How to Use an Excel Formula to Return Numbers Missing from Another Column
Product
Excel
Device & OS
not provided
Scenario
Comparing two lists of data to filter and extract unique numeric values that exist in the primary column but are missing from the secondary column.
Observed behavior
The goal is to automatically output a new list containing only the missing numbers, ignoring text, blanks, and duplicates found in the second column.
Before you start

Verify that your data is organized into two distinct columns and take note of the exact cell ranges (e.g., Column A for source data and Column B for the reference list) before applying the formulas.

Solution 1Recommended

Use the FILTER Function (For Microsoft 365 and Newer Versions)

The most efficient way to extract missing numbers is by using the modern FILTER function combined with COUNTIF and ISNUMBER.

This dynamic array formula automatically spills the results down the column without needing to be manually dragged. It checks if the values are numeric and whether they appear in the reference column.

1
Select the target cell

Click on the cell where you want the extracted list of missing numbers to start (for example, cell D2).

2
Enter the FILTER formula

Type the following formula: =FILTER($A$2:$A$20,((COUNTIF($B$2:$B$20,$A$2:$A$20)=0)*ISNUMBER($A$2:$A$20)))

3
Apply the formula

Press Enter. The formula will automatically generate a dynamic list displaying the numeric values from column A that do not exist in column B.

Use the FILTER Function (For Microsoft 365 and Newer Versions)
Dynamic Arrays: Because FILTER is a dynamic array function, you do not need to copy and paste it into multiple rows. Make sure the cells below your target cell are empty to avoid a #SPILL! error.
Advanced Spreadsheet Features

Easily Filter Missing Numbers with WPS Spreadsheet

You can effortlessly compare columns and extract missing numeric data using WPS Spreadsheet. With built-in support for advanced dynamic array functions like FILTER, processing complex datasets takes only seconds.

  1. 1. Open your dataset: Launch WPS Spreadsheet and open the document containing your two columns of data.
  2. 2. Select the output cell: Click the cell where you want to output the missing numbers.
  3. 3. Apply the FILTER formula: Enter =FILTER(A$2:A$20,(COUNTIF(B$2:B$20,A$2:A$20)=0)*ISNUMBER(A$2:A$20)) and press Enter.
  4. 4. View extracted data: WPS Spreadsheet will instantly process the array and spill the missing numeric values down the column.
Fully compatible with Microsoft Excel formulas and file formats (.xlsx).Built-in support for dynamic array functions like FILTER, UNIQUE, and SORT.Lightweight architecture ensures fast calculations on large datasets.Completely free for everyday office tasks and data analysis.
microsoft office alternative - wps office

Frequently Asked Questions

Can I modify the formula to extract both text and numbers missing from another column?

Yes. If you want to extract all values (including text) from column A that are missing in column B, you can remove the ISNUMBER requirement. Use this simplified formula: =FILTER(A$2:A$20,COUNTIF(B$2:B$20,A$2:A$20)=0).

Why does my INDEX MATCH formula return blank cells?

The IFERROR wrapper at the beginning of the formula is designed to return a blank cell ("") once it runs out of valid missing numbers to extract. If the very first cell is blank, double-check your cell ranges and ensure the expanding reference (e.g., E$1:E1) correctly points to the row immediately above your starting formula.

What does the ISNUMBER function do in the FILTER formula?

The ISNUMBER function checks each cell in your specified range to verify if it contains a numeric value. It returns TRUE for numbers and FALSE for text or blank cells. Multiplying it with the COUNTIF logic ensures that only numerical data is considered for extraction.