Array expand with one formula

末鹿安然 提交于 2019-12-08 04:24:03

问题


input:

A 4
B 3
C 2

output:

A
A
A
A
B
B
B
C
C

Using only one formula. no code please.


回答1:


=ArrayFormula(IFERROR(TRANSPOSE(SPLIT(CONCATENATE(REPT(A:A&CHAR(9);B:B));CHAR(9)))))



来源:https://stackoverflow.com/questions/17897310/array-expand-with-one-formula

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!