Fix Excel Filtering When Rows Are Not Recognized in an XLS File
Question details
The user needs to make an Excel filter recognize every populated row in an XLS workbook.
- Product
- Microsoft Excel XLS workbook and WPS Spreadsheets
- Device & OS
- not provided
- Scenario
- A macro-enabled workbook has been saved in the older XLS format, and the user wants to filter the complete dataset.
- Observed behavior
- The filter omits some rows, particularly when the data range includes blank rows, inconsistent formatting, or incomplete range selection.
Open the XLS workbook in WPS Spreadsheets and identify the header row and the last populated row. Check the dataset for blank rows, blank columns, duplicate headers, and formatting changes before applying the filter.
Select and clean the complete data range before filtering
Use this approach when the filter misses rows because the range is incomplete or the dataset contains blank breaks and inconsistent headers.
Filters generally operate only within the selected contiguous range. Including the header row and all populated rows helps ensure that every record is available to the filter.
In WPS Spreadsheets, drag from the first header cell to the last populated cell, including every column and row that belongs to the dataset.
Use the row and column headers to delete blank rows or columns inside the dataset, or move those blank lines outside the filtering range.
Review the first row and make sure each column has a unique, nonblank header.
With the complete range still selected, open the Data tab and choose Filter, then open a column filter to confirm that all expected records are listed.
Save the workbook in a newer spreadsheet format
Use this option when the complete range is selected but the older XLS format still causes filtering limitations or inconsistent results.
Use WPS Spreadsheets to filter every row in an XLS workbook
WPS Spreadsheets can open XLS files, let you select and clean the full data range, and apply filters from the Data tab. Saving a compatible copy as XLSX or XLSM can help avoid limitations associated with the older XLS format.
- 1. Open the XLS workbook: Launch WPS Office, choose Spreadsheets, select Open, and load the XLS file.
- 2. Select the complete range: Highlight the header row and all populated columns and rows in the worksheet.
- 3. Apply the filter: Open the Data tab and click Filter while the complete range is selected.
- 4. Convert the file if needed: Choose Menu or File > Save As and save a copy as XLSX or XLSM, depending on whether the workbook contains macros.

Frequently Asked Questions
Why does an XLS filter leave out some rows?
The filter may be applied to only part of the dataset, or blank rows, blank columns, inconsistent formatting, and duplicate or empty headers may break the recognized range. Select the complete contiguous range and clean these breaks before choosing Data > Filter.
Should the header row be included when applying the filter?
Yes. Select the complete range beginning with the header row and ending with the last populated row. Each column should have one unique, nonblank header.
Can saving an XLS file as XLSX fix missing filtered rows?
It can help when the older XLS format causes range or feature limitations. Use File or Menu > Save As, choose XLSX, reopen the new file, and apply the filter to the complete data range again.
Which format should I use if the workbook contains macros?
Use XLSM when you need to retain VBA macros. In WPS Spreadsheets, choose File or Menu > Save As and select Excel Macro-Enabled Workbook (*.xlsm), then test the macros and filters after saving.




