VLOOKUP
, а в идеале обернуть в ARRAYFORMULA
=ARRAYFORMULA(IFERROR(VLOOKUP(E3:E14;B3:C;2;0);))
function copyFiles(fromId, toId) {
var srcFldr = DriveApp.getFolderById(fromId);
var srcFiles = srcFldr.getFiles();
var desFldr = DriveApp.getFolderById(toId);
var desFiles = desFldr.getFiles();
var dfnA = [];
while (desFiles.hasNext()) {
var df = desFiles.next();
dfnA.push(df.getName());
}
while (srcFiles.hasNext()) {
var sf = srcFiles.next();
if (dfnA.indexOf(sf.getName()) == -1) {
sf.makeCopy(sf.getName(), desFldr);
}
}
}
function run(){
copyFiles('ASDFASDFSDF2345234ADSFASDF', 'ASDFSDFasf452345345SAFDF-sagasdfASDF');
}
'Импорт'!J:J;"<"&A4
'Импорт'!J:J;"<="&A3
'Импорт'!J:J;"<"&A4
'Импорт'!J:J;">="&A3
>=
делать открытым его окончание <
=SUMIFS('Импорт'!L:L;'Импорт'!J:J;"<"&A6;'Импорт'!J:J;">="&A5;'Импорт'!C:C;$B$1)
=IMPORTXML(A1;"//div[contains(@class,'events-table-1')]/div")
A1
https://www.iru.org/ru/intelligence/fuel-prices?fr...Exception: You do not have permission to call SpreadsheetApp.openById. Required permissions: https://www.googleapis.com/auth/spreadsheets