Google 张找到最低价格的 MIN 时间

Google sheets find MIN time of min price

给定以下数据:

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

我要GoogleSheet中最低价的hour/minute。我尝试使用但没有成功:

=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)


或每个日期:

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