Luc*_*ein 61

假设你的数组是:

A1:A3 = {1;2;3}和B1:B3 ={4;5;6}

写点某处: ={A1:A3;B1:B3}

分号;用于分隔行,逗号,用于列.

以下是文档:在Google表格中使用数组


小智 10

=FLATTEN(A1:A3,B1:B3) 应该可以解决问题

截屏


小智 7

TRANSPOSE() //takes matrix as argument and returns transposed matrix
SPLIT() //breaks apart a string based on a delimiter character (char(13) here)
ARRAYFORMULA() //applies the formula within to array vs cell
CONCATENATE() //joins each cell in each range with a char(13), then the next cell...then the next matrix of cells (to which the first process also happens)
//note char(13) is a carriage return, i will call CR for ease
Run Code Online (Sandbox Code Playgroud)

所以如果你有矩阵A:1,2,3和矩阵B:4,5,6

步骤看起来像这样:

TRANSPOSE(SPLIT(ARRAYFORMULA(CONCATENATE("1CR2CR3CR" ; "4CR5CR6CR")), CR))
TRANSPOSE(SPLIT("1CR2CR3CR4CR5CR6CR", "CR"))
TRANSPOSE({"1","2","3","4","5","6"})
Run Code Online (Sandbox Code Playgroud)

最后:

1
2
3
4
5
6
Run Code Online (Sandbox Code Playgroud)