MS Office

Excel: Delete empty rows – this is how it works

Excel: Delete empty rows - this is how it works

There are several ways to delete empty rows in Excel. Among other things, you can use filters or automatically remove empty areas.

Excel: Delete empty rows using a filter

The filter function is one of the basics in Excel. You can also use this function to remove blank lines.

  1. Highlight the area where you want to remove the blank lines.
  2. Go to the Data tab and click Filter. The first entries in the respective columns turn into a drop-down menu.
  3. Click the arrow in a drop-down item. Uncheck “Select all” and activate the “Empty” entry.
  4. Repeat this process with the other columns.
  5. Select all lines highlighted in blue. Right-click the selection and select Delete Row.
  6. To switch back to the normal view, click “Filter” in the “Data” tab.



Excel: Automatically delete empty rows

It is also possible to automatically remove empty lines.

  1. Press F5 or go to Start > Search & Select > Go.
  2. In the window that appears, click “Contents”.
  3. Select “Blank Cells” and click “OK.” All empty cells are now highlighted.
  4. Go to Home > Delete > Delete Cells.
  5. Select “Whole Row” and click “OK.”

Excel: Delete many empty rows at the end

Sometimes it happens that there are many empty rows at the end of a table, e.g. B. can be disruptive when printing out in Excel. How to solve the problem:

  1. Scroll to the bottom of your table.
  2. Click on the last cell with content.
  3. Hold down Shift and press Ctrl + Down Arrow. All empty lines up to the end of the worksheet are now highlighted.
  4. Right-click the marker. Select “Delete” from the context menu.

Excel: Delete empty columns

Completely empty columns can also be removed.

  1. Select the entire data range (Ctrl + A).
  2. Go to Home > Search & Select > Go.
  3. Click “Contents” and select “Blank Cells.”
  4. Press Ctrl + Space to select entire columns.
  5. Right-click and select “Delete Cells.”
  6. Select “Whole Column” and confirm with “OK”.
About author

As a tech enthusiast and writer for votoh.com, I focus on providing practical solutions for common issues related to iOS, Android, Windows, macOS, Office, Smart TVs, software, games, and hardware. With a passion for simplifying technology, I aim to make complex topics accessible to everyone, offering tips and troubleshooting advice to help users navigate the digital world with ease.