How to Remove Blank Cells When Moving Excel Data to Another Column
Question details
The user needs to transfer a list of names generated by a conditional formula to another worksheet without copying over the resulting blank cells.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Extracting and moving a list of names from a scheduling workbook to a new sheet.
- Observed behavior
- Conditional formulas leave blank cells between results, which are then carried over when moving the data to the destination sheet.
Check your Excel or WPS Spreadsheet version to ensure compatibility with dynamic array functions like FILTER, which provide the most efficient way to remove blank cells dynamically.
Use the FILTER Function (Dynamic Array)
The FILTER function is the easiest way to extract data while ignoring empty cells in newer versions of Excel and WPS Office.
If you are using a modern spreadsheet version that supports dynamic arrays, the FILTER function can instantly reproduce your list without any empty strings or blank cells.
Click on the first cell in the new column or sheet where you want your consolidated list to begin.
Type the formula =FILTER(A2:A100, A2:A100<>"") into the formula bar. Be sure to replace A2:A100 with the actual range of your source data.
Press Enter. The function will dynamically spill the non-blank results down the column, creating a continuous list of names.

Use INDEX and AGGREGATE Formulas (Older Versions)
If you are using an older version of Excel that does not support the FILTER function, you can use a combination of INDEX and AGGREGATE.
Use Go To Special for a One-Time Move
If you don't need the list to update dynamically, you can copy the data as values and manually strip out the blanks using the Go To Special feature.
Easily Remove Blank Cells and Filter Data in WPS Spreadsheet
WPS Spreadsheet fully supports dynamic array functions like FILTER, allowing you to instantly extract data and remove empty cells without complex workarounds.
- 1. Open Your Workbook: Launch WPS Spreadsheet and open your scheduling workbook containing the fragmented data.
- 2. Select the Target Cell: Click on the destination cell in your new sheet where the continuous data should appear.
- 3. Apply the FILTER Function: Type =FILTER(SourceRange, SourceRange<>"") and hit Enter to instantly remove blanks and extract your data.

Frequently Asked Questions
Why do formulas return blank cells instead of nothing?
Conditional formulas, such as IF statements, often use an empty string ("") as the FALSE output. While these cells look visually blank, the spreadsheet software treats them as text values, which creates gaps when attempting to transfer or stack the data.
Does the FILTER function work across different sheets?
Yes. You can reference another sheet directly inside the FILTER function. For example, typing =FILTER(Sheet1!A2:A50, Sheet1!A2:A50<>"") will successfully pull non-blank data from Sheet1 into your current destination sheet.
How can I remove blank rows from an entire dataset at once?
You can highlight your entire dataset, go to the Data tab, and click Filter. Click the filter dropdown arrow on the specific column containing blanks, uncheck the 'Blanks' option, and then copy and paste the visible filtered results to a new location.




