The fastest way to delete a row

Right-click on the row number on the left side of the sheet — the grey column that shows 1, 2, 3, and so on. A menu will appear. Click Delete row. The row disappears, and all rows below it move up one position.

That is the method most people use because it is direct and works on a single row or multiple rows at once. If you need to delete several rows that are not next to each other, you can select them one at a time by holding Ctrl (or Cmd on Mac) and clicking each row number, then right-click and delete them all together.

If you want to delete rows without using the right-click menu, you can also use the menu bar: click Edit, then Delete rows. But this only works if you have already selected the rows you want to remove.

Key Takeaways

  • Right-click the row number on the left and select Delete row to remove a single row or multiple rows at once.
  • To delete multiple non-consecutive rows, hold Ctrl (or Cmd on Mac) while clicking each row number, then right-click and delete.
  • Deleting a row shifts all rows below it upward and closes the gap — the row does not become blank.
  • If you delete a row by mistake, press Ctrl+Z (or Cmd+Z on Mac) immediately to undo the deletion.

Selecting multiple rows to delete at once

If the rows you want to delete are next to each other, click the first row number, then hold Shift and click the last row number. All rows between them will be highlighted in blue. Right-click and select Delete rows. This removes all of them in one action.

For rows that are scattered throughout the sheet, click the first row number, then hold Ctrl (Cmd on Mac) and click each additional row number you want to remove. Each one will highlight separately. Once you have selected all the rows you need, right-click and delete them together.

What happens when you delete a row

When you delete a row, Google Sheets removes it completely and shifts every row below it upward to fill the gap. If you delete row 5, what was row 6 becomes row 5, what was row 7 becomes row 6, and so on. The row does not become blank — it is gone.

This matters if you have formulas that reference rows by number. For example, if a formula in another sheet says =Sheet1!A5, and you delete row 5, that formula will now point to what used to be row 6. If you need to preserve the row structure, you might want to hide the row instead of deleting it — right-click and select Hide row — so the data stays in place but is not visible.

Undoing a deletion

If you delete a row by mistake, press Ctrl+Z (Cmd+Z on Mac) immediately. Google Sheets will restore the row and put it back in its original position. This works as long as you have not made other changes since the deletion.

Google Sheets keeps a history of changes for about 30 days. If you need to recover a deleted row from further back, click File, then Version history, then See version history. A panel will open on the right showing past versions of the sheet. Click on a version from before you deleted the row, and you can restore it.

Deleting rows based on content or conditions

If you want to delete rows that match a certain condition — for example, all rows where a column is empty, or all rows with a certain value — you can use filters to make this easier. Click Data, then Create a filter. Click the filter icon in the column header and uncheck the values you want to remove. Now only the rows you want to keep are visible.

Select all the visible rows you want to delete (the hidden ones will not be affected), right-click, and delete them. Then remove the filter by clicking Data and Remove filter. The remaining rows will reappear. This method is safer than deleting rows one by one because you can see exactly which rows will be removed before you commit to the action.

Clearing row contents instead of deleting the row

Sometimes you want to erase the data in a row but keep the row itself in place — for example, if other sheets have formulas that depend on that row number. Select the row by clicking its number, then press Delete. This clears all the content but leaves the empty row in the sheet.

If you want to clear only some cells in a row, select just those cells and press Delete. The row stays, but only the cells you selected become blank. This is different from deleting the row, which removes the entire row and shifts everything below it upward.

Frequently Asked Questions

Can I delete a row if it contains data I need?

Yes, but check your version history first. Click File, then Version history, then See version history. Find a version from before you deleted the row and click it to restore that version. You can then copy the data you need before deleting the row again.

What is the difference between deleting a row and clearing it?

Deleting a row removes it entirely and shifts all rows below it upward. Clearing a row erases the content but leaves the empty row in place. Use delete when you want to remove the row structure, and clear when you want to keep the row but empty it.

If I delete a row, do formulas in other sheets break?

Formulas that reference the deleted row by number will now point to a different row. For example, if a formula says =Sheet1!A5 and you delete row 5, it will now reference what used to be row 6. If you need to preserve row numbers, hide the row instead of deleting it.

Can I delete multiple rows that are not next to each other?

Yes. Hold Ctrl (Cmd on Mac) and click each row number you want to remove. Once all rows are selected, right-click and choose Delete rows. All selected rows will be deleted at once, even if they are scattered throughout the sheet.