Formatting Issues

How to Keep Dates Correctly Formatted in Excel FILTER Spill Results

Chanuka GeekiyanageChanuka Geekiyanage Nov 10, 2026 869 views

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.

How to Keep Dates Correctly Formatted in Excel FILTER Spill Results
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the spilled date cells

Highlight the specific cells in the spilled array that contain the raw date serial numbers you wish to format.

2
Open the Format Cells dialog

Right-click the selected range and choose 'Format Cells' from the context menu, or simply press the Ctrl+1 keyboard shortcut.

3
Choose the Date category

Navigate to the 'Number' tab in the dialog box and select 'Date' from the Category list on the left side.

4
Apply the desired format

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.

Apply Date Formatting Directly to the Spilled Range
Formatting Mixed Data: Avoid formatting the entire column if it contains mixed data types, as this might inadvertently change standard integers into unwanted date formats.
Manage Dynamic Arrays Easily

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. 1. Open your workbook in WPS Spreadsheet: Launch WPS Office and open the document containing your FILTER function and spilled data.
  2. 2. Select the date serials: Highlight the cells in the spilled array that are displaying the numeric date serials.
  3. 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.
Fully compatible with Microsoft Excel formulas and date serial formatsNative support for dynamic arrays and the FILTER function out of the boxIntuitive 'Format Cells' dialog for rapid and precise data presentationFree and lightweight alternative for everyday spreadsheet tasks
microsoft office alternative - wps office

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.