How to Keep Table Headings Visible When Filtering Dates in Excel
Question details
The user wants to prevent category or class heading rows from being hidden when filtering a table by assignment due dates.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Filtering a combined table of assignments by specific due dates while trying to maintain the visibility of intermediate category/class headings.
- Observed behavior
- Standard Excel filters hide all rows that do not match the selected date criteria, including the heading rows, causing users to lose the context of which class each assignment belongs to.
Ensure your data is organized in a continuous range without entirely blank rows, and check if your headings are stored in the same column you are filtering.
Manually Select Headings in the Filter Menu
The most direct way to keep headings visible is to manually check the heading values alongside your desired dates in the filter dropdown.
Because Excel applies filters strictly row-by-row based on the exact criteria you select, any row that does not contain the chosen date will be hidden. By explicitly telling Excel to also show the rows containing your text headings, you can bypass this limitation.
Click the drop-down filter arrow located in the header of your date column.
Uncheck the '(Select All)' box, then check the boxes next to the specific assignment due dates you want to view.
Scroll through the list in the filter menu (or use the search box) to find your class heading text values (e.g., 'Math', 'Science'). Check the boxes next to these headings as well.
Click 'OK' to apply the filter. Your table will now display the selected dates along with the class headings.

Restructure Data into Separate Tables
For a permanent and reliable layout, separate your data into individual tables or grouped sections for each class.
Filter and Organize Tables Easily with WPS Spreadsheet
WPS Spreadsheet provides intuitive filtering and layout tools to help you manage assignment dates and class categories without losing data context. It offers a familiar interface that makes sorting and filtering large datasets a breeze.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your assignment tracker workbook.
- 2. Enable the AutoFilter: Select your entire data range, navigate to the 'Data' tab on the ribbon, and click 'AutoFilter'.
- 3. Select your criteria: Click the filter drop-down on the Date column. Check the specific dates you need, and ensure you also check the text values representing your class headings.
- 4. Apply and review: Click 'OK'. WPS Spreadsheet will instantly display the filtered dates while preserving the visibility of your chosen heading rows.

Frequently Asked Questions
Why do my category headings disappear when I filter in Excel?
Excel's standard filter hides any rows that do not strictly match the selected criteria. If your heading rows do not contain the specific date you are filtering for, Excel treats them as irrelevant data and hides them automatically.
Can I freeze row headings in the middle of a table while filtering?
No, the Freeze Panes feature only works for the top rows or leftmost columns of the entire worksheet. It cannot be used to lock intermediate category headings placed in the middle of a filtered data set.
Is there a better way to group by class and filter by date?
Yes, using a Pivot Table is a highly effective alternative. You can place your 'Class' field in the Rows area and 'Date' in the Filters area. This keeps the hierarchical structure perfectly intact while allowing you to filter dates seamlessly.




