Instructions to delete blank lines (blank lines) in Excel

The data in the Excel document file that you are referencing has many blank cells and blank lines that cause the Excel file to reverse the data position. You want to delete all the empty cells in that data file but if you delete each cell one by one, it will take a lot of time.

The data in the Excel document file that you are referencing has many blank cells and blank lines that cause the Excel file to reverse the data position. You want to delete all the empty cells in that data file but if you delete each cell one by one, it will take a lot of time.

Instead of deleting cells one by one, you can delete empty rows or empty columns to shorten the operation time.

The following article shows you how to delete blank lines in Excel 2013, with Excel 2010 and 2007 you do the same.

Method 1

Step 1: First you need to select the data to be deleted, you can select the entire data in the sheet using the key combination Ctrl + A .

Picture 1 of Instructions to delete blank lines (blank lines) in Excel

Step 2: Next, select the Home tab -> Find & Select -> Go To Special (or press Ctrl + G and select Special ).

Picture 2 of Instructions to delete blank lines (blank lines) in Excel

Step 3: The Go To Special dialog box appears, select Blanks and click OK .

Picture 3 of Instructions to delete blank lines (blank lines) in Excel

Step 4: Now all blank cells are selected, you select the Home tab -> Delete -> Delete Sheet Rows to delete blank lines.

Picture 4 of Instructions to delete blank lines (blank lines) in Excel

If you want to delete empty columns, then select Delete -> Delete Sheet Columns .

Picture 5 of Instructions to delete blank lines (blank lines) in Excel

If you want to delete all blank cells, then right-click and select Delete (or press Ctrl + - ) to open the Delete dialog box .

Picture 6 of Instructions to delete blank lines (blank lines) in Excel

Here you can leave the default Shift cells up or you can select Entire row or Entire column to change surrounding cells. Click OK to delete the empty data box.

Picture 7 of Instructions to delete blank lines (blank lines) in Excel

Method 2

Step 1: Select the data you want to delete blank lines or you can select the entire data with Ctrl + A combination .

Picture 8 of Instructions to delete blank lines (blank lines) in Excel

Step 2: Select the Data tab , in the Sort & Filter section you choose Filter .

Picture 9 of Instructions to delete blank lines (blank lines) in Excel

Step 3: Next, select the arrow icon in the first cell of any column. Here you deselect in the Select All section .

Picture 10 of Instructions to delete blank lines (blank lines) in Excel

Step 4: Drag the scroll bar right down to the bottom and select the Blanks box and click OK .

Picture 11 of Instructions to delete blank lines (blank lines) in Excel

Step 5: Now the blank lines will be filtered, you select the tab Home -> Delete -> Delete Sheet Rows to delete the blank lines.

Picture 12 of Instructions to delete blank lines (blank lines) in Excel

Also you can use VBA to delete blank lines, but that is a bit complicated for those who are not familiar with VBA. So you only need to use one of the two methods above to quickly delete blank lines in Excel. Good luck!

Update 19 May 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile