Function Problems

Excel Formula to List Non-Blank Values in Their Original Order

Steven ParkerSteven Parker Nov 3, 2026 868 views

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.

How to List Non-Blank Values in Their Original Order in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the destination cell

Click on the cell where you want the first non-blank value to appear (e.g., cell B1).

2
Enter the FILTER formula

Type the formula =FILTER(A1:A1000, A1:A1000<>"") into the formula bar.

3
Apply the formula

Press Enter. The formula will automatically spill all non-blank results down the column in their original order.

Use the FILTER Function to Extract Non-Blank Values
Check Your Source Formulas: If the FILTER function still returns seemingly empty cells, double-check your source IF formulas. Make sure they return exactly "" (no spaces between the quotes) and not a typo like a comma.
Extract Data Easily with WPS Spreadsheet

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. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your data.
  2. 2. Select the target cell: Click the first cell in the new column where you want the non-blank values to appear.
  3. 3. Input the FILTER formula: Type =FILTER(A1:A1000, A1:A1000<>"") and press Enter.
  4. 4. View the spilled results: The non-blank values will automatically spill into the cells below, perfectly preserving their original order.
Fully compatible with Microsoft Excel formulas and functionsSupports modern dynamic array functions like FILTER seamlesslyLightweight, fast, and completely free to use for everyday data analysis
QA img-9

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.