Cellgrids Cellgridsby LearnWithRinkesh
Home › Excel tutorials › How to Remove Blank Rows in Excel

How to Remove Blank Rows in Excel Without Deleting Good Data

By Rinkesh Shah · Business Analyst, 8 years in data · Updated 2026-10-31

▶ Video coming soon

Blank rows break pivot tables, filters and charts. Removing them is easy, but doing it the wrong way can delete rows that only have one empty cell. These methods keep that from happening.

Method 1: Go To Special (for rows that are fully blank)

  1. Select the whole data range.
  2. Press F5, then Special, then choose Blanks and click OK.
  3. Right click one of the highlighted cells, choose Delete, then Entire row.

Warning: this deletes every row that has even one blank cell in the selection. Use it only when a blank means the row is empty, or select one key column such as the ID column only.

Method 2: Filter on a key column

Add a filter, open the drop-down of a column that is never blank in a real row (for example Invoice Number), and tick only (Blanks). Select the visible rows, delete them, then clear the filter.

Method 3: Sort

Sort the data by a key column. Blank cells go to the bottom, so all empty rows sit together and you can delete them in one go. Only use this if the order of your data does not matter, or add a number column first so you can restore the order.

Method 4: Power Query

For data you clean every month, load it with Data, then From Table or Range, and use Remove Rows, then Remove Blank Rows. The step is saved and runs again on refresh.

Check before you delete

Use a helper column with =COUNTA(A2:F2). A result of 0 means the row is completely empty. Filter on 0 and delete those rows only.

Worked example

Select the column, press Ctrl+G → Special → Blanks, then right-click a selected cell and choose Delete → Entire row. Careful: this deletes any row that has a blank in that column.

Common mistakes

Frequently asked questions

Safer method?

Add a helper column with =COUNTA(A2:D2), filter for 0 and delete those rows.

Does a filter work?

Yes. Filter for blanks, select visible rows and delete them.

Formula way?

=FILTER(A2:D100,A2:A100<>"").

Practice this online, free

Reading is only half of learning Excel. Cellgrids is a free place for online Excel practice: solve Excel formula exercises in a live spreadsheet, prepare for Excel interview questions, and work through business case studies built for data analytics and business analytics roles.

Practice these formulas: COUNTA, IF, TRIM.

Start Excel practice → Case studies