gpt4 book ai didi

sorting - 谷歌表格找到最低价格的最短时间

转载 作者:行者123 更新时间:2023-12-02 19:19:51 24 4
gpt4 key购买 nike

鉴于以下数据:

123 2020-06-22 23:00:00
124 2020-06-22 23:30:00
121 2020-06-23 00:00:00

我想要 Google 表格中最低价格的小时/分钟。我尝试使用但没有成功:

=QUERY(A:B,"select hour(B), min(A) group by todate(B)")
=QUERY(A:B,"select B, min(A) group by todate(B)")

最佳答案

尝试这样:

=INDEX(SORT(A:B); 1)

0


或者对于每个日期:

=ARRAY_CONSTRAIN(SORTN(SORT({A:B, DATEVALUE(B:B)}), 9^9, 2, 3, 1), 9^9, 2)

enter image description here

关于sorting - 谷歌表格找到最低价格的最短时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63212968/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com