【发布时间】:2016-04-15 22:03:01
【问题描述】:
我正在使用 Google 表格并使用以下公式没有任何问题:
=QUERY(Sheet!A:D,"select A, max(B) where not B is null group by A label A 'Client', max(B) 'Most Recent'")
显然,这是返回引用数据的 A 和 B 列 但是,我还想从 C 列返回相应的单元格。
样本数据:https://docs.google.com/spreadsheets/d/1CJKiDNPUWMMUbLLb-UDA6iRA2PBnlMHDsEB9vELe0Rk/edit?usp=sharing
使用此示例,我希望看到填充有“Pizza”(即来自 C3)的单元格 G2,等等。
我是否使用了正确的公式?我需要改变什么?
【问题讨论】:
-
请不要用
googlesheets标记excel。 -
我不使用谷歌电子表格,但我可以查到。编辑:大声笑documentation 被切断了XD
-
哇,这相当密集,但猜你只需要
selectC 和 D? developers.google.com/chart/interactive/docs/…
标签: google-sheets google-query-language