Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/arrays/14.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/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
Arrays 使用ID从其他工作表导入数据,但仅导入某些列_Arrays_Google Sheets_Google Sheets Formula_Array Formulas_Gs Vlookup - Fatal编程技术网

Arrays 使用ID从其他工作表导入数据,但仅导入某些列

Arrays 使用ID从其他工作表导入数据,但仅导入某些列,arrays,google-sheets,google-sheets-formula,array-formulas,gs-vlookup,Arrays,Google Sheets,Google Sheets Formula,Array Formulas,Gs Vlookup,我有这样一张谷歌表格: 还有一个是这样的: 我想在第二个google工作表中从第一个工作表中提取与这些ID匹配的数据 我尝试过索引匹配、vlookup和查找,但都没有达到我的目的,特别是使用importrange从第二个文件中提取数据时,我无法解决我的问题 提前谢谢你的帮助 如果您想知道,我正试图在这里实现这一奇迹: 使用: =ARRAYFORMULA(IFNA(VLOOKUP(A2:A, {Mother!B:B, Mother!A:A, Mother!C:D}, {2,3,4}, 0)))

我有这样一张谷歌表格:

还有一个是这样的:

我想在第二个google工作表中从第一个工作表中提取与这些ID匹配的数据 我尝试过索引匹配、vlookup和查找,但都没有达到我的目的,特别是使用importrange从第二个文件中提取数据时,我无法解决我的问题 提前谢谢你的帮助

如果您想知道,我正试图在这里实现这一奇迹: 使用:

=ARRAYFORMULA(IFNA(VLOOKUP(A2:A, {Mother!B:B, Mother!A:A, Mother!C:D}, {2,3,4}, 0)))