Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google sheets 使用ArrayFormula的行中的COUNTIF值-google表单条目计算_Google Sheets_Google Sheets Formula_Array Formulas_Google Forms_Countif - Fatal编程技术网

Google sheets 使用ArrayFormula的行中的COUNTIF值-google表单条目计算

Google sheets 使用ArrayFormula的行中的COUNTIF值-google表单条目计算,google-sheets,google-sheets-formula,array-formulas,google-forms,countif,Google Sheets,Google Sheets Formula,Array Formulas,Google Forms,Countif,我正在尝试计算表格中由公式填充的文本字段。因为我想在DocumentStudio中使用它,所以不能选择COPYIF语句 工作条件声明: 我需要把它放到arrayformula中,用form添加数据将删除ROWif语句中的所有数据 当我把它放到arrayformula中时,它将只计算第一个字段的值。我需要它来计算每行的值 非工作阵列公式: 链接到工作表: 试试: ={"AF"; ARRAYFORMULA(MMULT(N(INDIRECT("G2:"&COUNTA(B:B))="OK"),

我正在尝试计算表格中由公式填充的文本字段。因为我想在DocumentStudio中使用它,所以不能选择COPYIF语句

工作条件声明:

我需要把它放到arrayformula中,用form添加数据将删除ROWif语句中的所有数据

当我把它放到arrayformula中时,它将只计算第一个字段的值。我需要它来计算每行的值

非工作阵列公式:

链接到工作表: 试试:

={"AF"; ARRAYFORMULA(MMULT(N(INDIRECT("G2:"&COUNTA(B:B))="OK"), 
 TRANSPOSE(COLUMN(INDIRECT("G2:"&COUNTA(B:B)))^0)))}
=ArrayFormula(((if(ISBLANK(B1:B991),"",if(row(B1:B991)=1,**"ARRAZFORMULA"**,COUNTIF(D2:BE2,"OK"))))))
={"AF"; ARRAYFORMULA(MMULT(N(INDIRECT("G2:"&COUNTA(B:B))="OK"), 
 TRANSPOSE(COLUMN(INDIRECT("G2:"&COUNTA(B:B)))^0)))}