Delete multiple columns

How to delete multiple columns in a worksheet using Excel, VBA and Shortcut methods

METHOD 1. Delete multiple columns by selecting entire columns

EXCEL

Select the number of columns you want delete > Right-click anywhere on the selected columns > Click Delete

1. Select the number of columns you want to delete.
Note: in this example we are deleting three columns (columns B, C and D). To select entire columns, either click on the first column heading and drag to the side until you reach the number of columns you want to delete or select the first cell of the column, press and hold the Ctrl and Shift keys and press the Down key, then release the Ctrl key (still holding the Shift key) and press the Right or Left key to select the number of columns you want to delete.
Select multiple columns

2. Right-click anywhere on any of the selected columns and click Delete. Right-click anywhere on any of the selected columns and click Delete

METHOD 2. Delete multiple columns using the ribbon option

EXCEL

Select multiple cells > Home tab > Cells group > Delete > Delete Sheet Columns

1. Select the cells where you want to delete columns.
Note: in this example we are deleting three columns (columns B, C and D). You can select multiple cells across separate columns and rows (e.g. B4, E7, G9) which will delete columns B, E and G.
Select multiple cells across multiple columns

2. Select the Home tab. Select Home tab - Excel

3. Click Delete in the Cells group.
4. Click Delete Sheet Columns.
Click Delete and click Delete Sheet Columns

METHOD 3. Delete multiple columns using the cell option

EXCEL

Select multiple cells > Right-click on any of the selected cells > DeleteEntire column> OK

1. Select the cells where you want to delete columns.
Note: in this example we are deleting three columns (columns B, C and D). You can select multiple cells across separate columns and rows (e.g. B4, E7, G9) which will delete columns B, E and G.
Select multiple cells across multiple columns

2. Right-click on any of the selected cells.
3. Click Delete
Right-click on any of the selected cells in any column and click Delete

4. Select the Entire column option and click OK group. Select Entire column and click OK

METHOD 1. Delete multiple columns using VBA by selecting a multiple cells

VBA

Sub Delete_Multiple_Columns()
'delete multiple columns (columns B, C and D)
Worksheets("Sheet1").Range("B2:D2").EntireColumn.Delete

End Sub

OBJECTS
Worksheets: The Worksheets object represents all of the worksheets in a workbook, excluding chart sheets.

ADJUSTABLE PARAMETERS
Columns Selection: Select the columns that you want to delete by changing the column references ("B2:D2"). The column selection doesn't need to be in a single range. You can replace the range reference with, for example, ("B4,E7,G9") which will delete columns B, E and G.
Worksheet Selection: Select the worksheet where you want to delete columns by changing the Sheet1 worksheet name.

METHOD 2. Delete multiple columns using VBA by selecting an entire columns

VBA

Sub Delete_Multiple_Columns()
'delete multiple columns (columns B, C and D)
Worksheets("Sheet1").Range("B:D").EntireColumn.Delete

End Sub

OBJECTS
Worksheets: The Worksheets object represents all of the worksheets in a workbook, excluding chart sheets.

ADJUSTABLE PARAMETERS
Columns Selection: Select the columns that you want to delete by changing the column references ("B:D"). The column selection does't need to be in a single range. You can replace the range reference with, for example, ("B:B,E:E,G:G") which will delete columns B, E and G.
Worksheet Selection: Select the worksheet where you want to delete columns by changing the Sheet1 worksheet name.

Delete multiple columns using a Shortcut

SHORTCUT

WINDOWS SHORTCUT

Ctrl
-

NOTES

To delete multiple columns using this shortcut method you will need to select entire columns. If you select individual cells or a range of cells and action this shortcut a Delete dialog box will appear and you will need to select Entire column and click OK.

Explanation about how to delete multiple columns

EXPLANATION

EXPLANATION
This tutorial explains and provides step by step instructions on how to delete multiple columns in a worksheet using Excel, VBA and Shortcut methods.

Excel Methods: Using Excel you can delete multiple columns by selecting entire columns, multiple cells and using a ribbon or cell option.

VBA Methods: Using VBA you can delete multiple columns by referencing to a multiple cells or entire columns.

Shortcut Methods: Using a Shortcut you can delete multiple columns by selecting entire columns where you want to delete columns and then actioning the shortcut.

ADDITIONAL NOTES
Note 1: Deleting columns will move the existing columns, that are to the right of the columns that you want to delete, leftwards. In this this tutorial every column to the right of column D will be moved to the left by three columns.

RELATED TOPICS

Related Topic Description Related Topic and Description
How to insert a single column in a worksheet using Excel, VBA and Shortcut methods
How to delete a single column in a worksheet using Excel, VBA and Shortcut methods
How to insert multiple columns in a worksheet using Excel, VBA and Shortcut methods
How to insert a single row in a worksheet using Excel, VBA and Shortcut methods
How to insert multiple rows in a worksheet using Excel, VBA and Shortcut methods