Delete Multiple Blank Rows from a CSV File in Excel
Question details
Remove multiple empty rows from a large CSV file without selecting each row individually.

- 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.
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.
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.
Open the CSV file in Excel. On the Data tab, select Clear in the Sort & Filter group to remove active filters.
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.
On the Home tab, select Find & Select > Go To Special. Choose Blanks, then select OK.
On the Home tab, select the arrow next to Delete, then choose Delete Sheet Rows. Check that the remaining records are correct.
Select File > Save As and choose CSV as the file type. Use a new filename if you want to retain the original file.

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. Open the CSV: In WPS Spreadsheet, select Open and choose your CSV file.
- 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. Find the blanks: Open Find & Select on the Home tab, choose Go To Special, select Blanks, and confirm.
- 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.

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.




