【问题标题】:Search through Google form data通过 Google 表单数据搜索
【发布时间】:2021-04-04 13:26:02
【问题描述】:

我有一个 Google 表单,可以输出如下数据:

Buyers 表格的行示例(针对填写表格的每个买家):

Timestamp | User 1 | Product 1 | Price 1 | Product 2 | Price 2 | Product 3 | Price 3 ...

Timestamp | User 2 | Product 1 | Price 1 | Product 2 | Price 2 | Product 3 | Price 3 ...

在另一张名为 Bids 的工作表上:

Product 1 | Base Price

Product 2 | Base Price

Product 3 | Base Price

我想要达到的结果是获得不同产品的所有出价,并在每个产品旁边显示具有相应用户名的最高出价。我试过 lookupvquery 但没有成功,我不是 Google 表格专家(这是委婉说法)。

有什么想法吗?

这是实际工作表的副本: https://docs.google.com/spreadsheets/d/1bW_MlogHpXQk-_DZupE22No7KwUyZesqggsEdQaXPgw/edit?usp=sharing

在我想要获得的计算机的投标表上提供一个示例。 买家是从 Google 表单自动填充的表格。

【问题讨论】:

  • 分享您的工作表副本以及所需结果的示例
  • 你去吧:docs.google.com/spreadsheets/d/… 以计算机的投标表上的一个例子来说明我想要得到的东西。买家是从 Google 表单自动填充的表格。

标签: google-sheets filter google-sheets-formula vlookup array-formulas


【解决方案1】:

使用:

=ARRAYFORMULA(IFNA(VLOOKUP(A2:A, SORT(SPLIT(QUERY(FLATTEN(IF(
 FILTER(Buyers!C2:1000, MOD(COLUMN(Buyers!C1:1)-1, 2)=0)<>"", 
 FILTER(Buyers!C2:1000, MOD(COLUMN(Buyers!C1:1)-1, 2)=0)&"×"&
 FILTER(Buyers!C2:1000, MOD(COLUMN(Buyers!C1:1), 2)=0)&"×"&Buyers!B2:B1000, )), 
 "where Col1 is not null"), "×"), 2, 0), {2, 3}, 0)))

【讨论】:

  • 这行得通,非常感谢!我会深入研究它以了解它是如何工作的。
猜你喜欢
  • 2012-06-18
  • 2014-04-13
  • 1970-01-01
  • 1970-01-01
  • 2017-06-17
  • 2014-10-01
  • 1970-01-01
  • 2017-10-21
  • 2013-05-11
相关资源
最近更新 更多