根据特定的行值选择所有列
大家好,我正在尝试查询已经格式化的Google表格,我能够过滤其中一些数据(我使用了= query(x,select * where * where ...))。我得到的输出如下:
5 | 月 | 6月6 | 月7月 | 7 | 计划 | 月7月 | ||
---|---|---|---|---|---|---|---|---|
名称 | 1 | 0 | 1 | 1 | 2 | 3 | 1 | 现在 |
,我想参考5月(或6月或7月)下的所有数字,以进行一些操作。我可以选择我想要的值,因为我需要自动化它。
如何获得包含特定标记的所有列(就我的情况而言)?如果不可能,您可以建议我另一种做到这一点吗? (我对Google表或Excel的经验不太经验)
Hi everybody I am trying to query an already formatted google sheets, I am able to filter some of those data (I used =query(x,select * where ... )). The output I get is the following:
may | may | june | june | july | july | july | ||
---|---|---|---|---|---|---|---|---|
planned | name | 1 | 0 | 1 | 1 | 2 | 3 | 1 |
Now I want to refer to all the numbers under may (or june or july) in order to do some operation. I can' t just select the value I want because I need to automate it.
How can I get all the columns containing a specific marker(in my case the name of the month)? If it is not possible can you suggest me a different way to do that ? (I am not very experienced with google sheets or excel)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于
查询
不能选择
行,因此transpose
首先,然后选择
您想要的列和然后重新transpose
返回,如果需要:输入:
(选择列> 0):
:
Since
query
can'tselect
rows, you'dtranspose
it first and thenselect
the columns you want and then retranspose
it back, if needed:Input:
Formula(select columns >0):
Output: