importrange查询:持续时间条件小于10秒
Importrange query: time duration condition under 10 seconds
我正在尝试对此 google-sheet file
进行查询(导入范围)
我想根据 3 个条件过滤我的数据:
Col5='GC' OR
Col5='CL' AND
- 在
Col4
中,时间必须在 10 秒以内。
我已经能够在 1 分钟的时间条件下对这些数据进行查询:
=QUERY(IMPORTRANGE("18OOzibH9rmuzNxOPo_EbZ1rhF32qESuvPa4x4pB1BmA", "data!A1:Q"),
"where Col5 matches 'CL|GC'
and minute(Col4) < 1", 1)
但是如果我只是在 "second(Col4) < 10" 中更改 "minute(Col4) < 1" 它不起作用,如您所见 here,其中前四行超出了标准。
=QUERY(IMPORTRANGE("18OOzibH9rmuzNxOPo_EbZ1rhF32qESuvPa4x4pB1BmA", "data!A1:Q"),
"where Col5 matches 'CL|GC'
and minute(Col4) < 1
and second(Col4) < 10", 1)
我正在尝试对此 google-sheet file
进行查询(导入范围)我想根据 3 个条件过滤我的数据:
Col5='GC' OR
Col5='CL' AND
- 在
Col4
中,时间必须在 10 秒以内。
我已经能够在 1 分钟的时间条件下对这些数据进行查询:
=QUERY(IMPORTRANGE("18OOzibH9rmuzNxOPo_EbZ1rhF32qESuvPa4x4pB1BmA", "data!A1:Q"),
"where Col5 matches 'CL|GC'
and minute(Col4) < 1", 1)
但是如果我只是在 "second(Col4) < 10" 中更改 "minute(Col4) < 1" 它不起作用,如您所见 here,其中前四行超出了标准。
=QUERY(IMPORTRANGE("18OOzibH9rmuzNxOPo_EbZ1rhF32qESuvPa4x4pB1BmA", "data!A1:Q"),
"where Col5 matches 'CL|GC'
and minute(Col4) < 1
and second(Col4) < 10", 1)