A Fast Way to Delete Many Blank Rows in Excel
by Avantix Learning Team | Updated August 1, 2020
Applies to: Microsoft® Excel® 2010, 2013, 2016, 2019 and 365 (Windows)
You can quickly delete blank rows in a large Excel data set using Excel tools. Blank rows in Microsoft Excel lists cause problems if you’re trying to manipulate a list of data using data tools such as sorting, filtering and pivot tables. It can be a time consuming task if you find blank rows one by one and delete them manually. Instead, you can use Go To Special dialog box (which we like to use quite a bit in Excel) to find blanks and then you will be able to delete them with a few clicks.
Recommended article: 15 Microsoft Excel Keyboard Shortcuts to Speed Up Formatting
Below is the Go To Special dialog box:
Before you complete the following process, you may want to save a copy of the original file first.
Deleting blank rows in a data set
To easily delete blank rows in an Excel list or data set:
- Select a column where there are blank cells in the column (we’re assuming here that the rest of the row is blank). If there is sensitive data above or below the list that you don’t want to delete, select the cells in the column from the first cell in the range to the last cell in the range (you could click in the first cell and Shift-click in the last cell).
- Press Ctrl + G to display the Go To dialog box and then click Special to display the Go To Special dialog box. Alternatively, you can click the Home tab in the Ribbon and then select Go To Special from the Find & Select drop-down menu.
- Select Blanks in the Go to Special dialog box and click OK. Excel will select all of the blank cells within the range.
- Right-click one of the selected blank cells and select Delete. A dialog box appears.
- Select Entire Row and click OK to confirm the delete.
You will now be able to sort, filter and create pivot tables with the list.
This article was first published on June 21, 2017 and has been updated for content and clarity.
Did you find this article helpful? If you would like to receive new articles, join our email list.
Recommended Microsoft Excel training
Our instructor-led courses are delivered in virtual classroom format or at our downtown Toronto location at 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada (some live classroom courses may also be delivered at an alternate downtown Toronto location). Contact us at email@example.com if you'd like to arrange custom training on a date that's convenient for you.
Copyright 2021 Avantix® Learning
You may also like
You can quickly fill blank cells in a range of data in Excel with dashes, zeros or other number or text values. Blank cells can be problematic if you want to use a data set as the source for a pivot table.
You can convert cm to inches (or inches to cm) using formulas with operators or functions in Excel. This is useful since the regional settings on a computer affect the default measurement system used in Excel and other programs.
You can hide comments and notes in Excel workbooks. In addition to adding comments in Excel, there is a little known function called the N function that you can use to enter notes directly within a formula. The N function has been around for a long time so you can use it in older versions of Excel.
Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.
Avantix Learning | 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada M5E 1W7 | firstname.lastname@example.org