简体   繁体   中英

Excel text to rows using formula

I have a concat formula returning me a comma separated list of names in a cell

=concat(A2:A10 & " ,") returning [john, jack, jill] in the cell

Is there a way to add to this formula to expand to

john
jack
jill

in a column like that above?

You can change the separator to be a line break =CONCAT(A2:A10 & CHAR(10)) or =TEXTJOIN(CHAR(10),TRUE,P3:P5)

The target cell needs to be set to Wrap Text for the line breaks to be displayed correctly.

我使用 Power Editor 将单元格转换为行

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM