我正在尝试在Google表格中创建一个公式,其中计算一列两列的乘积。我可以简单地在F列中输入每个单元格作为示例:
=if(and(A1>0,C1>0),A1*C1,"")
,但是如果这些列中有100行,将变得很乏味。我尝试过:
=arrayformula(if(and(A1:A100>0,C1:C100>0),A1:A100*C1:C100,""
答案 0 :(得分:0)
尝试:
=arrayformula(if((A1:A100>0)*(C1:C100>0),A1:A100*C1:C100,""))