Document Editing Problems

Safely Delete Blank Rows in Excel Without Removing Data

Steve KSteve K Nov 12, 2026 873 views

Question details

The user needs to remove blank worksheet rows in Excel while keeping data in partially populated records intact.

Safely Delete Blank Rows in Excel Without Removing Data
Product
Microsoft Excel
Device & OS
not provided
Scenario
Cleaning a worksheet that contains unwanted blank rows between records.
Observed behavior
Using Go To Special > Blanks and Ctrl+Minus may remove individual cells, columns, or rows depending on the selection and deletion command.
Before you start

Identify a key column that should contain a value for every valid record, such as an ID, name, or date column. Check that rows with missing values in that column are truly rows you want to remove before deleting them.

Solution 1Recommended

Filter a key column and delete only the visible blank rows

Use this as the safest method when a key column reliably identifies valid records and blank rows.

Filtering limits the deletion to rows that are blank in the selected key column. This helps prevent the removal of records that contain a blank cell elsewhere but still have important data.

1
Select the data range

Click any cell in the dataset, then select the full table range including the header row.

2
Turn on filtering

Go to Data > Filter to add filter arrows to the header row.

3
Show blank values in the key column

Open the filter arrow for the key column, clear Select All, select Blanks, and click OK.

4
Delete the visible worksheet rows

Select the visible row numbers for the filtered blank records, right-click the selection, and choose Delete > Delete Sheet Rows.

5
Clear the filter

Go to Data > Clear or open the key-column filter and choose Select All to display the remaining records.

Filter a key column and delete only the visible blank rows
Only filtered rows are removed: This method deletes rows that are blank in the chosen key column, rather than every row containing any blank cell.
Edit spreadsheets with WPS Office

Remove Blank Rows Safely with WPS Spreadsheets

WPS Spreadsheets lets you filter a key column, display only blank records, and delete the visible sheet rows. Its familiar spreadsheet interface makes it easy to clean data while preserving rows that contain valid information.

  1. 1. Open the worksheet in WPS Spreadsheets: Launch WPS Office, choose Spreadsheets, and open the Excel workbook containing the blank rows.
  2. 2. Enable filters for the data table: Click a cell in the table and select Data > Filter to add filter controls to the headers.
  3. 3. Filter the key column for blanks: Open the filter menu in the key column, select Blanks, and apply the filter.
  4. 4. Delete the displayed blank rows: Select the visible row headers, right-click, and choose Delete to remove the selected sheet rows.
  5. 5. Show all remaining records: Go to Data > Clear Filter or use the filter menu to select all values again.
Filter blank values in a key column before deleting worksheet rowsUse familiar spreadsheet commands for safer data cleanupOpen and edit Microsoft Excel .xlsx and .xls files with strong format compatibilityLightweight, free office suite for everyday spreadsheet editing
microsoft office alternative - wps office

Frequently Asked Questions

Why did Excel delete data when I used Go To Special > Blanks?

Go To Special selects every blank cell in the selected range, including blanks inside otherwise populated records. If you then choose Delete > Entire Row, Excel deletes each row containing one of those blank cells.

What is the safest way to delete fully blank rows in Excel?

Filter a key column that should be populated for every valid record. Select Blanks in that column's filter, select the visible row headers, choose Delete > Delete Sheet Rows, and then clear the filter.

Can I use Ctrl+Minus to remove blank rows in Excel?

You can, but verify the selected cells and the Delete dialog first. For blank-row cleanup, choose Entire Row only when you selected blank cells in a single key column and confirmed those rows are unwanted.

How do I remove blank rows without deleting rows that have some empty cells?

Do not use a whole-table Go To Special selection. Instead, filter one required field, such as an ID or name column, for blank values and delete only the filtered rows.

Does deleting filtered rows remove hidden rows too?

When you select only the visible filtered row headers and choose Delete Sheet Rows, Excel removes the visible rows that meet the filter condition. Clear the filter afterward to confirm the remaining records.