Watch Video – Start a New Line in a Cell in Excel (Shortcut + Formula)
In this Excel tutorial, I will show you how to start a new line in an Excel cell.
You can start a new line in the same cell in Excel by using:
- A keyboard shortcut to manually force a line break.
- A formula to automatically enter a line break and force part of the text to start a new line in the same cell.
Start a New Line in Excel Cell – Keyboard Shortcut
To start a new line in an Excel cell, you can use the following keyboard shortcut:
- For Windows – ALT + Enter.
- For Mac – Control + Option + Enter.
Here are the steps to start a new line in Excel Cell using the shortcut ALT + ENTER:
- Double click on the cell where you want to insert the line break (or press F2 key to get into the edit mode).
- Place the cursor where you want to insert the line break.
- Hold the ALT key and press the Enter key for Windows (for Mac – hold the Control and Option keys and hit the Enter key).
See Also: 200+ Excel Keyboard Shortcuts.
Start a New Line in Excel Cell Using Formula
While keyboard shortcut is fine when you are manually entering data and need a few line breaks.
But in case you need to combine cells and get a line break while combining these cells, you can use a formula to do this.
Using TextJoin Formula
If you’re using Excel 2019 or Office 365 (Windows or Mac), you can use the TEXTJOIN function to combine cells and insert a line break in the resulting data.
For example, suppose we have a dataset as shown below and you want to combine these cells to get the name and the address in the same cell (with each part in a separate line):
The following formula will do this:
=TEXTJOIN(CHAR(10),TRUE,A2:E2)
At first, you may see the result as one single line that combines all the address parts (as shown below).
To make sure you have all the line breaks in between each part, make sure the wrap text feature is enabled.
To enable Wrap text, select the cells with the results, click on the Home tab, and within the alignment group, click on the ‘Wrap Text’ option.
Once you click on the Wrap Text option, you will see the resulting data as shown below (with each address element in a new line):
Using Concatenate Formula
If you’re using Excel 2016 or prior versions, you won’t have the TEXTJOIN formula available.
So you can use the good old CONCATENATE function (or the ampersand & character) to combine cells and get line break in between.
Again, considering you have the dataset as shown below that you want to combine and get a line break in between each cell:
For example, if I combine using the text in these cells using an ampersand (&), I would get something as shown below:
While this combines the text, this is not really the format that I want. You can try using the text wrap, but that wouldn’t work either.
If I am creating a mailing address out of this, I need the text from each cell to be in a new line in the same cell.
To insert a line break in this formula result, we need to use CHAR(10) along with the above formula.
CHAR(10) is a line feed in Windows, which means that it forces anything after it to go to a new line.
So to do this, use the below formula:
=A2&CHAR(10)&B2&CHAR(10)&C2&CHAR(10)&D2&CHAR(10)&E2
This formula would enter a line break in the formula result and you would see something as shown below:
IMPORTANT: For this to work, you need to wrap text in excel cells. To wrap text, go to Home –> Alignment –> Wrap Text. It is a toggle button.
Tip: If you are using MAC, use CHAR(13) instead of CHAR(10).
You may also like the following Excel Tutorial:
8 thoughts on “How to Start a New Line in Excel Cell (Keyboard Shortcut + Formula)”
Shift + command for mac.
There, short and concise.
Sorry to come in so late.
I want to clear up something about the keyboard shortcut for the Mac in case anyone has seen this blog post, tried it, and then is wondering why it doesn’t work.
On the Mac, the Enter key and the Return key are different keys. When I read this blog entry, I commented to someone with me that I will be surprised if it is the Enter key rather than the Return key. They are different keys on a standard Mac keyboard. The Return key is the more commonly used one. Then I added that I was saying all of that without trying it, so I could end up with egg on my face!
Then I tried it. And I was correct. As you have written the shortcut, it doesn’t work.
Control+Option+Enter does nothing. (The Enter key on an Extended Mac keyboard is grouped with the numeric keypad.)
Control+Option+Return does indeed start a new line.
And that’s what I came to find out, and now I know. Thank you for your post. 🙂
Thanks Sumit Bansal, I usually use below format with Alt+Enter between cells in the formula. What do you think?
=+A2&”
“&B2&”
“&C2
Thanks for sharing Cesar.. This works great as well.
I was trying to find some formulae that work in Pages. I was finding it difficult to use CHAR formulae in Pages, but your trick helped me. Thanks César Cariboni.
char(10) char(13) wrap text never worked for me, but this one worked! big thank you!!!
Thanks for the video Sumit ! On the flip side, see how to use ‘Ctrl’ & ‘J’ with Text to Columns to split out text separated by line breaks (carriage returns) https://youtu.be/ky-RdiwnHoM
This ‘Ctrl’ & ‘J’ trick was made popular by Bob Umlas
Thanks for sharing Kevin.. I did an article on amazing things we can do using Find and Replace.. There I covered this Control + J technique.. it’s awesome
http://trumpexcel.com/2014/07/find-and-replace-in-excel/