How to Delete Blank Rows or Columns in Google Sheets

The appearance of the spreadsheet plays an important role, so it is important to ensure that all its rows are displayed normally. If there are blank rows or columns in a document, they only make it harder to read and apply additional features, so it is often necessary to remove unused areas. In the framework of this article, I will tell you in what ways you can solve the problem.

Method 1: Deleting at table borders

As a first example, I will consider the situation when it comes to a ready-made document in Google Sheets, where a certain number of rows and columns are not used. By default, they will always appear in the spreadsheet, but you can easily remove them with just a few simple steps.

  1. First, be sure to define the boundaries of the spreadsheet so that you don’t delete unnecessary things in the future. If it is already visually designed, it will be extremely easy to do this.
  2. Now select all the letters of the columns by holding the left mouse button on the first one and dragging to the end of the table.
  3. Right-click on one of the column letters and select Delete Columns from the context menu .
  4. You will see that a blank area is now displayed instead. You can use zoom to hide it and leave only the required cells.
  5. Roughly the same applies to lines, so select them all first.
  6. This will take a little longer as you will have to scroll to the bottom with the mouse wheel when you reach line 1000.
  7. Right-click on the number of any of them and select “Delete lines” .
  8. As you can see, now the table is presented within its borders without extra areas. If necessary, you can always add more rows and columns through the same context menu.

I repeat that this method can be considered optimal in cases where you have already compiled a table in the online service in question and are sure that its contents will not be edited in the near future.

Method 2: Remove spaces through filtering

The following situation is suitable for those users who are faced with incorrect data filling in Google Sheets. For example, someone filled rows and columns one by one, adding unnecessary visuals or leaving the cells in their default state. Of course, such an approach to filling out documents is not always welcome, therefore, it becomes necessary to remove such gaps, which is done by filtering and further copying the ranges.

  1. Hold down the left mouse button and select all rows within one or more columns, including gaps.
  2. After that, expand the Data menu and activate the Create Filter tool .
  3. Now near the first line you will see a down arrow, clicking on which will open the filtering options.
  4. You should remove empty lines from the filter by unchecking the corresponding box. Confirm the changes by clicking on “OK” .
  5. Now you will see that the empty rows have disappeared and the contents of the table are displayed correctly. Select the range and copy using the hotkey Ctrl + C .
  6. Instead, you can call the familiar context menu and select the item there “Copy” .
  7. It remains to delete the current filter, since it will no longer be needed when further interacting with the table. This is done through the same menu “Data” .
  8. However, that’s not all, because without the filter, spaces will reappear. You need to select the entire range and delete all these lines through the context menu.
  9. Paste the content you copied earlier in their place to make sure they display correctly.
  10. It may happen that the labels in the first line are bold, so undo this formatting if necessary.

This was just one example of using filtering in Google Sheets. If you are interested in this topic, I advise you to read my other article , which tells in more detail about this tool and its capabilities.

Method 3: Removing duplicates

Empty rows in Google Sheets in a certain area are duplicates because their content is the same – empty. Using the data cleaning function, you can remove repetitions, thereby achieving the desired effect. 

However, keep in mind that this method is only suitable if there are no other identical rows in the selected data range, for example, with the same amounts. This is due to the fact that they are also considered as repetitions and one of them will be deleted. 
After reading the notification and understanding that the method can be implemented in your situation, proceed to the next instruction.
  1. Select the required range along with empty lines and expand the menu “Data” .
  2. In it, hover over the item “Data Cleanup” and left-click on the item “Delete duplicates” .
  3. A window will appear in which you do not need to make any changes, just confirm your actions.
  4. You will be notified how many duplicate rows were found and how many unique ones are left.
  5. One empty line will still remain, since it is not repeated. Delete it through the context menu by right-clicking on this cell.
  6. This completes the cleaning process. Do the same for the rest of the columns, if necessary.

Each of the above methods has its own characteristics and differs in the implementation algorithm. Read my instructions and choose the option that is right for you.

Leave a Reply

Your email address will not be published.