How to Consolidate Data from Different Cells into a Single Cell in Multiple Lines in Excel
Suppose ,If an Employee Address is currently split in different cells, and you wish to consolidate in a single cell in multiple lines, use the excel CHAR function as follows :
Current data split in multiple cells :
The Address is currently split in cells A2 to E2 and the below formula will consolidates and formats into a single cell in multiple lines.
Here ,10 is the ANSI code (number) for line feed, and it provides the line breaks to format data.
Ensure that the cell text wrapping is enabled, by clicking on "Wrap Text".
Suppose If you want to format an Address with line breaks (appearing in multiple lines in cell C3, as in above result) to a single line format, use the below formula :