Google Sheet Delete a Row Every time value of Column Disappear With Appscript

31 views Asked by At

I have a table like this in Sheet1

Sheet2 is a query function from sheet1 where Status='Done'. And sheets 2 got a column is dropdown selection, got 2 value to choose (1 or 2)

enter image description here

Every time, if i changed the value from of status column in Sheet1. For example:

enter image description here

The data in Sheet 2 will change like this

enter image description here

But I want the Sheet2 becomes:

enter image description here

Every time the value of Name column in sheet 2 disappear, it will automate delete all row of that observe.

I have try with on edit function, but it not work for my case. So I willing to listen from all your help.

0

There are 0 answers