How to Remove Greyed-Out Date Entries from Excel Slicers
Question details
The user needs to remove disabled or greyed-out date options (such as <1/1/2021 or >12/22/2021) from an Excel slicer linked to a PivotTable.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Filtering PivotTable data using a date slicer where grouped dates or invalid source data cause unexpected greyed-out boundary items.
- Observed behavior
- Date slicers display unselectable, greyed-out entries representing dates outside the expected range, typically caused by blanks, invalid dates, or grouped date settings in the source data.
Before modifying your slicer settings, ensure your source data does not contain hidden rows or blank cells at the bottom of your dataset, as these are common culprits for out-of-range date groups.
Clean Source Data and Adjust PivotTable Range
Fixing blank, invalid, or out-of-range values in your source data is the most reliable way to remove greyed-out slicer items natively.
When Excel creates grouped dates for PivotTables, it assesses the entire source range. If there are blank cells included in the range, Excel interprets them as January 0, 1900. This triggers the slicer to create an out-of-range category for dates earlier than your actual data.
Go to your source data sheet and apply a filter to the Date column. Look for and uncheck any 'Blanks' or dates outside your expected analytical range.
Fill in missing dates with valid entries, or delete the rows containing empty/invalid data that you do not wish to include in your PivotTable.
Click anywhere inside your PivotTable. Go to the 'PivotTable Analyze' tab and click 'Change Data Source'. Ensure the highlighted range exactly matches your valid data and does not include empty rows at the bottom.
Right-click anywhere in the PivotTable and select 'Refresh'. Check your date slicer to confirm the greyed-out entries have been removed.

Hide Items with No Data in Slicer Settings
If the greyed-out dates are grouped artifacts or deleted data still showing up, you can configure the slicer to visually hide empty items.
Create and Manage Slicers Seamlessly in WPS Spreadsheet
WPS Spreadsheet offers powerful PivotTable and slicer features that make sorting and filtering large datasets a breeze. You can easily group dates, manage slicer settings, and remove unwanted blank entries with a highly intuitive interface.
- 1. Open your Workbook: Launch WPS Spreadsheet and open your existing .xlsx file containing the PivotTable.
- 2. Insert or Select Slicer: Click on your PivotTable, navigate to the 'Analyze' tab, and click 'Insert Slicer' to filter your dates.
- 3. Adjust Slicer Settings: Right-click the slicer, choose 'Slicer Settings', and check 'Hide items with no data' to instantly remove greyed-out date ranges.

Frequently Asked Questions
Why does my Excel slicer automatically show dates like <1/1/2021?
When you group dates in a PivotTable (e.g., by months or years), Excel automatically creates catch-all boundary categories for dates before your earliest entry and after your latest entry. If your source range includes blank cells, Excel interprets them as zero (January 0, 1900), artificially triggering the '<1/1/2021' group.
How do I stop deleted data from showing up in my slicer?
Even after deleting source data, PivotTables retain a memory cache of old items. To clear this cache, right-click the PivotTable, select 'PivotTable Options', go to the 'Data' tab, and change 'Number of items to retain per field' from 'Automatic' to 'None'. Finally, refresh the PivotTable.
Does hiding items with no data affect my actual dataset or calculations?
No. Checking 'Hide items with no data' in the Slicer Settings only alters the visual display of the slicer itself. It prevents empty or out-of-range categories from cluttering your dashboard, but it does not alter your underlying dataset, delete rows, or change PivotTable calculations.




