How to remove blank rows in Excel
In Excel for Microsoft 365 / Excel 2021–2024 (verified 2026-10-24), select your data Table, open the filter on a key column, untick (Blanks), then copy the visible rows elsewhere — or use Home > Find & Select > Go To Special > Blanks carefully on a single column before deleting.
For recurring cleanup, remove blank rows in Power Query so refresh stays repeatable.
Applies to Excel desktop and Excel for the web. Always work on a copy or Table when deleting rows — Undo may not save you after a save/close.
Filter out blanks (safest everyday method)
Filter a key column
- Click inside the data > Ctrl+T to make a Table if needed.
- Open the filter arrow on a column that should never be blank (ID, email, name).
- Untick (Blanks) and click OK so only filled rows show.
Delete or extract
- To keep a clean copy: select visible rows > Copy > Paste to a new sheet.
- To delete blanks in place: clear the filter, select blank row headings via Go To Special on one column, then Home > Delete > Delete Sheet Rows.
- Prefer Table filters + copy when unsure — harder to nuke good rows.
Power Query route
- Data > From Table/Range.
- Filter out nulls on key columns, or Home > Remove Rows > Remove Blank Rows.
- Close & Load, then Refresh next time the export grows.
Our take: define “blank” first
A row with spaces or formulas returning "" is not always a Special Blank. TRIM/CLEAN helper columns, or Power Query trim, before delete. Never sort+delete huge ranges blindly on shared workbooks.
If it fails
- Deleted half your data: Undo immediately (Ctrl+Z); restore from OneDrive version history if already saved.
- Go To Special selected used cells: you clicked the whole sheet — limit to one column.
- Blanks still appear after filter: cells contain spaces — use TRIM or replace
with nothing. - Table totals wrong: refresh filters; check calculated columns.
Frequently asked questions
How do I delete empty rows in Excel quickly?
Filter out (Blanks) on a key column, or use Go To Special > Blanks on one column then Delete Sheet Rows.
Will Go To Special blanks delete rows with spaces?
No — spaces are not blank; clean them first.
Is there a Remove Blank Rows button?
In Power Query yes; on the sheet use filters or Go To Special.
Can I undo after delete?
Usually Ctrl+Z in the same session; after close, use file version history.
Blank rows vs blank cells?
Deleting sheet rows removes the entire row; clearing cells leaves the row structure.