Google Apps Script, SpreadsheetApp, Google Sheet, Iteration
A not too uncommon task for Google Sheets users is to delete rows based on a cell’s values in a certain column. Often you don’t want to change the row position of the values so sorting the values and then deleting them in blocks is out.
All you want to do is iterate through the rows in the Sheet searching your selected column for the text or value that will trigger your code to remove the assigned row. Then delete the row.
Rinse and repeat until all rows have been checked.
This task can be automated with Google Apps Script in a number of ways depending on the size of your data set.
Continue reading “Google Apps Script: Delete Rows Based on a Column’s Cell Value in Google Sheet”