Function Problems

How to Combine Excel Cells with Line Breaks for Mailing Labels

John WilsonJohn Wilson Oct 23, 2026 870 views

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.

How to Combine Excel Cells with Line Breaks for 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.
Before you start

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.

Solution 1Recommended

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.

1
Select the destination cell

Click on the empty cell where you want the final formatted mailing label to appear.

2
Enter the TEXTJOIN formula

Type the formula =TEXTJOIN(CHAR(10), TRUE, A3:A9) into the formula bar. Replace A3:A9 with the actual range of your address data.

3
Enable Wrap Text

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 TEXTJOIN Function (Recommended)
Tip: The 'TRUE' argument in the TEXTJOIN formula tells Excel to ignore any blank cells in your selected range, preventing unsightly blank lines in your finished mailing labels.
Efficient Data Management with WPS Office

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. 1. Open your data file: Launch WPS Spreadsheet and open the document containing your address and name lists.
  2. 2. Apply the TEXTJOIN formula: Select an empty cell and input =TEXTJOIN(CHAR(10), TRUE, A3:A9) to combine your desired range.
  3. 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. 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.
Fully compatible with Microsoft Excel (.xlsx) formats and formulas.Includes all advanced text functions like TEXTJOIN and CONCAT for complex data merging.Free, lightweight, and fast alternative for seamless daily office work.Familiar user interface requires no learning curve to master.
microsoft office alternative - wps office

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.