【发布时间】:2019-05-21 11:19:35
【问题描述】:
我正在使用谷歌表单,在提交数据后,我想为每一行计算(单词“OUI”的数量)。
我试过这个函数:=ArrayFormula(COUNTIF(B$3:D3;"*OUI*")),但它只适用于第一行。
【问题讨论】:
标签: google-sheets google-forms countif array-formulas google-sheets-formula
我正在使用谷歌表单,在提交数据后,我想为每一行计算(单词“OUI”的数量)。
我试过这个函数:=ArrayFormula(COUNTIF(B$3:D3;"*OUI*")),但它只适用于第一行。
【问题讨论】:
标签: google-sheets google-forms countif array-formulas google-sheets-formula
除了player0提供的解决方案,另一种方法是使用countif...
=ArrayFormula(if(len(A3:A),COUNTIF(if(B3:D="OUI", ROW(A3:A)),ROW(A3:A)),))
【讨论】: