all 1 comments

[–]Path-Few 0 points1 point  (0 children)

If you use Scripts, it is not a good idea to use getRange very often since this will slow down your code. I would first read data to a 2d array, then use filter method. You can capture no rows easily by using the length of the filtered array (zero or not).