Answer the question
In order to leave comments, you need to log in
How to auto-update the formula in Google Sheets if the data in the cell is taken from the site by reference?
Hello, please help me to solve this issue. I've been struggling with it for two days now and I can't find a solution.
In a Google Spreadsheet, a cell contains the following formula:
=IMPORTJSON("https://data.gateapi.io/api2/1/ticker/btc_usdt";"baseVolume")
=ЕСЛИ(NOW > NOW-1; IMPORTJSON("https://data.gateapi.io/api2/1/ticker/btc_usdt";"baseVolume"))
SpreadsheetApp.flush();
Answer the question
In order to leave comments, you need to log in
A crutch can be done like this: pass some additional parameter to the formula (cell reference), and update this cell with a trigger. I usually put all such formulas into a single trigger function, and update them en masse.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question