How to Add a New Line with the CONCATENATE Formula in Excel – 5 Methods

This is the sample dataset.

new line in Excel concatenate formula

 


Method 1 – Using the CONCATENATE Formula to Add a New Line

The Combined column was added to the dataset.

new line in Excel concatenate formula

Steps:

  • Enter the following formula in E4.
=CONCATENATE(B4,CHAR(10),C4,CHAR(10),D4)

Here, B4 is the Name, C4 is the Street Address, and D4 is the State. CHAR(10) will add a new line for each of the above and CONCATENATE will join them with line breaks.

CONCATENATE function

  • Press ENTER and drag down the Fill Handle.

CONCATENATE function

The combined strings will be displayed. To make line breaks visible, select Wrap Text and AutoFit Row Height.

new line in Excel concatenate formula

  • Select the range of combined texts and go to the Home Tab >> Alignment Group >> Wrap Text.

CONCATENATE function

Increase the row height to see the strings.

new line in Excel concatenate formula

  • Select the range and go to the Home Tab >> Cells Group >> Format Dropdown >> AutoFit Row Height Option.

CONCATENATE function

The combined text strings were added in new lines in the Combined column.

CONCATENATE function

Read More: How to Enter within a Cell in Excel 


Method 2 – Adding a New Line with the Ampersand Operator

This is the dataset.

new line in Excel concatenate formula

Steps:

  • Enter the following formula in E4.
=B4&CHAR(10)&C4&CHAR(10)&D4

Here, B4 is the Name, C4 the Street Address, and D4 the State. CHAR(10) will add a new line for each and Ampersand (&) will join them with line breaks.

Ampersand Operator

  • Press ENTER and drag down the Fill Handle.

Ampersand Operator

The combined texts will be displayed. To make the new lines visible, select Wrap Text and AutoFit Row Height.

new line in Excel concatenate formula

The concatenated text strings will be displayed in new lines.

Ampersand Operator

Read More: Excel: Inserts New Line in Cell Formula 


Method 3 – Using the TEXTJOIN Function

This is the dataset.

new line in Excel concatenate formula

Steps:

  • Enter the following formula in E4.
=TEXTJOIN(CHAR(10),TRUE,B4,C4,D4)

Here, B4 is the Name, C4 the Street Address, and D4 the State. CHAR(10) will add a new line for each and TEXTJOIN will join them with line breaks.

TEXTJOIN function

  • Click ENTER and drag down the Fill Handle.

TEXTJOIN function

The combined text strings will be displayed. The Wrap Text and the AutoFit Row Height options are then used.

TEXTJOIN function

The joined text strings with line breaks will be displayed.

new line in Excel concatenate formula

Read More:  How to Put Multiple Lines in Excel Cell 


Method 4 – Using the CONCATENATE Formula in DAX and Power Pivot to Add New Lines

This is the dataset.

new line in Excel concatenate formula

Steps:

  • Go to the Insert Tab >> PivotTable.

Power pivot

  • In the PivotTable from table or range dialog box, select the data range and click New Worksheet.
  • Check Add this data to the Data Model and click OK.

Power pivot

In a new sheet  PivotTable1 and PivotTable Fields will be displayed.

new line in Excel concatenate formula

  • Right-click Range and choose Add Measure.

Power pivot

  • In the Measure wizard, enter Measure Name (here, Combined) and enter the following formula.
=CONCATENATEX('Range','Range'[List],"
")

Here, Range is the table name, List the name of the column in which information is gathered. A line break was used as a delimiter by pressing ENTER.

  • Click OK.

Power pivot

The measure name Combined as a field name is displayed under Range.

new line in Excel concatenate formula

  • Drag down Name to Rows and Combined to Values.

Power pivot

  •  Go to the PivotTable Analyze Tab >> Grand Totals Group >> Off for Rows and Columns to skip Grand Total

Power pivot

The combined text strings will be displayed. Use the Wrap Text option to see the line breaks.

Power pivot

  • Select the range of the Combined column and go to the Home Tab >> Alignment Group >> Wrap Text.

Power pivot

The table with the combined texts each in new lines will be displayed.

new line in Excel concatenate formula


Method 5 – Using the Power Query to Add a New Line

This is the dataset.

new line in Excel concatenate formula

Steps:

  • Go to the Data Tab >> Get & Transform Data  >> From Table/Range.

Power Query

  • In the Create Table wizard, select the data range and click My table has headers.
  • Click OK.

Power Query

The Power Query Editor window will be displayed.

new line in Excel concatenate formula

  •  Click the formula symbol.

Power Query

  • Enter the following formula.
= Table.AddColumn(#"Changed Type", "Combined", each Text.Combine({[Name],[Street Address],[State]},"#(lf)"))

Here, Combined is the new column name, {[Name],[Street Address],[State]} are the names of the columns to be added, and “#(lf)” is the delimiter for line breaks.

Power Query

  • Press ENTER to see the combined texts in new lines in the Combined column.

new line in Excel concatenate formula

  • To close this window, go to the Home Tab >> Close & Load Group >> Close & Load Option.

Power Query

The table in the Power Query Editor window will be loaded into a new sheet: Table2.

Power Query


Practice Section

Practice with this sample sheet.

Practice


Download Workbook


Related Articles


<< Go Back to New Line | Text Formatting | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Tanjima Hossain
Tanjima Hossain

TANJIMA HOSSAIN is a marine engineer who enjoys working with Excel and VBA programming. For her, programming is a handy, time-saving tool for managing data, files, and online tasks. She's skilled in Rhino3D, Maxsurf C++, MS Office, AutoCAD, and Excel & VBA, going beyond the basics. She holds a B.Sc. in Naval Architecture & Marine Engineering from BUET and is now a content developer. In this role, she creates tech-focused content centred around Excel and VBA. Apart from... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo