我陷入困境,在多种功能中迷失了方向。我有凌乱的数据,我已经设法接近我想要的地方,但不能微调它。
表格中有一些笔记可以解释我要做的事情。
我已经用它来复制工厂列,但它还复制了以下列(不是理想的,但我可以使用它),
=ArrayFormula(vlookup(transpose(split(query(rept(row(A2:E)&" ",J2:J),,9^9)," ")), {row(A2:E),A2:J},{2,3,4,5,6},0))
我在数字和存储列上尝试了此列:
=ArrayFormula(SUBSTITUTE(QUERY(FLATTEN(TRIM(SPLIT(FILTER(F2:F&";*", F2:F<>""), ";", 0, 1))), "Select Col1 Where Col1 <> ''"), "*",, ))
但是它在错误的位置添加了空间,并扩展到太多行。似乎增加了额外的空白。
这甚至可能吗?
I am in way over my head and am getting lost amongst the multiple functions. I have got messy data that I have managed to get close to where I want it, but can't fine-tune it.
https://docs.google.com/spreadsheets/d/1wXM8DowXjzCt8etP1qYo6SsA-egIlm-UOp8RnfCYv44/edit?usp=sharing
There are notes in the Sheet that explain much of what I'm trying to do.
I have used this to duplicate the Plant column, but it also duplicates the following columns (not ideal but I can live with it)
=ArrayFormula(vlookup(transpose(split(query(rept(row(A2:E)&" ",J2:J),,9^9)," ")), {row(A2:E),A2:J},{2,3,4,5,6},0))
i tried this on the Nums and Storage column:
=ArrayFormula(SUBSTITUTE(QUERY(FLATTEN(TRIM(SPLIT(FILTER(F2:F&";*", F2:F<>""), ";", 0, 1))), "Select Col1 Where Col1 <> ''"), "*",, ))
but it adds spaces in the wrong place and expands to too many rows. Seems to add extra blanks.
Is this even possible?
发布评论
评论(1)
使用:
更新:
use:
update: