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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.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 计数如果&;重要信息在工作表中返回为0_Google Sheets_Google Sheets Formula - Fatal编程技术网

Google sheets 计数如果&;重要信息在工作表中返回为0

Google sheets 计数如果&;重要信息在工作表中返回为0,google-sheets,google-sheets-formula,Google Sheets,Google Sheets Formula,我使用下面的公式从不同的表格中获取数据 =COUNTIF(导入) 我曾在一个电子表格中使用过它,但当我在另一个电子表格中使用它时,它会返回到零 我只有以下公式: =COUNTIF(IMPORTRANGE(“https://docs.google.com/spreadsheets/d/1l-UwoqGOLlY_7dVNAL-jwP2Fcg“,”已分配!L:M“,”名称“ 你知道为什么上面的方法对一个工作表有效,但对另一个工作表有效吗?如果你访问url,它似乎不存在。用ID试试看,你也可以先尝试导入

我使用下面的公式从不同的表格中获取数据

=COUNTIF(导入)

我曾在一个电子表格中使用过它,但当我在另一个电子表格中使用它时,它会返回到零

我只有以下公式:

=COUNTIF(IMPORTRANGE(“https://docs.google.com/spreadsheets/d/1l-UwoqGOLlY_7dVNAL-jwP2Fcg“,”已分配!L:M“,”名称“


你知道为什么上面的方法对一个工作表有效,但对另一个工作表有效吗?

如果你访问url,它似乎不存在。用ID试试看,你也可以先尝试导入,有时你需要进行大访问。不知道工作表如何在不同的函数中处理这个问题。正如Calculuswhiz所说,具有该url的工作表可以不存在。它看起来比我检查过的任何其他工作表url都要短,所以可能在复制url时丢失了一些字母?正如所有其他用户所提到的,你能确认你使用的url是有效的吗?@EmilyTerney