[英]Query in google sheets first result is not a date
I'm trying to query a bunch of dates and it generally works fine, except for the first result.我正在尝试查询一堆日期,它通常工作正常,除了第一个结果。 This does not get recognized as a date.
这不会被识别为日期。
I query the date with =query(A1:B50;"SELECT A";1) where dates are in column A.我使用 =query(A1:B50;"SELECT A";1) 查询日期,其中日期在 A 列中。
Subsequently I use the output to create events in Google calendar, except the first result of the query doesn't get recognized as a date.随后,我使用 output 在 Google 日历中创建事件,但查询的第一个结果没有被识别为日期。
Anything I can do about that?我能做些什么吗?
Thanks!谢谢!
If cell A1 contains a date and not a column heading, try:如果单元格 A1 包含日期而不是列标题,请尝试:
=query(A1:B50;"SELECT A";0)
However, It's not clear why you're using QUERY
and {A1:A}
may work just fine instead.但是,尚不清楚您为什么使用
QUERY
而{A1:A}
可能工作得很好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.