Google sheets google sheet IF和for一系列行

Google sheets google sheet IF和for一系列行,google-sheets,google-docs,google-spreadsheet-api,Google Sheets,Google Docs,Google Spreadsheet Api,谷歌表 我有四列数据,在第五列中,我希望结果为“是”或“否” 我的标准是 是=如果E2中第1列已“接收”,第2列已“打开”,第3列已”>20“,第4列已”,请尝试此公式 =Arrayformula(if(len(A2:A), if((A2:A="received")*(B2:B="open")*(C2:C>20)*(D2:D<5000)=1, "Yes", "No"),)) =Arrayformula(if(len(A2:A),if((A2:A=“received”)*(B2:B

谷歌表

我有四列数据,在第五列中,我希望结果为“是”或“否”

我的标准是 是=如果E2中第1列已“接收”,第2列已“打开”,第3列已
”>20“
,第4列已
”,请尝试此公式

=Arrayformula(if(len(A2:A), if((A2:A="received")*(B2:B="open")*(C2:C>20)*(D2:D<5000)=1, "Yes", "No"),))

=Arrayformula(if(len(A2:A),if((A2:A=“received”)*(B2:B=“open”)*(C2:C>20)*(D2:d您能解释一下“len(A2:A)”在公式中的用法吗?@kuruvi它将公式的输出限制在A列中有值的行(通过检查长度)。由长度返回的数字将强制转换为布尔值。如果长度=0,则条件为假;如果长度>0,则条件为真。这有意义吗?
=Arrayformula(if(len(A2:A), if((A2:A="received")*(B2:B="open")*(C2:C>20)*(D2:D<5000)=1, "Yes", "No"),))