假设数据在A1:C4,用公式:
=IFERROR(INDIRECT(TEXT(RIGHT(SMALL(COLUMN(A:C)*10^6+ROW($1:$4)*100+COLUMN(A:C),ROW(A1)),6),"R0C00"),),"")
数组公式,需要按CTRL+SHIFT+回车,完成公式,下拉。
A8:A11=TRANSPOSE(B2:B5)
数组公式,Carl+Shift+Enter三键
=IF(MOD(ROW(A1),5),OFFSET($A$1,MOD(ROW(A1)-1,5),(ROW(A1)-1)/5),"")