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 如何获取单元格引用作为谷歌电子表格的地址_Google Sheets_Google Sheets Formula_Counting - Fatal编程技术网

Google sheets 如何获取单元格引用作为谷歌电子表格的地址

Google sheets 如何获取单元格引用作为谷歌电子表格的地址,google-sheets,google-sheets-formula,counting,Google Sheets,Google Sheets Formula,Counting,我在单元格A2中有一个单元格地址,我想在另一个单元格B2中使用它作为绝对值,其中包含一个公式 A B ------------------- ------------------------------ Sheet1!MK65:NO65 =COUNTIF(INDIRECT(A2,FALSE),"=S2/F") 如何让B2公式起作用?试试: =COUNTIF(INDIRECT(A2), "=S2/F

我在单元格A2中有一个单元格地址,我想在另一个单元格B2中使用它作为绝对值,其中包含一个公式

         A                              B
-------------------      ------------------------------
Sheet1!MK65:NO65       =COUNTIF(INDIRECT(A2,FALSE),"=S2/F")
如何让B2公式起作用?

试试:

=COUNTIF(INDIRECT(A2), "=S2/F")

使用计数和数组公式:

=count(arrayformula(if(indirect(A2)="S2/F",1,"")))