javascript - Unable to parse query string for Function QUERY parameter 2: NO_COLUMN: Col5
问题描述
Trying to Import data from another sheet once another column value is equal the "yes"
Tried the following:
=query(ImportRange("1yRp2JG_ttPbly5A7HmgJZwH-Xn8l3GKJxo8DshzffOQ","validated!E2:E"),"SELECT Col5 WHERE Col12=" & "'" & L2 & "'", Yes)
Gives me the above error
解决方案
仅导入两列(B 和 C)时,没有第 5 列,也没有仅导入一列(E)。也许您想导入 B:F,但如果在这种情况下使用 JavaScript,您应该提供一个最小的、可重现的示例。
推荐阅读
- pycharm - Pycharm 错误:外部文件更改同步可能很慢
- javascript - 自定义 window.FileReader 方法在 Angular 区域外执行
- json - python manage.py loaddata moderation_categories.json 给我错误或未安装 FFMPEG
- typescript - 带有 fp-ts 和 mongo db 的异步迭代器
- django - 并非我在“render_table”中的所有列都是可订购的,我该怎么办?
- mongodb - mongodb atlas 中的 Lucene $search 管道
- node.js - Discord oauth2 无法获得公会
- vue.js - Vue尾风项目不会运行postcss错误
- flutter - showDialog 之前的颤振加载指示器
- google-cloud-platform - BigQuery 跨区域表同步