The fastest way to remove blank rows from Excel
The quickest method is to use Excel's Go To Special feature to select all blank cells at once, then delete the rows they occupy. This works in both Windows and Mac versions and takes about two minutes for a sheet with hundreds of blank rows.
If your spreadsheet has data in multiple columns, this approach is faster than deleting rows one at a time. The alternative — sorting or filtering — works well if you need to keep the data in a specific order or if you want to review what you're removing before committing to it.
Key Takeaways
- Select your data range, then use Go To Special (Ctrl+H on Windows, Cmd+H on Mac) to find and select all blank cells in one step.
- After selecting blank cells, right-click and choose Delete Rows to remove them all at once instead of one by one.
- Sorting your data by a column that contains values in every row will push all blank rows to the bottom, where you can select and delete them together.
- Filtering lets you hide blank rows temporarily so you can see what data remains before you commit to deletion.
Using Go To Special to select and delete blank rows
Start by selecting the entire data range you want to clean. Click the cell in the top-left corner of your data, then hold Shift and click the bottom-right cell. If your data has a header row, include it in the selection.
On Windows, press Ctrl+H to open the Find & Replace dialog. On Mac, press Cmd+H. Click the Options button to expand the menu, then check the box for "Search in: Values" and leave the Find field empty. Click Find All. Excel will select every blank cell in your range.
Right-click on any of the selected cells and choose Delete. A dialog will appear asking how you want to shift the remaining cells. Select "Shift cells up" and click OK. Excel will remove all rows that contain only blank cells in your selected range.
This method works best when you have scattered blank rows throughout your sheet. If all your blank rows are clustered at the bottom, sorting is often faster.
Sorting to move blank rows to one location
Click any cell in your data range, then go to the Data tab and click Sort. Excel will open the Sort dialog and automatically detect your data boundaries.
In the Sort dialog, choose a column that contains data in most or all of your rows — avoid columns that are mostly blank. Click the dropdown next to "Sort by" and select that column. Make sure "My data has headers" is checked if your first row contains column names.
Click OK. Excel will sort your data by that column, and all rows with blank cells in that column will move to the bottom of your sheet. You can then select those blank rows manually and delete them together. This approach preserves the order of your remaining data and lets you see exactly what you're removing.
Using AutoFilter to review blank rows before deletion
Select any cell in your data range and go to the Data tab. Click AutoFilter. Excel will add dropdown arrows to each column header.
Click the dropdown arrow in any column that contains most of your data. Uncheck the box next to "(Blank)" so that only rows with values in that column are visible. Your sheet will now hide all the blank rows you want to remove.
Once you've confirmed that the hidden rows are truly blank and not data you need, you can delete them. Select the row numbers of the visible blank rows (if any remain), right-click, and choose Delete Rows. Then remove the filter by clicking AutoFilter again to see your cleaned data.
This method is safer if you're unsure whether some of your blank rows contain important data in columns you haven't checked yet. It lets you inspect the data before committing to deletion.
Deleting blank rows in a specific column only
If you only want to remove rows where a particular column is blank — for example, rows missing a customer ID — use filtering instead of Go To Special. Click the dropdown arrow in that column's header and uncheck "(Blank)" to hide those rows.
Select all the visible row numbers (the ones that are now hidden), right-click, and choose Delete Rows. Excel will remove only the rows where that column is empty, leaving rows blank in other columns untouched.
This approach is more precise than deleting all blank rows at once and is useful when you have data spread across multiple columns and only want to remove rows missing a specific field.
Handling merged cells and special formatting
If your spreadsheet contains merged cells, Go To Special may not work as expected because merged cells don't behave like regular cells. Unmerge any cells first by selecting them, going to the Home tab, and clicking Merge & Center to toggle it off.
After unmerging, you can use Go To Special or sorting normally. If you have cells with formulas that return blank values (like =IF(A1="","",A1)), those cells are not truly blank and won't be selected by Go To Special. You'll need to delete those rows manually or use a filter to identify them.
Frequently Asked Questions
Will deleting blank rows affect my formulas?
If other sheets or cells reference rows by number, deleting rows will break those references. Check for formulas that use row numbers (like =Sheet2!A5) before deleting. If you have many such references, consider hiding blank rows instead of deleting them, or update your formulas afterward.
Can I undo a bulk deletion if I delete the wrong rows?
Yes. Press Ctrl+Z (Windows) or Cmd+Z (Mac) immediately after deletion to undo. Excel's undo history typically holds your last 100 actions, so you have a safety net. If you're nervous about bulk deletion, save a copy of your file first.
What's the difference between a blank row and a row with empty cells?
A blank row has no data in any column. A row with empty cells may have data in some columns but not others. Go To Special selects individual blank cells, not entire rows, so you'll see which rows have gaps. Sorting and filtering work on entire rows and are better for removing rows that are mostly empty.
Does this work the same way in Google Sheets?
Google Sheets doesn't have Go To Special, but you can sort or filter to move blank rows to one location, then delete them. Select your data, go to Data > Sort Range, and sort by a column with mostly filled cells. Blank rows will cluster at the bottom for easy removal.
How do I delete blank rows from multiple sheets at once?
You'll need to repeat the process on each sheet individually. Excel doesn't have a built-in way to delete rows across multiple sheets in one action. If you have many sheets to clean, consider using a macro or script, but for most users, going through each sheet takes only a few minutes.