如何在Google表格中不同列中的每个唯一值获得最大值?
我有两个列,第一列(a)具有名称,第二列(b)具有值。
A | B |
---|---|
苹果 | 10 |
橙 | 12 |
橙 | 14 |
苹果 | 8 |
是否可以从A中获得具有唯一名称和最大值的行? 因此,结果应该看起来像这样:
A | B |
---|---|
苹果 | 10 |
橙色 | 14 |
我尝试使用过滤器,查询和独特的不同组合,但到目前为止没有运气。请注意,我使用的实际数据集比这大得多,但是这个想法是相同的。
I have two columns, the first column (A) has names and the second column (B) has values.
A | B |
---|---|
apple | 10 |
orange | 12 |
orange | 14 |
apple | 8 |
Is there a way to get only rows with unique names from A AND max values from B?
So the result should look like this:
A | B |
---|---|
apple | 10 |
orange | 14 |
I tried using different combinations of FILTER, QUERY and UNIQUE, but so far no luck. Note that the actual dataset I'm using is much larger than this, but the idea is the same.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用:
use:
也应该在查询中直接处理:
Should be doable directly within a query as well: