How to Concatenate with a Line Break in Excel

In Excel, when we normally combine text from different cells using CONCATENATE.

But sometimes while doing this we need to add a line break between the text which we want to combine.

And the best part is all these 3 formulas are simple to use.

Make sure to download this sample file from here to follow along.

And now, let’s get started.

3 Formulas to Concatenate with a Line Break

In all these formulas there is one thing which is commonly we have used

That’s the CHAR function.

This function returns a specific character according to the number you have specified in it.

And to enter a line break we need to mention 10 if you are using Excel Windows version and 13 if you are using Excel MAC version.

You can learn more about CHAR from here, and now, let’s move on to our line break formulas.

Get Better at Excel in 2018

A bundle of E-Books you need to thrive in Excel this year.

1. By simply using an Ampersand with CHAR

This is actually a simple formula in which you need to refer to all the cell which you want to combine but by using CHAR(10) between those cell references.

Look at this formula below:

=A2&CHAR(10)&B2&CHAR(10)&C2

concatenate with line break simple formula

Important Note: Once you enter this formula in a cell make sure apply “Wrap Text” to that cell.

here’s how this formula works…

Actually, in this formula, we have combined total of five values by using an ampersand (&).

Three cell values and two CHAR functions for line breaks.

First, we have A2 and then a line break, after that B2 and again a line break and in the end, C2.

2. Get a Line Break using CHAR with CONCATENATE Function

This formula is almost same as we have used above but here instead of using an ampersand (&) we have simply used CONCATENATE function.

Learn more about CONCATENATE from here and the formula should be like below:

=CONCATENATE(A2,CHAR(10),B2,CHAR(10),C2)

concatenate with line break using concatenate function

Again in this formula, make sure to apply “Wrap Text” to the cell.

here’s how this formula works…

In this formula, we have combined 5 different things using CONCATENATE.

Value from cell A2, line break using CHAR, Values from cell B2, line break and in the end, value from cell C2.

3. Combination of CHAR and TEXTJOIN to Get a Line Break within Text

TEXTJOIN is the advanced version of CONCATENATE.

In the function, you can use a delimiter to combine text from cells. You can learn more about it from here.

And here is the formula to get a line break while concatenating text from different cells.

=TEXTJOIN(CHAR(10),TRUE,A2:C2)

concatenate with line break text join

here’s how this formula works…

In the formula, we have used CHAR as a delimiter and then used TRUE to ignore empty cells.

And in the end, selected the entire range A2:C2 which we need to combine.

Now what happens is, as we have specified CHAR(10), it will add a line break after every cell value.

Sample File

download this sample file from here to follow along...

Conclusion

While using a line break in a formula the two things you need to take care is using CHAR function for the line break and applying "Word Wrap" to the cell.  

From all the above formulas which we have learned here, I believe using TEXTJOIN is the simple and the best way.

I hope you found this formula tip useful, but you need to tell me one thing now.

Which formula do you think is the best to use?

Share your views with me in the comment section, I'd love to hear from you and make sure to share this tip which you friends as well.

Content Protection by DMCA.com
2018-11-16T06:13:21+00:00

3 Comments

  1. bas 13 Jul, 18 at 6:41 pm - Reply

    sample excel downloaded file is missing

  2. Den 10 Jul, 18 at 8:10 am - Reply

    TEXTJOIN didn’t work for me and wasn’t an option in ‘FORMULAS’, is this only available in later versions of Excel? (currently using 2013), the first of the 3 seemed the easiest to remember and that’s the one i’ll probably use going forward, thank you.

    • Puneet 10 Jul, 18 at 3:43 pm - Reply

      Yup 🙁

Leave A Comment