It can be time-consuming to remove blank rows from Excel spreadsheet but it’s easy to do so using an automated method. We’ll show you how.

Also, be sure to check out our comprehensive guide  to using Excel for more useful tips.

Back up first

As with any editing of important documents you should make a copy of your spreadsheet before beginning. Removing blank rows is a destructive act, and if you mistakenly enter the wrong commands then it could delete info that you wanted to keep.

Can I remove blank rows automatically?

The first thing you need to tell Excel is which areas of the spreadsheet it should include when searching for blank rows. To do this select a data range by highlighting the relevant cells.

On this spreadsheet we’ve selected A1 to G22.

how to remove blank rows in Excel

Next press F5 and you’ll see a dialog box appear entitled Go To.

how to remove blank rows in excel

At the bottom of the box is a button marked Special. Click this and you’ll be presented with a number of options to choose from. As we’re searching for empty rows the one we want is Blanks. Click this and then OK.

how to remove blank rows in excel

On your spreadsheet you should see that all the empty rows Excel has found are now highlighted in blue. Give them a quick check to see if everything is how you want it. If so, you can remove them.

how to remove blank rows in excel

To do this you’ll need to make sure the Home tab is selected at the top of the screen, then go over to the right and look for the Delete option in the Cells section.

Clicking the arrow at the bottom of this opens a dropdown menu from which you’ll need to select Delete Cells rather than the more obvious Delete Sheet Rows.

how to remove blank rows in excel

A new pop-up window will appear asking how you wish to arrange the space left behind by the missing rows. The default is Shift cells up which is the one to choose unless you have specific needs otherwise.

how to remove blank rows in excel

Click OK and the rows will now disappear. You’ll still see the blue highlighted areas, but once you click on any cell they will vanish, leaving you with a new, compact table of data and no empty rows.

how to remove blank rows in excel