【问题标题】:Query function with date in Google SheetsGoogle表格中的日期查询功能
【发布时间】:2016-04-05 18:03:35
【问题描述】:

当日期与 I 列中的日期匹配时,我试图返回 M 列。知道为什么在我运行查询函数时它会显示 N/A 吗?

这是我正在努力实现的公式。

=QUERY(A2:M1000,"select M where(I='4/8/2016')")

【问题讨论】:

标签: sql google-sheets excel-formula


【解决方案1】:

尝试:

=QUERY(A2:M1000,"select M where I=date '"&text(P1,"yyyy-MM-dd")&"'")

【讨论】:

    猜你喜欢
    • 2017-10-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-22
    • 1970-01-01
    • 2023-02-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多