Excel Formula to List Non-Blank Values in Their Original Order
Question details
The user needs an Excel formula to extract and list visible non-blank text values from a column that contains formulas, while maintaining their sequential order.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Extracting data into a new column from a source column where some cells appear blank because their IF formulas return empty strings.
- Observed behavior
- The user wants to pull only the visible text results into a new column, avoiding the blank cells, and keeping the original order. Dynamic array functions are preferred for automation.
Verify that your version of Excel supports dynamic array functions (Microsoft 365, Excel 2021, or WPS Office), and ensure your source formulas correctly return empty strings ("") rather than spaces or commas.
Use the FILTER Function to Extract Non-Blank Values
The most efficient way to list non-blank values in their original order using modern dynamic array formulas.
The FILTER function is designed to extract a set of data based on criteria you define. It automatically 'spills' the results into adjacent cells, making it perfect for ignoring empty strings generated by other formulas.
Click on the cell where you want the first non-blank value to appear (e.g., cell B1).
Type the formula =FILTER(A1:A1000, A1:A1000<>"") into the formula bar.
Press Enter. The formula will automatically spill all non-blank results down the column in their original order.

Extract Non-Blank Values Using INDEX and AGGREGATE
A reliable workaround for older versions of Excel that do not support the FILTER dynamic array function.
Use Dynamic Arrays Like FILTER for Free in WPS Office
WPS Spreadsheet fully supports modern dynamic array functions, including FILTER, SORT, and UNIQUE. You can effortlessly manage complex data extraction and automate your workflows without needing a premium subscription.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your data.
- 2. Select the target cell: Click the first cell in the new column where you want the non-blank values to appear.
- 3. Input the FILTER formula: Type =FILTER(A1:A1000, A1:A1000<>"") and press Enter.
- 4. View the spilled results: The non-blank values will automatically spill into the cells below, perfectly preserving their original order.

Frequently Asked Questions
Why is the FILTER function returning empty cells as non-blanks?
This usually happens if your source formula returns a space (" ") or another invisible character (like a comma) instead of a true empty string (""). Check your source IF formula to ensure it outputs "" for false conditions.
Does the FILTER function automatically update when source data changes?
Yes, FILTER is a dynamic array function. If the values in the source column change, or if source formulas update to return text instead of empty strings, the filtered list will automatically recalculate and spill accordingly.
What should I do if my Excel version returns a #NAME? error for FILTER?
The #NAME? error indicates your version of Excel does not support dynamic arrays (e.g., Excel 2019 or older). You will need to use the INDEX and AGGREGATE alternative formula, or upgrade to a modern suite like Microsoft 365 or WPS Office.




