How to Combine Excel Cells with Line Breaks for Mailing Labels
Question details
The user needs to merge multiple cells containing name and address fields into a single cell, placing each piece of information on a new line to create formatted mailing labels.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Consolidating distinct address data fields from multiple columns or rows into a single properly formatted mailing label cell.
- Observed behavior
- Data needs to be combined into one cell while retaining line breaks so that each original value displays on a separate line.
Ensure that the 'Wrap Text' feature is enabled on your destination cell. Without this setting turned on, the line breaks created by the formula will not display, and your text will appear as one continuous line.
Use the TEXTJOIN Function (Recommended)
The TEXTJOIN function is the most efficient method for combining a continuous range of cells with a line break delimiter, and it automatically ignores empty cells.
By utilizing the CHAR(10) character code, which represents a line break in Excel, you can use TEXTJOIN to quickly stack data from multiple rows or columns into a single cell.
Click on the empty cell where you want the final formatted mailing label to appear.
Type the formula =TEXTJOIN(CHAR(10), TRUE, A3:A9) into the formula bar. Replace A3:A9 with the actual range of your address data.
Press Enter to apply the formula. Then, select the cell, navigate to the Home tab on the ribbon, and click the 'Wrap Text' button so the line breaks display correctly.

Use the Ampersand (&) Operator
The ampersand operator allows you to manually string together individual, non-adjacent cells along with line breaks.
Use the CONCAT Function
The CONCAT function serves as an alternative to the ampersand operator, allowing you to combine text fields and line break codes sequentially.
Create Mailing Labels Easily with WPS Spreadsheet
WPS Spreadsheet fully supports advanced text functions like TEXTJOIN, CONCAT, and CHAR(10). You can seamlessly merge address fields into beautifully formatted mailing labels without losing compatibility with your existing Excel files.
- 1. Open your data file: Launch WPS Spreadsheet and open the document containing your address and name lists.
- 2. Apply the TEXTJOIN formula: Select an empty cell and input =TEXTJOIN(CHAR(10), TRUE, A3:A9) to combine your desired range.
- 3. Enable Wrap Text: Navigate to the Home tab in WPS Spreadsheet and click 'Wrap Text' to properly display the multi-line mailing label.
- 4. Batch generate labels: Click and drag the fill handle at the bottom right of the cell to apply this layout to the rest of your mailing list.

Frequently Asked Questions
Why are my combined cells displaying on one single line instead of multiple lines?
The line breaks generated by the CHAR(10) formula will not be visible unless the 'Wrap Text' formatting is enabled. Select the result cell, navigate to the Home tab on your ribbon, and click 'Wrap Text' to force the data to display on separate lines.
Can I use CHAR(10) for line breaks on Mac devices?
Yes, in modern versions of Excel and WPS Office, CHAR(10) works seamlessly for creating line breaks on both Windows and Mac operating systems. Note that in some very old Mac versions of Excel, CHAR(13) was required as the carriage return code, but this is no longer the standard.
How can I prevent blank lines in my mailing labels if a cell is empty?
To automatically skip empty cells (such as an empty 'Address Line 2'), use the TEXTJOIN function. By setting the second argument to TRUE (e.g., =TEXTJOIN(CHAR(10), TRUE, A3:A5)), the formula will ignore any blank cells in the range, ensuring your mailing label doesn't contain awkward blank spaces.




