Follow the steps below to conditionally delete rows in Google Sheets.
Decide on the condition that will guide which rows to delete. This could be anything from rows with a specific word, a number below a certain value, or even dates before a particular time. For our dataset, we'll delete rows where the "Status" column shows "Incomplete".
Apply a filter to the "Status" column to find rows that meet your condition. Click on the "Status" column header, then the funnel icon.
Click the column header that you're focusing on, then select the funnel icon to apply a filter. Set the filter to show only rows with "Incomplete".
After filtering, all rows marked as "Incomplete" will be visible. Highlight these rows by clicking on the row numbers on the left and hold down the Shift key if selecting multiple rows.
Right-click on one of the highlighted row numbers and choose "Delete selected rows" from the context menu to remove all selected rows.
With the "Incomplete" rows deleted, remove the filter from the "Status" column by clicking the funnel icon again, returning to the full view of your data.
Google Sheets saves your work automatically. Check your sheet to ensure all "Incomplete" status rows have been deleted and that your dataset looks correct with the tasks that remain.
We hope that you now have a better understanding of how to conditionally delete rows in Google Sheets. If you enjoyed this article, you might also like our article on how to set up Google Sheets TEXTBEFORE or our article on how to setup RANKIF in Google Sheets.