如何快速轻松地在Excel中删除空白行和列

00_lead_image_deleting_row_manually

If you have a lot of blank rows in your Excel spreadsheet, you can delete them by right-clicking each once separately and selecting “Delete,” a very time-consuming task. However, there’s a quicker and easier way of deleting both blank rows and blank columns.

如果Excel电子表格中有很多空白行,则可以通过右键单击每个空白行并选择“删除”来删除它们,这是一项非常耗时的任务。 但是,有一种删除空白行和空白列的快捷简便的方法。

First, we’ll show you how to delete blank rows. Deleting blank columns is a similar process that we’ll show you later in this article.

首先,我们将向您展示如何删除空白行。 删除空白列是一个类似的过程,我们将在本文后面向您展示。

Highlight the area of your spreadsheet in which you want to delete the blank rows. Be sure to include the row just above the first blank row and the row just below the last blank row.

突出显示电子表格中您要删除空白行的区域。 确保在第一个空白行的上方包含该行,并在最后一个空白行的下方包含该行。

01_selecting_area_for_row_deletion

Click “Find & Select” in the “Editing” section of the “Home” tab and select “Go To Special…” on the drop-down menu.

单击“主页”选项卡的“编辑”部分中的“查找并选择”,然后在下拉菜单上选择“转到特殊…”。

02_selecting_go_to_special_editing_section

On the “Go To Special” dialog box, select “Blanks” and click “OK.”

在“转到特殊”对话框中,选择“空白”,然后单击“确定”。

03_selecting_blanks_for_row_deletion

All the cells in the selection that are not blank are de-selected, leaving only the blank cells selected.

取消选中选择中所有非空白单元格,仅保留空白单元格。

04_highlighted_blank_rows

In the “Cells” section of the “Home” tab, click “Delete” and then select “Delete Sheet Rows” from the drop-down menu.

在“主页”选项卡的“单元格”部分中,单击“删除”,然后从下拉菜单中选择“删除工作表行”。

05_deleting_sheet_rows_cells_section

All the blank rows are removed and the remaining rows are now contiguous.

删除所有空白行,其余行现在是连续的。

06_deleted_blank_rows

You can also delete blank columns using this feature. To do so, select the area containing the blank columns to be deleted. Be sure to include the column to the left of the leftmost column to be deleted and the column to the right of the rightmost column to be deleted in your selection.

您也可以使用此功能删除空白列。 为此,选择包含要删除的空白列的区域。 确保在选择中包括要删除的最左边一列左侧的列和要删除的最右边一列右侧的列。

07_selecting_area_for_column_deletion

Again, click “Find & Select” in the “Editing” section of the “Home” tab and select “Go To Special…” from the drop-down menu.

再次,单击“主页”选项卡的“编辑”部分中的“查找并选择”,然后从下拉菜单中选择“转到特殊…”。

08_selecting_go_to_special_again

Select “Blanks” again on the “Go To Special” dialog box and click “OK.”

在“转到特殊”对话框中再次选择“空白”,然后单击“确定”。

09_selecting_blanks_for_column_deletion

Again, all the cells in the selection that are not blank are de-selected, leaving only the blank cells selected. This time, since there are no blank rows selected, only blank columns are selected.

再次,选择中所有非空白的单元格均被取消选择,仅保留空白单元格。 这次,由于没有选择空白行,因此仅选择空白列。

10_highlighted_blank_columns

Click “Delete” in the “Cells” section of the “Home” tab and then select “Delete Sheet Columns” from the drop-down menu.

单击“主页”选项卡的“单元格”部分中的“删除”,然后从下拉菜单中选择“删除工作表列”。

11_deleting_blank_columns

The blank columns are deleted and the remaining columns are contiguous, just as the rows are.

就像行一样,空白列将被删除,其余列是连续的。

12_deleted_blank_columns

This method for deleting blank rows and columns is quicker, especially if you have a large workbook containing large and multiple worksheets.

这种删除空白行和空白列的方法更快,尤其是当您的工作簿很大且包含多个工作表时。

翻译自: https://www.howtogeek.com/206696/how-to-quickly-and-easily-delete-blank-rows-and-columns-in-excel-2013/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值