Function Problems

Delete Excel Rows Using a List on Another Sheet

Nimra MalikNimra Malik Dec 2, 2026 868 views

Question details

Identify and remove monthly records that match numbers listed on another worksheet.

Delete Excel Rows Using a List on Another Sheet
Product
Microsoft Excel
Device & OS
not provided
Scenario
A removal list is on Sheet A, and the monthly records are on Sheet B.
Observed behavior
Searching for each number individually with Find and Replace is too slow.
Before you start

Check which column contains the monthly values and confirm that the removal list and monthly values use the same data type, such as numbers rather than numbers stored as text. Make sure Sheet B has a header row and an empty helper column.

Solution 1Recommended

Use MATCH and a filter to delete matching records

Use a helper column to identify all monthly values found on the removal list, then delete the matching rows.

1
Enter a match formula

On Sheet B, enter a header such as Remove in E1. In E2, enter =ISNUMBER(MATCH(D2,'Sheet A'!$A$2:$A$1000,0)). Replace the sheet name and ranges with those in your workbook.

2
Fill down the formula

Select E2 and drag its fill handle down to the last monthly record. TRUE marks a value found in the removal list.

3
Filter for matches

Select the header row or the data range on Sheet B, choose Data > Filter, and use the filter arrow in the Remove column to show only TRUE.

4
Delete the matching rows

Review the visible records, select their row numbers, and right-click a selected row number and choose Delete. Deleting rows removes the entire records, not just the values in column D.

5
Clear the filter

Use the Remove column's filter arrow to clear the filter, then delete the helper column if you no longer need it.

Use MATCH and a filter to delete matching records
Check the deletion scope: If you need to clear only the matching cells rather than remove entire records, select the filtered cells in column D and press Delete. Do not shift cells, because that can misalign the records.
Work with spreadsheets in WPS Office

Find and remove matching rows in WPS Spreadsheet

Use a MATCH formula and a filter in WPS Spreadsheet to identify monthly records listed on another sheet and remove them together.

  1. 1. Open the workbook: Open your Excel workbook in WPS Spreadsheet and check the removal list on Sheet A and the monthly values on Sheet B.
  2. 2. Add the formula: On Sheet B, enter Remove in E1 and enter =ISNUMBER(MATCH(D2,'Sheet A'!$A$2:$A$1000,0)) in E2. Adjust the sheet name and ranges, then drag the fill handle down.
  3. 3. Filter the matches: Select the data range, choose Data > Filter, and use the Remove column's filter arrow to display TRUE values.
  4. 4. Delete and clear the filter: Review the visible matches, select their row numbers, and right-click to delete the rows. Clear the filter and remove the helper column if it is no longer needed.
Identify matching records with a familiar spreadsheet formulaFilter and review matches before deleting rowsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for free
microsoft office alternative - wps office

Frequently Asked Questions

Will this method remove every occurrence of a listed number?

Yes. Each monthly row is checked separately, so every matching occurrence is marked TRUE and can be deleted when you filter the helper column.

Why is a number on the removal list not marked TRUE?

Check that the formula references the correct sheet and range. Also check whether one value is stored as text and the other as a number; convert them to the same data type and recalculate.

Can I clear matching values without deleting the entire row?

Yes. After filtering for TRUE, select the visible matching cells in the monthly-value column and press Delete. This clears their contents without shifting the other cells.

What if my removal list has more than 999 entries?

Extend the range in the MATCH formula to cover the full list. For example, change 'Sheet A'!$A$2:$A$1000 to 'Sheet A'!$A$2:$A$5000, then fill the updated formula down.