The fastest way to remove blank rows from Excel

The quickest method is to use the Go To Special feature to select all blank cells at once, then delete the rows they occupy. Open your spreadsheet, select the range of data that contains blanks, press Ctrl+H to open Find & Replace, then use the Go To Special button (or Ctrl+G in some versions) to target blanks. Once selected, right-click and choose Delete to remove those rows.

If your data is simpler or you prefer a more visual approach, you can also sort by a column to group blank rows together, then delete them as a block. This works well when you have a primary column with no blanks — sorting pushes all the empty rows to the bottom where you can select and remove them in one action.

The method you choose depends on how your data is structured and whether you need to preserve a specific row order. Both approaches take less than a minute once you know the steps.

Key Takeaways

  • Use Go To Special (Ctrl+G) to select all blank cells in your data range, then delete those rows in one action.
  • Sorting by a column with no blanks pushes empty rows to the bottom, where you can select and delete them together.
  • The AutoFilter feature lets you hide non-blank rows, then select and delete only the blank ones that remain visible.
  • Always work on a copy of your spreadsheet first if the data is important, in case you need to undo.

Using Go To Special to select blanks

This is the most direct route. First, select the entire range of data that might contain blank rows — click the cell in the top-left corner of your data, then hold Shift and click the bottom-right cell. If your data fills columns A through D and rows 1 through 100, select from A1 to D100.

Press Ctrl+G (or Ctrl+Shift+G in some Excel versions) to open the Go To dialog. Click the Special button, then check the box for Blanks. Click OK. Excel now highlights every blank cell in your selection.

Right-click on any highlighted cell and choose Delete. A dialog appears asking how you want to shift cells — select Delete entire row, then click OK. Excel removes every row that contains a blank cell in your selection.

Sorting to group blank rows together

If you have a column that contains data in every row (no blanks), sorting by that column pushes all the empty rows to one end. Click any cell in your data range, then go to the Data tab and click Sort.

Choose the column with no blanks as your sort key. Excel groups all rows with data in that column at the top and pushes blank rows to the bottom. Click OK to apply the sort.

Once sorted, scroll to the bottom of your data. Click the row number of the first blank row, then hold Shift and click the last row number to select all blank rows at once. Right-click and choose Delete, then select Delete entire row. This removes all blank rows in a single action.

Using AutoFilter to hide and delete blanks

AutoFilter lets you see only the rows you want to delete. Select any cell in your data range, go to the Data tab, and click AutoFilter. Dropdown arrows appear in the header row of each column.

Click the dropdown arrow in any column that has data, then uncheck Blanks and click OK. Excel now hides all rows where that column is empty, leaving only rows with data visible. Click the row number of the first visible blank row (if any remain), then hold Shift and click the last visible row number to select them all.

Right-click and choose Delete, then select Delete entire row. When you turn off the AutoFilter afterward (click AutoFilter again), the remaining rows reappear and the blanks are gone.

Removing blank rows from a single column

If only one column has blanks and you want to delete rows where that column is empty, click the column header to select the entire column. Go to the Data tab and click Sort. Choose that column as your sort key and click OK.

All rows with data in that column move to the top, and rows with blanks in that column move to the bottom. Select the blank rows by their row numbers and delete them as described above. This approach is cleaner than selecting a range because you do not have to guess where your data ends.

What to do if blanks are scattered throughout

If blank rows are scattered randomly and you cannot sort without losing your data order, use Go To Special (the first method in this article). It finds and selects every blank cell regardless of where it sits, so you can delete all blank rows in one pass without rearranging anything.

If you need to keep a specific row order and also preserve some blank rows (deleting only certain ones), you may need to delete them manually one at a time. Click the row number of a blank row, right-click, and choose Delete. This is slower but gives you full control over which rows stay and which go.

Preventing blank rows from appearing in the first place

Blank rows often appear when you copy data from another source or when rows are deleted but not fully removed. To avoid them, be careful when pasting data — paste only the cells you need, not entire rows with empty space. When you delete a row, right-click the row number and choose Delete rather than just clearing the contents.

If you are importing data from another program, check the source file for blanks before you import. Many data sources have hidden blank rows that become obvious once the data lands in Excel.

Frequently Asked Questions

Will deleting blank rows affect my formulas?

Yes — if a formula references a cell in a row you delete, that formula will show an error. Before deleting blank rows, check whether any formulas point to cells in those rows. If they do, update the formulas first or copy the data to a new location before deleting.

Can I undo if I delete the wrong rows?

Yes. Press Ctrl+Z immediately after deleting to undo the action. Excel keeps an undo history, so you can step back multiple times if needed. If you close the file without saving, the changes are lost and the original data remains.

What if my data has merged cells?

Merged cells can cause problems with sorting and filtering. Unmerge them first by selecting the merged cell, going to the Home tab, clicking the Merge & Center dropdown, and choosing Unmerge Cells. Then use any of the methods above to delete blank rows.

Does Go To Special work the same way in Google Sheets?

No — Google Sheets does not have Go To Special. Instead, use the filter feature: click the column header, go to Data, click Create a filter, then uncheck Blanks to hide empty rows. Select the visible blank rows and delete them.

Can I delete blank rows from multiple sheets at once?

No — you must delete blank rows one sheet at a time. Open each sheet, select your data range, and use one of the methods above. If you have many sheets, this is a good time to consider whether a database or a more structured data format would serve you better.