How to Fix Excel FILTER Results That Ignore Number Formatting
Question details
The user is unable to format the output of an Excel FILTER function as numbers or dates because the source data is being interpreted as text.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Applying number or date formats to the spilled array results of a FILTER function.
- Observed behavior
- The FILTER function results appear as text and completely ignore any number or date formatting applied to the spilled cells.
Locate the original source table that feeds your FILTER formula, as the formatting issue stems from the source data type and must be corrected there.
Convert Source Text to Numbers Using NUMBERVALUE
Check if your source data is stored as text and wrap the source formulas with the NUMBERVALUE function to output true numbers that the FILTER function can format.
Excel's FILTER function simply mirrors the data type of the source table. If the source data contains numbers or dates stored as text (often caused by text-extracting formulas like LEFT, RIGHT, or MID), the FILTER output will also be text and will ignore standard number formatting.
Select an empty cell next to your source data and type =ISNUMBER(B2) (replacing B2 with a cell from your source table). If it returns FALSE, the number is stored as text.
Navigate to the column in your source table that contains the formula generating the text-based numbers or dates.
Modify the formula by wrapping it in the NUMBERVALUE function, formatting it as =NUMBERVALUE(your_original_formula).
Press Enter and drag the fill handle to apply the updated formula down the entire column. Your spilled FILTER results will automatically update to numeric values that accept formatting.

Force Number Conversion via Arithmetic Operations
If you prefer a quicker method without adding new functions, you can force text-to-number conversion by adding zero or multiplying the source formula by one.
Effortlessly Manage Array Formulas with WPS Office
WPS Spreadsheet fully supports advanced dynamic array functions like FILTER, ISNUMBER, and NUMBERVALUE, ensuring your data formatting remains accurate, compatible, and easy to manage.
- 1. Open your workbook in WPS Spreadsheet: Launch WPS Office and open the file containing your problematic FILTER function.
- 2. Test the source data: Go to the source table and use the =ISNUMBER() function to identify any text-stored numbers.
- 3. Correct the data type: Wrap your source formulas with =NUMBERVALUE() to correct the data type from text to numbers.
- 4. Format the array results: Highlight your FILTER results and use the 'Home' tab to apply your desired Number or Date format seamlessly.

Frequently Asked Questions
Why does the FILTER function ignore my date formatting?
Dates stored as text in the source table will remain text in the FILTER output. Excel requires dates to be valid serial numbers to format them properly. Ensure the source dates are recognized as numbers by using the VALUE or NUMBERVALUE function.
Can I format just one column of a multi-column FILTER result?
Yes, you can select specific columns within the spill range and apply unique formatting (like Currency or Percentage) from the Home tab, provided the underlying source data for that specific column is numeric.
What does the #SPILL! error mean when using FILTER?
A #SPILL! error occurs when the output range for the FILTER function is blocked by existing text or data. Clear the cells below and to the right of your formula to allow the results to populate.
Is there a way to fix the format inside the FILTER formula itself?
Yes, you can wrap the entire FILTER function or specific arrays in a mathematical operation (like =FILTER(range, criteria)*1) to force number conversion, though fixing the source data is generally recommended to prevent downstream errors.




