Data Import & Export

Delete Multiple Blank Rows from a CSV File in Excel

Algirdas JasaitisAlgirdas Jasaitis Nov 22, 2026 868 views

Question details

Remove multiple empty rows from a large CSV file without selecting each row individually.

Delete Multiple Blank Rows from a CSV File in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user is cleaning a CSV file that contains many empty rows.
Observed behavior
The user wants to select blank cells in a suitable column and delete their corresponding rows together.
Before you start

Clear any active filters and identify a column that contains a value in every record you want to keep. If a valid record can have a blank in that column, this method could delete it.

Solution 1Recommended

Select Blank Cells and Delete Their Entire Rows in Excel

Use Go To Special to select blank cells in a required column, then delete the corresponding rows in one action.

1
Clear filters

Open the CSV file in Excel. On the Data tab, select Clear in the Sort & Filter group to remove active filters.

2
Select a data range

Select the cells in a column that must be populated for every valid record. Limit the selection to the rows containing your data, and exclude the header.

3
Select blank cells

On the Home tab, select Find & Select > Go To Special. Choose Blanks, then select OK.

4
Delete the rows

On the Home tab, select the arrow next to Delete, then choose Delete Sheet Rows. Check that the remaining records are correct.

5
Save the CSV

Select File > Save As and choose CSV as the file type. Use a new filename if you want to retain the original file.

Select Blank Cells and Delete Their Entire Rows in Excel
Check the selected column: This method deletes every selected row whose cell in the chosen column is blank, even if that row contains data in other columns.
Clean up CSV files

Remove Blank CSV Rows with WPS Spreadsheet

Open your CSV in WPS Spreadsheet, select blank cells in a required column, and delete their rows together.

  1. 1. Open the CSV: In WPS Spreadsheet, select Open and choose your CSV file.
  2. 2. Prepare the selection: Clear active filters from the Data tab, then select the data cells in a column that is populated for every valid record. Exclude the header.
  3. 3. Find the blanks: Open Find & Select on the Home tab, choose Go To Special, select Blanks, and confirm.
  4. 4. Delete and save: Choose Delete Sheet Rows from the Home tab's Delete menu, review the remaining data, and use File > Save As to save as CSV.
Remove multiple blank rows without selecting each one individuallyOpen and edit CSV files and Microsoft Excel XLSX filesUse a familiar spreadsheet interface to review data before saving
microsoft office alternative - wps office

Frequently Asked Questions

Can I delete blank rows without selecting them one by one?

Yes. Select the data range in a column that every valid record must contain, then use Home > Find & Select > Go To Special > Blanks. Choose Home > Delete > Delete Sheet Rows.

Why should I clear filters before deleting rows?

Active filters can affect which rows are visible and which deletion options are available. Use Data > Clear before selecting blank cells so you can work with the full data range.

What if a populated row has a blank cell in the column I selected?

That row will also be selected for deletion. Choose a different column that is filled in for every valid record, or review the data before deleting.

How do I keep the cleaned file in CSV format?

After deleting the rows, choose File > Save As and select a CSV file type. Saving under a new name preserves the original file.