此公式适用于我的原始Google工作表,但我想将其移至新工作簿以从原始工作簿导入。
=SUMPRODUCT((($O10<='Daily Receiving'!$D$1:$CO$1)*($A$2>='Daily Receiving'!$D$1:$CO$1))*('Daily Receiving'!$A$3:$A$1306=$A10)*'Daily Receiving'!$D$3:$CO$1306)
这是我尝试过的一个版本,我得到一个错误,表示乘法的数组参数大小不同。
=SUMPRODUCT((($O10<=(IMPORTRANGE("httpspreadsheet","Daily Receiving!$D$1:$CO$1"))*($A$2>=(IMPORTRANGE("httpspreadsheet","Daily Receiving!$D$1:$CO$1")))*((IMPORTRANGE("httpspreadsheet","Daily Receiving!$a$3:$a$1306")=$A10)*(IMPORTRANGE("httpspreadsheet","Daily Receiving!$d$3:$cd$1306"))))))
答案 0 :(得分:0)
=SUMPRODUCT(((IMPORTRANGE("httpspreadsheets","Daily Receiving!$D$1:$CO$1")<=$A$2)*(IMPORTRANGE("httpspreadsheets","Daily Receiving!$D$1:$CO$1")>=$O10))*(IMPORTRANGE("httpspreadsheets","Daily Receiving!$a$3:$a$1306")=$A10)*(IMPORTRANGE("httpspreadsheets","Daily Receiving!$D$3:$CO$1306")))