Skip to main content

4 easy ways to quickly remove Multiple Blank or empty rows in Excel

Author: Siluvia Last Modified: 2025-04-10

Removing multiple blank or empty rows in Excel is essential when cleaning up data before analysis, reporting, or presentation. Blank rows can disrupt data integrity, complicate calculations, and obscure insights. This guide introduces four straightforward methods to efficiently eliminate these empty spaces, ensuring your data remains continuous and easy to manage.


Method A: Remove blank rows with the Go To Special command

Now please do as below steps to remove empty rows with the "Go To Special" feature:

1. Select the range you want to remove blank rows, click "Home" tab, then in "Editing" group, click "Find & Select" > "Go To Special".
A screenshot of the Home tab in Excel, showing the Find & Select option under the Editing group

2. In the "Go To Special" dialog, check "Blanks" option.
Go To Special dialog box in Excel with the Blanks option selected

3. Click "OK", now all blank cells in the selection have been selected.
A screenshot showing blank cells selected in Excel using the Go To Special command

4. Click "Home" tab, in the "Cells" group, click "Delete" > "Delete Sheet Rows".
Excel's Delete Sheet Rows option highlighted in the Home tab under the Cells group

Now the rows with blank cells have been removed.
Result of blank rows successfully removed in an Excel worksheet

Note:

There is a fatal flow while you using the "Go To Special" command to delete blank rows:
All rows contain blank cells (even if the row contains one blank cell and other columns contain data) will be removed as below screenshot shown.

Example showing rows with any blank cells removed incorrectly using Go To Special


Method B: Remove blank rows in range/sheet/workbook with Kutools

If you need a quick and error-free method to remove all blank rows from a selection, active sheet, selected sheets, or an entire workbook, consider using the "Delete Blank Rows" tool from "Kutools for Excel". This tool simplifies the task, enabling you to eliminate blank rows with just a single click, thus avoiding the use of more complex methods.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

Click "Kutools" > "Delete" > "Delete Blank Rows", then in the sub drop-down list, choose one operation as you need.

Kutools for Excel Delete Blank Rows option under the Delete menu

Notes:
  • After selecting "In Active Sheet", "In Selected Sheets", or "In All Sheets", all blank rows will be immediately deleted from the chosen sheets.
  • If you have selected a range and applied the "In Selected Range" option, a dialog box will appear as shown in the screenshot below. You need to select the desired option and then click "OK".
    • "Delete Blank Rows in the Range": This option removes entirely blank rows from the selected range. It targets rows that are completely empty, leaving rows that contain any data untouched.
    • "Delete Entire Rows with Blank Cells in the Range": This option deletes any row within the range that contains one or more blank cells. Even if a row contains some data, if any cell in that row is blank, the entire row will be deleted.
      Kutools dialog box with options to delete blank rows or rows containing blank cells in Excel
  • To use this feature, you should have Kutools for Excel installed on your computer. Go to download Kutools for Excel now.

Method C: Remove blank rows with the VBA code

1. Press "Alt" + "F11" key to enable "Microsoft Visual Basic for Applications" window.

2. Click "Insert" > "Module" to create a new "Module" script, copy and paste below code to the script.

VBA: Remove empty rows

Sub DeleteBlankRows()
'Update 20190107
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
xRows = WorkRng.Rows.Count
Application.ScreenUpdating = False
For I = xRows To 1 Step -1
    If Application.WorksheetFunction.CountA(WorkRng.Rows(I)) = 0 Then
        WorkRng.Rows(I).EntireRow.Delete XlDeleteShiftDirection.xlShiftUp
    End If
Next
Application.ScreenUpdating = True
End Sub

Excel VBA module window displaying the VBA code for deleting blank rows

3. Press "F5" key to run the code, then select a range you use to remove blank rows in the popping "KutoolsforExcel" dialog.
Kutools dialog box prompting to select a range for removing blank rows in Excel

4. Click "OK". Now the empty rows in selection have been removed.
Result showing blank rows removed using VBA in Excel

Note: With this VBA code, you’d better remove blank rows in a range but not in the whole worksheet, or Microsoft Excel may get stuck.

Method D: Remove blank rows with the helper column and Filter function

1. Insert one column before your data range, take inserting Column A as instance, then type the following formula into A3 to combine data in row3, see screenshot:

=B3&C3&D3

Tip: If your data across Column B3 to Column N, adjust the formula to =B3&C3&D3&E3&…&N3.
Excel screenshot showing the helper column formula to combine row data for filtering blank rows

2. Then fill the formula to cells by dragging the auto fill handle down.
Result of dragging the helper column formula down to apply it to all rows in Excel

3. Then click "Data" > "Filter".
Excel's Data tab showing the Filter option being applied to a helper column

4. Then click the "Filter icon" at the helper column, check "Blanks" option only in the drop-down list. See screenshot:
Filter drop-down menu showing the Blanks option selected in Excel

5. Click "OK", the all blank rows have been filtered out.
Filtered blank rows displayed in Excel using the helper column method

6. Select the filtered rows, click "Home" > "Delete" > "Delete Sheet Rows" to remove the blank rows.
Excel's Delete Sheet Rows option highlighted for removing filtered blank rows

7. Then click "Data" > "Filter" again to disable "Filter" function.
Disabling the Filter function in Excel after deleting blank rows

Note: Compare to method A and method C, this method can exactly remove blank rows and easy-to-handle for every Excel users. However, if there are dozens of columns in your data, this method will be a little tedious.

Download sample file

Sample file for removing blank rows in Excel available for downloadClick to download sample file

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!