I have a formula with dozens of importrange, from as many different spreadsheets. It, of course, slows the spreadsheet, makes my main spreadsheet update everytime there is a modification in one of the spreadsheets...
I'd like my IMPORTRANGE formulas to refresh once every 24h instead of each time there is a modification. It seems like importrange doesn't allow that, so I'm looking for something similar (a script, i suppose). I found this: Force IMPORTRANGE to update at certain intervals (I know I would have to modify it a bit since this script exports the data to another spreadsheet and I'd like to import from an another spreadsheet but that should be doable)
I haven't tested this script, but before trying i have a couple questions:
Is there a simpler solution, maybe a formula that doesn't require a script? Or a function that i don't know about...
If a script is required, is this kind of script (in the link above) really the efficient way to go? I would have to modify this script to be able to import from dozens of different spreadsheets.I'm wondering how slow the import process will be, since the script will have dozens, hundreds of imports to do each night (with maybe 5000 cells in each import) ? If it's a matter of minutes, no problem, but if it means hours, not so much.
Context: I run an event agency. For each prospect, we duplicate a "client" template spreadsheet. When the prospect confirms and becomes a client, we paste the url of the "client" spreadsheet in a master spreadsheet (one line = one client = one url = one importrange in my main formula)
Thanks to some importrange formulas and queries, we can centralize on that file in the master file the necessary information from all the events (see "additional information")
It works fine, but of course when the number of clients got bigger, the master spreadsheet became slower, and it will only get worse with time.
Here is the formula that i currently use on the master spreadsheet:
=QUERY({IMPORTRANGE(Clients!$K3;"Data!B16:M");IMPORTRANGE(Clients!$K4;"Data!B16:M");IMPORTRANGE(Clients!$K5;"Data!B16:M"); etc etc etc};"Select * where Col1<>''";0)
Where Clients!$K is the column where we paste the "clients" spreadsheets URL. Of course, we have many more IMPORTRANGE formulas (one per client line)
Thank you VERY MUCH for any help regarding this issue!