Forum Discussion
Sreepathi
Jun 11, 2020Copper Contributor
Help with merging multiple row into same single row cell
Hi Excels, I am trying to merge distributed different row values in to single cell, Please see the image for understanding. There are 1000 files need to address. Please suggest me formula oriented s...
Riny_van_Eekelen
Jun 11, 2020Platinum Contributor
Sreepathi You can not merge cells and retain the content of each cell.
But you can create what you want by TEXTJOIN (newer Excel versions) or CONCAT (all Excel versions)
=TEXTJOIN(CHAR(10),,A2:A6)
or
=CONCAT(A2&CHAR(10)&A3&CHAR(10)&A4&CHAR(10)&A5&CHAR(10)&A6)..... and format the cell with either of these formulae (in this case B1) to "Wrap Text"
- SergeiBaklanJun 11, 2020Diamond Contributor
I guess you mean CONCATENATE, CONCAT was introduced together with TEXTJOIN. Just =...&...&... is enough.