Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (2024)

This tutorial demonstrates how to delete multiple rows or columns in Excel and Google Sheets.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (3)

By selecting multiple rows or columns in Excel, you can quickly delete any number of rows or columns using the right mouse button or the Excel Ribbon. This can also be done with VBA.

Delete Adjacent Rows

To delete multiple rows in your worksheet, select the rows you wish to delete by clicking on the row header and dragging down to the header of the last row you wish to delete.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (4)

Right-click on the row header and select Delete.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (5)

OR

In the Ribbon, select Home> Cells> Delete> Delete Sheet Rows.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (6)

Delete Non-Adjacent Rows

To delete multiple non-adjacent rows, select the first row you wish to delete by clicking on the row header, and then, holding down the CTRL key, click on each additional row you wish to delete.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (7)

Right-click on the row header and select Delete.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (8)

OR

In the Ribbon, select Home> Cells> Delete> Delete Sheet Rows.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (9)

Delete Adjacent Columns

To delete multiple adjacent columns, select the columns you wish to delete by clicking on the column header and dragging across to the header of the last column you wish to delete.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (10)

Right-click on the column header and select Delete.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (11)

OR

In the Ribbon, select Home> Cells> Delete> Delete Sheet Columns.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (12)

Delete Non-Adjacent Columns

To delete multiple non-adjacent columns, select the columns you wish to delete by clicking on the first column header and then, holding down the CTRL key, click on each additional column header of the columns you wish to delete.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (13)

Right-click on the column header and select Delete.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (14)

OR

In the Ribbon, select Home> Cells> Delete> Delete Sheet Columns.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (15)

Delete Multiple Rows and Columns in Google Sheets

Deleting multiple rows and columns in Google Sheets works much the same as it does in Excel.

You can select adjacent rows or columns by clicking on the row or column header and dragging down or across to the row or column header of the last row or column you wish to delete.

You can select non-adjacent rows or columns by clicking on the first row or column header, and then, holding down the CTRL key, click on any further row or column headers required.

As with Excel, click on the row/column header with the right mouse button and select the Delete option from the quick menu (e.g., Delete rows 2 – 8).

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (16)

OR

In the Menu, select Edit> Delete, and then select the options (e.g., Rows 2 – 8) as shown below.

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (17)

Delete Multiple Rows / Columns in Excel & Google Sheets - Automate Excel (2024)

FAQs

How do I delete multiple rows and columns in Google Sheets? ›

You can use the following steps for deleting multiple rows at once in Google Sheets if you're working on a desktop computer or laptop:
  1. Navigate to Google Drive and open a spreadsheet. ...
  2. Locate and select your range. ...
  3. Open the context menu. ...
  4. Select the correct rows. ...
  5. Click to delete the rows. ...
  6. Open the file. ...
  7. Delete unwanted rows.
Sep 29, 2023

How do I automatically delete multiple rows in Excel? ›

Remove rows from the entire table. If you have a simple Excel list that has no additional information to the right, you can use the delete row shortcut to remove rows in 2 easy steps: Select the rows you want to delete. Press the Ctrl + - (minus on the main keyboard) hotkey.

How do you delete rows in power automate Google Sheets? ›

Select the "Delete row" from the "Action" menu. Set Parameters. Specify the target Google Sheets file from which to delete a row. Specify the target Google Sheets worksheet from which to delete a row.

How do I Delete 1000 rows in Google Sheets? ›

Limit Number of Rows Using the Delete Rows Feature
  1. Click on the number of the row at the end of the desired limit. ‍ Click the number of the row you want the limit to apply up to. ...
  2. Press Ctrl (Cmd on Mac), Shift and Down. ‍ ...
  3. Right click and select Delete rows x - 1000. ‍ ...
  4. See the results. ‍

Can Power Automate delete rows in Excel? ›

Can power automate add that function into the excel file? You have to create a New Script in Excel first so that you can use it in Power Automate. It can be in a new file, that file you are trying to remove rows from. The script isn't tied to a file—but it's tied to Excel.

How do I delete rows in Google Sheets API? ›

Getting Started
  1. Configure the Delete Rows action. Connect your Google Sheets account. Optional- Select a Drive. Select a Spreadsheet. Select a Worksheet. ...
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events.
  3. Deploy the workflow.
  4. Send a test event to validate your setup.
  5. Turn on the trigger.

How do I delete repetitive rows in Google Sheets? ›

Remove rows with repeat data
  1. On your computer, open a spreadsheet in Google Sheets.
  2. Select the data range that you'd like to remove duplicates in. ...
  3. At the top, click Data Data cleanup. ...
  4. Select which columns to include, and whether or not the data has headers.
  5. Click Remove duplicates.

How do I Delete multiple empty rows in Excel at once? ›

Select all the filtered rows: Press Ctrl + Home, then press the down-arrow key to go to the first data row, then press Ctrl + Shift + End. Right-click on any selected cell and choose "Delete row" from the context menu or just press Ctrl + - (minus sign). Click OK in the "Delete entire sheet row?" dialog box.

How do I Delete empty rows in Google Sheets app script? ›

Run the script
  1. In the spreadsheet, select the range A1:F20 .
  2. Click Extensions > Copy of Clean sheet > Delete blank rows.
  3. When prompted, click Continue and authorize the script.
  4. Click Extensions > Copy of Clean sheet > Delete blank rows again.
  5. Click Extensions > Copy of Clean sheet > Delete blank columns.
Apr 3, 2024

How do I Delete multiple rows and columns? ›

If you want to remove more than one row or column, select a cell in each row or column you want to delete. Under Table Tools, click Layout, and then click either Delete Row or Delete Column.

How do I select multiple rows and columns in Google Sheets? ›

To select more than one row in the data view, click one row, then hold the Control (Windows) or Command (Mac) key and select each of the other rows you wish to edit or remove. To select a continuous list, click one row, then hold the Shift key and click the last row.

How do I Delete extra rows and columns in Google Docs? ›

Right-click a cell in a table from the row or column you want to delete. From the menu, choose Delete column, Delete row, or Delete table.

Top Articles
Latest Posts
Article information

Author: Aron Pacocha

Last Updated:

Views: 6720

Rating: 4.8 / 5 (48 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Aron Pacocha

Birthday: 1999-08-12

Address: 3808 Moen Corner, Gorczanyport, FL 67364-2074

Phone: +393457723392

Job: Retail Consultant

Hobby: Jewelry making, Cooking, Gaming, Reading, Juggling, Cabaret, Origami

Introduction: My name is Aron Pacocha, I am a happy, tasty, innocent, proud, talented, courageous, magnificent person who loves writing and wants to share my knowledge and understanding with you.