Delete columns and rows of a sheet
To delete one or more columns or rows on a sheet, select the columns/rows in their entirety or select the cells within them and do one of the following:
•On the Home tab, in the Cells group, click the arrow to the right of the
Delete cell, column or row button and select
Delete row or
Delete column.
•When working in macOS, select the Table > Delete > Row / Column command from the command menu.
•Right-click anywhere in the selected range and run Delete > Row / Column command from the context menu.
•If you have selected columns or rows in their entirety, press Ctrl+- (Windows, Linux) or
Cmd+- (macOS).
If there is filtered data or manually hidden columns or rows, only visible columns or rows will be deleted with the following exceptions:
•If you delete a column in its entirety, the cells from the hidden rows will be deleted along with it.
•If you delete a row in its entirety, the cells from the hidden columns will be deleted along with it.
Delete columns and rows of the table
To delete one or more columns or rows of a table, select the cells located in them and do one of the following:
•On the Home tab, in the Cells group, click the arrow to the right of the
Delete cell, column or row button and select
Delete table row or
Delete table column.
•When working in macOS, select the Table > Delete > Table row / Table column command from the command menu.
•Right-click anywhere in the selected range and run Delete > Table row / Table column command from the context menu.
Deletion of rows and columns of a table does not affect cells beyond it.
When deleting cells with a shift, adjacent cells are automatically shifted left or up, depending on the selected delete option, by the number of cells to be deleted. All links and formulas that use the cells shifted as a result of the deletion are automatically updated.
To delete a cell or range of cells with a shift, follow these steps:
1.Select a single cell or a range.
2.Do one of the following:
•On the Home tab, in the Cells group, click the arrow to the right of the
Delete cell, column or row button and select
Delete cells and shift left or
Delete cells and shift up.
•When working in macOS, select the Table > Delete > Cells and shift left / Cells and shift up command from the command menu.
•Right-click anywhere in the selected range and run the Delete > Cells and shift left / Cells and shift up command from the context menu.