查询Google表格中具有最新时间戳的行

问题描述 投票:0回答:1

我在Google表格中有一些数据,其中包含重复的帐号,但日期不同。我想查询数据并删除重复项,并仅选择日期最近的那些行。

示例数据在这里:

115684  11/21/2019  Blue
115684  11/20/2019  Green
115684  11/19/2019  Yellow
165488  11/17/2019  Red
165488  11/12/2019  Blue
165488  6/19/2019   Green
556689  11/21/2019  Yellow
556690  11/21/2019  Red
556691  6/19/2019   Blue

所以结果应如下所示:

115684  11/21/2019  Blue
165488  11/17/2019  Red
556689  11/21/2019  Yellow
556690  11/21/2019  Red
556691  6/19/2019   Blue

我尝试了这个,但是没有用:

=QUERY(A:C, "SELECT A, B, C WHERE MAX(B)")
select google-sheets duplicates timestamp
1个回答
0
投票

尝试:

© www.soinside.com 2019 - 2024. All rights reserved.