as in the title.
I have a script that returns the built-in google sheets filter criterion. I tried to make a trigger so that the script executes every time I change the filter criteria.
It looks like this:
=myscript(A1) - In cell A1, I have a =SUBTOTAL() function as a trigger that returns a different number to the cell each time I change the filter criteria.
Unfortunately, =myscript(A1) returns #Error! (without any description) after changing the value in cell A1. But when I change the value of cell A1 manually everything works and myscript() is executed.
What do you think about it?
-
Can you post the code you are using as well? What kind of trigger do you have? @AdOneale13– ale132020-12-16 09:18:43 +00:00Commented Dec 16, 2020 at 9:18
-
@ale13 I found a different solution. Instead of code, I used a function. VLOOKUP(SUBTOTAL(104,A:A),A:C,3,false) In column A, I added unique numbers for each row, and there is a filter in column C. It works for one criterionAdOne– AdOne2021-01-06 17:54:40 +00:00Commented Jan 6, 2021 at 17:54
Add a comment
|