源单元: CCA,BF
结果单元格: c,cc,cca,b,bf
cca
是与层次结构有关的复杂代码。它的意思是, cca
是 cc
的孩子,它是 c
的孩子。因此,公式应分为所有父母( c
和 cc
),并保留孩子( cc
a) - 串起的串联列表。当前的最大级别为四个( abcd
),但将来可能更多。
我不知道如何为此创建一个公式,但是我得到了这个公式: = arrayformula(join(“”,“,”,uniquar(tranpose(transpose(left(split(a2,'a2,'',“,”,true,true)) ,序列(max(len(a2,',“,”,true,true))))))))))))
请参见post there> there 。
但是,我需要一个阵列公式,因为它可以应用于整个列中,
它连接到研究数据是 https://raramagnetica.vercel.app/vikus/vismag/
source cell: CCA, BF
result cell: C, CC, CCA, B, BF
CCA
is a complex code relating to a hierarchy. It means, CCA
is child of CC
, which is child of C
. So, the formula should split into all parents (C
and CC
) and keep the child (CC
A) -- and do this for a concatenated list of strings. The current maximum of levels is four (ABCD
) but might be more in the future.
I have no clue how to create a formula for this, but I got this formula: =arrayformula( join( ", ", unique( flatten( transpose( left( split(A2, ", ", true, true), sequence( max( len( split(A2, ", ", true, true) ) ) ) ) ) ) ) ) )
See post here.
I'd need however a array formula in the sense that it can be applied to an entire columns
It's connected to the research data being part of https://raramagnetica.vercel.app/vikus/vismag/
发布评论
评论(1)
尝试:
对于非英语床单:
update:
但是,如果您获得的大数据集更好(更快),将其分成块,例如:
try:
for non-english sheets:
update:
but if you got large dataset its better (faster) to split it into chunks like: