如何在Google表中添加论点和动态范围?

发布于 2025-02-13 10:58:14 字数 636 浏览 0 评论 0原文

我正在为工作创建基本的仪表板,我似乎无法弄清楚如何根据选择作为用户的日期来创建查询。

由于业务的性质,我无法共享项目文件。但是,我创建了一个基本的,这样您就可以看到我要实现的目标。

从本质上讲,我要做的是根据用户选择的日期进行调整值。

https://docs.google.com/spreadsheets/d/1vruttfrjil2miokem-ookem-ohaitdjj lrjgfqbtvqbtvnmwx-nu/edit?usp = sharing

因此,基于此expressheet,在此expressheet上,在日期设置为05/07/07/07/07/07/07/07/07/07/ 2022我希望桌子只显示预期日期的信息05/07/2022和该州预计。在后面相反。

而在哪里我将日期更改为06/07/2022,它仅显示名称,预期日期为06/07/2022。

我希望这是有道理的,我不确定如何解释它。

有人对如何处理它有一个想法吗?

I'm creating a basic dashboard for work and I can't seem to figure out how to create a query that changes depending on the date that has been selected as a user.

Due to the nature of the business I am not able to share the project file. However I have created a basic one just so you have the gist of what I'm trying to achieve.

Essentially what I'm trying to do is to have the adjust the values depending on the date that was chosen by the user.

https://docs.google.com/spreadsheets/d/1VRUtTfrJIL2mIOKem-OHaITDjj-lRjGFQbTvnMwX-nU/edit?usp=sharing

So based on this spreadsheet, when having the date set to 05/07/2022 I would like the table to show only information where expected date is 05/07/2022 and the state is Expected. Same for the opposite on the late side.

Whereas where I would change the date to 06/07/2022 it would only show the names with expected date of 06/07/2022.

I hope that makes sense, I am unsure on how else to explain it.

Does anyone have an idea on how to approach it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白馒头 2025-02-20 10:58:15

尝试:

=QUERY('Sheet 2 basic data'!B4:F11, 
 "select B,C,D,E
  where F = 'Expected'
    and todate(D) = date '"&TEXT(C4, "e-m-d")&"'
  limit 15", )

try:

=QUERY('Sheet 2 basic data'!B4:F11, 
 "select B,C,D,E
  where F = 'Expected'
    and todate(D) = date '"&TEXT(C4, "e-m-d")&"'
  limit 15", )

enter image description here

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文