简体   繁体   中英

Excel merging two rows into one

May I know how to merge two data into one cell? For example:

A1 - 100100
A2 - 110000

into

A3 - 100100
110000

Just concatenate them as you normally would, and a line feed ( char(10) ) in the middle:

=A1 & CHAR(10) & B1

Make sure that "Wrap text" is set for cell A3.

or alternately:

=CONCATENATE(A1; CHAR(10);A2)

you'll still need the Wrap text enabled.

good page to learn more about excel functionality like this

http://www.excelfunctions.net/excel-string-concatenation.html

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