修剪行和tranpose在Google表中

发布于 2025-02-11 00:08:18 字数 314 浏览 15 评论 0原文

我正在尝试修剪这行水平的行,然后用此公式将值转换为两个列中:

=滤波器(7:8,trim(flatten(Query(transpose(7:8),9^9),9^9)))< >“”),但看起来它无能为力。以下是数据:

请帮助

”在此处输入图像描述”

I'm trying to trim this rows horizontaly and then transpose the values in two columns with this formula:

=FILTER(7:8, TRIM(FLATTEN(QUERY(TRANSPOSE(7:8),,9^9)))<>"") But it looks like it don't do anything. Here is the data:

Help with this please

enter image description here

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

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

发布评论

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

评论(2

回首观望 2025-02-18 00:08:18

以下公式应产生您想要的行为:

=QUERY(TRANSPOSE(7:8),"select * where Col1 is not null")

The following formula should produce the behaviour you want:

=QUERY(TRANSPOSE(7:8),"select * where Col1 is not null")
风吹雨成花 2025-02-18 00:08:18

可以尝试filter()函数。

=TRANSPOSE(FILTER(A7:I8,A7:I7<>""))

还可以使用query() oike-

=QUERY(TRANSPOSE(A7:J8),"where Col1 is not null",0)

”在此处输入图像描述”

Can try FILTER() function.

=TRANSPOSE(FILTER(A7:I8,A7:I7<>""))

Also could use QUERY() like-

=QUERY(TRANSPOSE(A7:J8),"where Col1 is not null",0)

enter image description here

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