How to Filter Excel Rows and Ignore Blank Records Using Functions
Question details
The user needs to copy or extract only rows with data or positive values to another worksheet while completely ignoring blank or empty records.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Transferring filtered dataset results to a different worksheet without carrying over empty rows.
- Observed behavior
- Instead of using traditional formulas that leave empty rows behind, the user wants to generate a clean, dynamic array of only the matching records.
Ensure that your spreadsheet software supports Dynamic Array formulas, as the FILTER function requires this capability to spill results. Identify the exact cell ranges of your source data before entering the formula.
Use the FILTER Function to Extract Non-Blank Rows
The FILTER function dynamically evaluates your criteria and extracts matching rows, spilling the results cleanly into a new range without leaving blank rows behind.
Using the FILTER function is the most efficient method to ignore blanks or filter based on specific numerical conditions (such as units greater than zero). It eliminates the need for complex INDEX/MATCH formulas and automatically adjusts as your data changes.
Navigate to the new worksheet and click on the top-left cell where you want the filtered data to begin.
Type the FILTER formula using your specific source range and conditions. For example, to filter data in A2:D1000 where column C has values greater than 0, enter: =FILTER(A2:D1000,C2:C1000>0,"No matching rows").
Press Enter. The results will automatically spill down and across the necessary columns, displaying only the rows that meet your condition and entirely skipping blank records.

Filter Data Easily with WPS Spreadsheet
WPS Spreadsheet fully supports advanced dynamic array functions like FILTER, making it incredibly simple to extract non-blank records and manage complex datasets without leaving empty rows behind.
- 1. Open Your Workbook: Launch WPS Office and open your existing spreadsheet file containing the source data.
- 2. Select Target Cell: Click the cell in a clean worksheet where the filtered data should start.
- 3. Input the Formula: Type your filtering criteria, such as =FILTER(A2:D1000, C2:C1000>0, "No matching rows"), and press Enter.
- 4. Review the Filtered Data: Watch the data dynamically spill into the surrounding cells, successfully ignoring any blank rows from your original dataset.

Frequently Asked Questions
Why am I getting a #SPILL! error when using the FILTER function?
A #SPILL! error occurs when the formula does not have enough empty adjacent cells to display the full list of filtered results. To resolve this, clear any text, spaces, or formatting in the cells below and to the right of your formula to allow the array to expand.
How do I filter out completely blank rows in a specific column?
You can use the 'not equal to' operator (<>) combined with empty double quotes (""). For example, using the formula =FILTER(A2:D1000, A2:A1000<>"") will extract all rows where column A is not blank.
Can I use multiple criteria to filter out blanks and specific values at the same time?
Yes, you can multiply conditions using an asterisk (*). For instance, the formula =FILTER(A2:D1000, (C2:C1000>0)*(A2:A1000<>"")) checks for both positive units in column C and non-blank entries in column A.




