In Excel: select the range, press F5 ▸ Special ▸ Blanks to select every empty cell, then Home ▸ Delete ▸ Delete Sheet Rows.
On this page7
1 duplicates · 1 blank rows removed · 0 replacements
Need pattern matching instead of a literal find & replace — pulling emails, validating formats, stripping everything but digits? Try the Regex Extractor & Tester.
What this does
Go To Special finds and selects every blank cell in one pass, so you can delete their whole rows in a single action instead of scrolling and deleting by hand. You highlight the data, open Go To Special (F5 then Special, or Home ▸ Find & Select ▸ Go To Special), choose Blanks, and Excel selects only the empties — then Delete Sheet Rows clears the entire rows they sit on. For larger or partially filled sheets, a Filter on "Blanks" is the safer alternative. Before you run it on a workbook other people depend on, try it on a copy or a few rows first. Undo only reaches back through the current session, so a quick trial run is the cheapest way to see exactly what will change before the file is saved and shared. For “delete all empty rows in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected blanks change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
A 200-row list has empty rows scattered between entries. Select A1:D200, press F5, click Special, choose Blanks, and OK — every blank cell is now selected. On the Home tab choose Delete ▸ Delete Sheet Rows, and all the empty rows vanish at once, leaving the remaining ~170 rows packed together with no gaps. Blank rows break sorting, filtering and any range a chart or pivot reads — a single gap can stop a SUM or split a table in two. Clearing them in one pass with Go To Special is a core clean-up before any analysis. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. If you take one thing from this page on “delete all empty rows in excel”, make it the order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.
Common mistakes
- Selecting a column that has some genuinely empty cells on otherwise-full rows — Delete Sheet Rows would then drop real data.
- Using Go To Special on a huge selection where most cells are blank, which can grab far more than the empty rows you meant.
- Pressing Delete (clear contents) instead of Delete Sheet Rows, which empties cells but leaves the rows in place.
- Forgetting to select the entire row range first, so only part of each blank row is removed.
Frequently asked questions
Go To Special or Filter — which is safer?
Filter is safer when only some columns are blank: filter a key column to (Blanks), check the rows really are empty, then delete them. Go To Special is faster when whole rows are truly empty.
How do I remove blanks without disturbing the order?
Both Go To Special and Filter delete rows in place and keep the surviving order. Sorting blanks to the bottom also works but rearranges your data.
Does this work in Google Sheets?
There is no Go To Special, but Data ▸ Create a filter ▸ filter the column to blanks, then right-click the selected rows and Delete rows achieves the same.
Other ways people ask this
On the way here you may have searched this as “delete all empty rows in excel” and “how to delete all rows with empty cells in excel” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “delete all empty rows in excel”, “how to delete all rows with empty cells in excel” all point at the one operation explained on this page, which is why they all lead here.