How to Keep Dates Correctly Formatted in Excel FILTER Spill Results
Question details
The user wants to prevent Excel's dynamic FILTER function results from displaying unformatted date serial numbers (like 45388) instead of standard readable dates.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Using the dynamic-array FILTER function in a spreadsheet to extract data that includes dates.
- Observed behavior
- The FILTER function spills results where valid dates appear as underlying 5-digit serial numbers rather than human-readable date formats, while text strings remain unaffected.
Identify which specific cells in your FILTER spill range are supposed to contain dates before applying formatting changes, ensuring you do not accidentally convert standard numbers into dates.
Apply Date Formatting Directly to the Spilled Range
Format the specific cells containing the spilled array results to display standard dates instead of raw serial numbers.
Excel stores valid dates as sequential serial numbers (e.g., 45388) so they can be used in mathematical calculations. When the FILTER function returns a dynamic array, it often outputs these underlying numeric values rather than carrying over the original visual formatting.
Data that Excel already recognizes as text will remain text, while valid date serial numbers simply need explicit formatting applied in the destination cells to appear normally.
Highlight the specific cells in the spilled array that contain the raw date serial numbers you wish to format.
Right-click the selected range and choose 'Format Cells' from the context menu, or simply press the Ctrl+1 keyboard shortcut.
Navigate to the 'Number' tab in the dialog box and select 'Date' from the Category list on the left side.
Choose your preferred date format (such as m/d/yy or d-mmm-yy) from the Type list and click 'OK' to apply the changes.

Wrap the Output in a TEXT Function
Force the format directly within the formula if you are only filtering date values and do not need to perform further calculations on them.
Fix Filtered Date Formats Seamlessly in WPS Office
WPS Spreadsheet offers comprehensive support for dynamic arrays and advanced functions like FILTER. You can effortlessly manage complex data extraction and format spilled date results with its highly intuitive interface.
- 1. Open your workbook in WPS Spreadsheet: Launch WPS Office and open the document containing your FILTER function and spilled data.
- 2. Select the date serials: Highlight the cells in the spilled array that are displaying the numeric date serials.
- 3. Apply a Number Format: Navigate to the Home tab, click the Number Format dropdown menu, and select 'Short Date' or 'Long Date' to instantly fix the display.

Frequently Asked Questions
Why does Excel show numbers like 45388 instead of dates?
Excel stores dates as sequential serial numbers so they can be easily used in calculations. By default, dynamic arrays like the FILTER function might output this raw underlying number. Applying a Date format changes the display back to a human-readable date.
Will changing the format alter my original data values?
No. Formatting only changes how the data is displayed on the screen. The underlying serial number remains exactly the same, ensuring your formulas and date calculations will still work perfectly.
Why did some dates stay as text in the spill results?
If a value was originally entered or stored as text (for example, '05200: 009.36'), Excel does not recognize it as a valid date serial number. The FILTER function simply returns it exactly as the original text string.
Can I format the entire column to fix this issue quickly?
It is generally not recommended to format the entire column if your spill array or column contains mixed data types (like text, regular numbers, and dates). Doing so might accidentally format your regular numbers as arbitrary dates.




