google-sheets - 如何在 Google 表格中设置跨多个工作表的多个条件的 QUERY 公式?
问题描述
我有 3 个工作表名称“alex”、“shawn”和“taki”。所有的列相同但行号不同
在新工作表(仪表板)上,我希望查询显示列 A 到 F,但条件为 col L = NOT 'case closed' 和 col A = date range(我放在 c23 和 e23 处)
解决方案
尝试这个:
=QUERY({alex!A:Z; shawn!A:Z; taki!A:Z},
"select Col1,Col2,Col3,Col4,Col5,Col6
where not Col12 = 'case closed'
and Col1 <= date '"&TEXT(C23, "yyyy-mm-dd")&"'
and Col1 >= date '"&TEXT(E23, "yyyy-mm-dd")&"'", 0)
推荐阅读
- html - 为什么我的字段集容器在移动视图中溢出,但在更大的屏幕尺寸下却没有?
- mysql - 通过 Propel 添加 MySql 存储过程
- swift - 当从层次结构中删除时,TextField 拒绝了 resignFirstResponder
- python - 自动下载不适用于 Django FileResponse
- javascript - vue 动态异步组件用 javascript 设置道具
- azure - 使用条件将 Blob 数据复制到 Azure 数据工厂中的 Sql 数据库
- angular - 如何在chartjs图表中绘制异步数据
- linux - 如何从 linux 链接器转储链接器库搜索路径。使用“制作”
- excel - Excel中的自动递增数字值
- javascript - 如何使用 Promise 和循环遍历 mongoose 集合