Google表格–查询日期返回没有值
我正在尝试通过条目的日期从另一张纸上过滤列表,而根本不起作用:
=QUERY(Import!A:Z;"select A,T where T >= date '2021-08-27'";0)
当我删除date
零件时,它可以正常工作,如用于通过文本过滤的费用。我需要能够按确切日期进行排序,因为我想添加一些更复杂的过滤器。当我将功能的最后一部分设置为0
而不是1
时,它仅显示第一个条目。
源列设置为正确的日期格式。使用IngorTrange()
函数从另一个文档中获取数据(我看不出这应该如何有所作为)。
我觉得我在这里想念一些简单的东西,如果有人可以将我指向正确的方向,我会很高兴!
I'm trying to filter a list from another sheet by the dates of the entries and simply doesn't work:
=QUERY(Import!A:Z;"select A,T where T >= date '2021-08-27'";0)
When I remove the date
part it works fine, as expexted for filtering by text. I need the ability to sort by exact dates though, because I would like to add some more complex filters. When I set the last part of the function to a 0
instead of a 1
it shows only the first entry.
The source column is set to the correct date format. The data is pulled from another document using the IMPORTRANGE()
function (I don't seee how this should make any difference though).
I feel like I'm misssing something simple here and would be glad if someone can point me in the right direction!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看您的日期列是否为所有单元格式为日期。我缺少值为“ ='---”,并且按日期返回的查询过滤。将丢失的值更改为“ = na()”。
Check your date column if all cells are formatted as date. I had missing values as "='---" and the query filtering by date returned nothing. Changing the missing values to "=NA()" did the job.
尝试以下操作:
Try this: