Delete a row in Google Spreadsheets if value of cell in said row is 0 or blank

前端 未结 10 819
情书的邮戳
情书的邮戳 2020-11-29 02:01

I\'d like to be able to delete an entire row in a Google Spreadsheets if the value entered for say column \"C\" in that row is 0 or blank. Is there a simple script I could w

10条回答
  •  醉话见心
    2020-11-29 02:36

    I was having a few problems with scripts so my workaround was to use the "Filter" tool.

    1. Select all spreadsheet data
    2. Click filter tool icon (looks like wine glass)
    3. Click the newly available filter icon in the first cell of the column you wish to search.
    4. Select "Filter By Condition" > Set the conditions (I was using "Text Contains" > "word")

    This will leave the rows that contain the word your searching for and they can be deleted by bulk selecting them while holding the shift key > right click > delete rows.

提交回复
热议问题