Google Sheet 查询公式
Google Sheet Query Formula
有什么方法可以在不导入帮助 sheet 的数据的情况下使用我在 Sheet1 中创建的 vlookup 来“直接”从其他 sheet 查找值通过使用 IMPORITNG(查询公式?
这是当前公式。
=ArrayFormula({"注释";IF(A2:A="","",IFERROR(VLOOKUP(TRIM(A2:A)&B2:B&"|"&C2:C&D2:D ,{TRIM('Sheet1 Import'!A2:A)&'Sheet1 Import'!B2:B&"|"&'Sheet1 Import'!C2:C&'Sheet1 Import'!D2:D ,'Sheet1 Import'!E2:E},2,FALSE),"*** 未找到 ***"))})
但是上面的公式是从帮助 sheet 中获取数据我正在尝试创建一个直接匹配结果的公式并从另一个 sheet.
中获取相关数据
我创建了这个公式,但它不起作用?
=INDEX(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0", "Sheet1!E:E"),MATCH(1, (A2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0","Sheet1!A2:A")(B2,IMPORTRANGE("https:// docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0", "Sheet1!B2:B")(C2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0", "Sheet1!C2:C"),0)))))
Sheet 链接
https://docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0
https://docs.google.com/spreadsheets/d/1_9Vumt1a-1WnrXAHOpJd1GUTQ3jLjPifwGyKlDDRyi0/edit?usp=sharing
来自问题
Is there any way that without importing the data in helping sheet we can use vlookup as I have created in Sheet1 to lookup the values from other sheet “Directly” by using IMPORITNG (Query formula?
一种方法是在源电子表格中添加 VLOOKUP 公式,然后导入结果。另一种方法是使用 Google Apps 脚本。
有什么方法可以在不导入帮助 sheet 的数据的情况下使用我在 Sheet1 中创建的 vlookup 来“直接”从其他 sheet 查找值通过使用 IMPORITNG(查询公式? 这是当前公式。
=ArrayFormula({"注释";IF(A2:A="","",IFERROR(VLOOKUP(TRIM(A2:A)&B2:B&"|"&C2:C&D2:D ,{TRIM('Sheet1 Import'!A2:A)&'Sheet1 Import'!B2:B&"|"&'Sheet1 Import'!C2:C&'Sheet1 Import'!D2:D ,'Sheet1 Import'!E2:E},2,FALSE),"*** 未找到 ***"))})
但是上面的公式是从帮助 sheet 中获取数据我正在尝试创建一个直接匹配结果的公式并从另一个 sheet.
中获取相关数据我创建了这个公式,但它不起作用?
=INDEX(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0", "Sheet1!E:E"),MATCH(1, (A2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0","Sheet1!A2:A")(B2,IMPORTRANGE("https:// docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0", "Sheet1!B2:B")(C2,IMPORTRANGE("https://docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0", "Sheet1!C2:C"),0)))))
Sheet 链接
https://docs.google.com/spreadsheets/d/1x7ofB9Rt-y5_DlaxQVIZK_ZKR8sqBHVxAu3ZZlU13YA/edit#gid=0
https://docs.google.com/spreadsheets/d/1_9Vumt1a-1WnrXAHOpJd1GUTQ3jLjPifwGyKlDDRyi0/edit?usp=sharing
来自问题
Is there any way that without importing the data in helping sheet we can use vlookup as I have created in Sheet1 to lookup the values from other sheet “Directly” by using IMPORITNG (Query formula?
一种方法是在源电子表格中添加 VLOOKUP 公式,然后导入结果。另一种方法是使用 Google Apps 脚本。