3 ways to remove blank rows in Excel – quick tip

In this quick tiptoe I will explain why deleting excel rows via choose blank cells – > erase row is not a good mind and show you 3 immediate and decline ways to remove lacuna rows without destroying your data. All solutions work in Excel 2019, 2016, 2013 and lower .
3 quick and correct ways to remove blank rows in Excel
If you are reading this article, then you, like me, are constantly working with large tables in Excel. You know that every so much blank rows appear in your worksheets, which prevents most built-in Excel table tools ( kind, remove duplicates, subtotals etc. ) from recognizing your data range correctly. sol, every time you have to specify the boundaries of your table manually, differently you will get a wrong solution and it would take hours and hours of your time to detect and correct those errors .
There may be assorted reasons why lacuna row penetrate into your sheets – you ‘ve got an Excel workbook from another person, or as a consequence of exporting data from the bodied database, or because you removed data in unwanted rows manually. Anyway, if your goal is to remove all those vacate lines to get a nice and clean table, follow the childlike steps below.

Never remove blank rows by selecting blank cells

All over the Internet you can see the following tip to remove blank lines :

  • Highlight your data from the 1st to the last cell.
  • Press F5 to bring the “Go to” dialog.
  • In the dialog box click the Special… button.
  • In the “Go to special” dialog, choose “Blanks” radio button and click OK.
  • Right-click on any selected cell and select “Delete…”.
  • In the “Delete” dialog box, choose “Entire row” and click Entire row.

This is a very bad way, use it only for simple tables with a couple of dozens of rows that fit within one screen, or better even – do not use it at all.
The independent reason is that if a row with important data contains just one blank cell, the entire row will be deleted .
For exercise, we have a table of customers, 6 rows raw. We want to remove rows 3 and 5 because they are empty.
We want to remove rows 3 and 5 because they are empty
Do as suggested above and you get the succeed :
Row 4 (Roger) is also gone because cell D4 in the "Traffic source" column is empty
Row 4 (Roger) is also gone because cell D4 in the “ Traffic source ” column is vacate : (
If you have a little mesa, you will notice a passing of data, but in real tables with thousands of rows you can unconsciously delete dozens of good rows. If you are golden, you will discover the loss in a few hours, restore your workbook from a backing, and will do the job again. What if you are not then lucky or you do not have a backup imitate ?
far in this article I will show you 3 flying and dependable ways to remove empty rows from your Excel worksheets. If you want to save your clock – go directly to the 3rd manner .

Remove blank rows using a key column

This method works if there is a column in your postpone which helps to determine if it is an empty row or not ( a key column ). For exercise, it can be a customer ID or order number or something exchangeable .
It is significant to save the rows order, so we ca n’t equitable sort the table by that column to move the blank rows to the bottom .

  1. Select the whole table, from the 1st to the last row (press Ctrl + Home

    , then press Ctrl + Shift + end).
    Select the whole table

  2. Add AutoFilter to the table: go to the Data tab and click the Filter button.
     Add AutoFilter to the Excel table
  3. Apply the filter to the “Cust #” column: click the arrow Autofilter drop-down arrow in the column header, uncheck the (Select All) checkbox, scroll down to the end of the list (in reality, the list is quite long) and check the checkbox (Blanks) at the very bottom of the list. Click OK.
    Excel Autofilter: show empty rows only
  4. Select all the filtered rows: Press Ctrl + Home, then press the down-arrow key to go to the first data row, then press Ctrl + Shift + end.
    Select all the filtered rows
  5. Right-click on any selected cell and choose “Delete row” from the context menu or just press Ctrl + – ( minus signboard ).
    Right-click on any selected cell and choose Delete row
  6. Click OK in the “Delete entire sheet row?” dialog box.
    Delete entire sheet row dialog box
  7. Clear the applied filter: go to the Data tab and press the Clear button.
     Clear the applied filter
  8. Well done! All the blank rows are completely removed, and line 3 (Roger) is still there (compare with the previous version).
    All the blank rows are completely removed

Delete blank rows if your table does not have a key column

Use this method if you have a table with numerous vacate cells scattered across unlike column, and you need to delete only those rows that do not have a unmarried cell with data in any column.
Excel Table with numerous empty cells scattered across different columns
In this character we do not have a identify column that could help us to determine if the course is empty or not. So we add the helper column to the table :

  1. Add the “Blanks” column to the end of the table and insert the following formula in first cell of the column: =COUNTBLANK(A2:C2).
    This formula, as its name suggests, counts blank cells in the specified range, A2 and C2 is the first and last cell of the current row, respectively.
    Excel formula to count blank cells in the specified range
  2. Copy the formula throughout the entire column. For step-by-tep instructions please see how to enter the same formula into all selected cells at a time.
    Copy the formula throughout the entire column
  3. Now we have the key column in our table :). Apply the filter to the “Blanks” column (see the step-by-step instructions above) to show only rows with the max value (3). Number 3 means that all the cells in a certain row are empty.
  4. Then select all the filtered rows and remove whole rows as described above.
    As a result, the empty row (row 5) is deleted, all the other rows (with and without blank cells) remain in place.
    Empty row (row 5) is deleted
  5. Now you can remove the helper column. Or you can apply a new filter to the column to show only those rows that have one or more blank cells.
    To do this, uncheck the “0” checkbox and click OK.
    uncheck the "0" checkbox and click OK
    Show only those rows that have one or more blank cells

The fastest way to remove all empty rows – Delete Blanks tool

The quickest and faultless way to remove blank lines is to the Delete Blanks creature included with our Ultimate Suite for Excel .
Among other utilitarian features, it contains a handful of one-click utilities to move column by drag-n-dropping ; delete all empty cells, rows and column ; filter by the selected respect, account percentage, apply any basic mathematics operation to a scope ; transcript cells ‘ addresses to clipboard, and much more .

How to remove empty rows in 4 easy steps

With the Ultimate Suite added to your Excel ribbon, hera ‘s what you do :

  1. Click on any cell in your table.
  2. Go to the Ablebits Tools tab > Transform group.
  3. Click Delete Blanks > Empty Rows.
    Safely remove empty rows in Excel.
  4. Click OK to confirm that you really want to remove empty rows.
    Confirm that you want to remove empty rows.

That ‘s it ! equitable a few clicks and you ‘ve got a clean table, all empty rows are gone and the rows order is not distorted !
All empty rows are gone and the rows order is preserved.

Video: How to remove blank rows in Excel

You may also be interested in

generator : https://epicentreconcerts.org
Category : How To

Related Posts

Leave a Reply

Your email address will not be published.