您可以帮我解决以下代码吗?我收到了错误:
'missing ) after argument list. (line 18, file "ImportNomPlat")'
我的代码:
function Import_NomPlat() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheetByName('PLANNING PROD');
var array = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]
for (var k= 0; k<array.length; k++) {
var destRow = array[k];
var destCol = 2;
var checkCell = sheet.getRange(destRow,destCol);
sheet.getRange(destRow, destCol).setFormula('=index(importrange('Feuilles de référence'!$B$2;"'VLOOKUP RECETTES'!A:Z"); \
EQUIV(A5;importrange('Feuilles de référence'!$B$2;"'VLOOKUP RECETTES'!A:A");0);\
EQUIV(B$4;importrange('Feuilles de référence'!$B$2;"'VLOOKUP RECETTES'!$A$1:$Z$1");0)');
};
}