Why Excel FILTER Function Does Not Unhide Rows & How to Fix It
Question details
The user wants to know why the FILTER function does not automatically unhide hidden rows in the source worksheet after returning the filtered results.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Using the dynamic FILTER function to extract specific records from a dataset containing hidden rows.
- Observed behavior
- The FILTER function successfully extracts the matching records into a new dynamic array, but the manually hidden rows in the original source data remain hidden.
Before troubleshooting, remember that dynamic array functions like FILTER are strictly read-only tools designed to extract data; they cannot modify the formatting, layout, or visibility of your original source cells.
Manually Unhide Rows or Clear Filters
Since the FILTER function only reads data, you must manually unhide rows or clear existing AutoFilters to restore the visibility of your original dataset.
The FILTER function creates a separate, dynamic array of matching records based on your criteria. It is completely independent of the source data's formatting.
To display your hidden data again, you need to adjust the visibility settings directly on the source worksheet.
Select the row numbers immediately above and below the hidden area. Right-click the selected row headers and choose "Unhide" from the context menu.
Alternatively, select the surrounding rows, navigate to the "Home" tab, click "Format" in the Cells group, hover over "Hide & Unhide", and select "Unhide Rows".
If the rows are hidden because an AutoFilter is actively applied to the table, navigate to the "Data" tab and click "Clear" in the Sort & Filter group to display all rows.
Efficient Data Management with WPS Spreadsheet
WPS Office provides robust dynamic array functions like FILTER alongside intuitive layout controls, making it easy to extract datasets without losing track of your original formatting.
- 1. Open your data file: Launch WPS Spreadsheet and open your dataset containing hidden rows.
- 2. Apply the FILTER function: In an empty cell, type '=FILTER(' followed by your array and criteria to extract matching records into a new range.
- 3. Select adjacent rows: To restore visibility in your source data, click and drag over the row numbers above and below the hidden section.
- 4. Unhide rows: Right-click the selected row headers and click 'Unhide', or use the 'Clear' button under the Data tab if an AutoFilter is applied.

Frequently Asked Questions
Can I make the FILTER function unhide rows automatically?
No, the FILTER function is a read-only formula that merely generates an array of results. It does not have the capability or permissions to modify cell properties or alter row visibility in the original source data.
Does the FILTER function include hidden rows in its results?
Yes. By default, the FILTER function evaluates all data within your specified array range, including manually hidden rows. If a hidden row meets your formula's criteria, it will appear in the output array.
How can I exclude hidden rows from my FILTER function results?
To exclude hidden rows, you need to combine the FILTER function with a helper column that uses the SUBTOTAL function. SUBTOTAL can identify which rows are visible, and you can add this as a condition in your FILTER criteria.




