How to Remove All Empty Rows in Excel

There are two ways to “remove all empty rows in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above with a tool to test it; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: select the range, press F5 ▸ Special ▸ Blanks to select every empty cell, then Home ▸ Delete ▸ Delete Sheet Rows.

On this page7
ƒxData CleanerLive
Clean rows
3

1 duplicates · 1 blank rows removed · 0 replacements

Runs entirely in your browser — your data never leaves this page.

Need pattern matching instead of a literal find & replace — pulling emails, validating formats, stripping everything but digits? Try the Regex Extractor & Tester.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

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. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “remove all empty rows in excel”. Start on a copy or a tiny sample, keep the affected blanks visible, and compare the result with the tool above before you touch the real workbook. 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. The point is a data step that keeps your analysis trustworthy, but the practical win is that someone else can open the file and understand what happened without asking you.

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. When the result is not what you expected, undo straight away rather than repairing it by hand — undo restores the sheet exactly, while manual fixes tend to leave small inconsistencies behind that surface later.

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. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Here is the takeaway for “remove all empty rows in excel”: follow the steps at the top, check the result on the sheet itself, and keep undo in mind while you experiment. Done once deliberately, it becomes something you do from memory in Excel rather than something you search for again.

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

People reach this page typing “remove all empty rows excel” and “excel remove all empty cells”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “remove all empty rows excel”, “excel remove all empty cells” all point at the one operation explained on this page, which is why they all lead here.