Adding a new line within an Excel cell helps improve readability and organization, especially when dealing with lengthy text, addresses, or multi-part data. Instead of spreading content across multiple cells, line breaks allow you to keep related information neatly contained in a single cell.
For example, you might use a new line to:
Separate different parts of an address (street, city, zip code).
Create lists within a single cell (bulleted or numbered manually).
Format notes, comments, or instructions for better clarity.
Without proper line breaks, data can appear cluttered, making it harder to read and analyze. Learning how to insert a new line in an Excel cell ensures your spreadsheets remain clean, professional, and easy to navigate.
The fastest way to insert a new line in an Excel cell is by using keyboard shortcuts. Here’s how to do it on different operating systems:
Press Alt + Enter
while typing in a cell to create a new line.
Use Option + Command + Enter
(or sometimes Control + Option + Return
, depending on your Excel version).
Double-click the cell (or press F2) to enter edit mode.
Place the cursor where you want the line break.
Press the shortcut for your operating system.
The text will wrap, and the cell height will adjust automatically (if "Wrap Text" is enabled).
Tip: If the new line doesn’t appear, check that Wrap Text is turned on (Home tab > Alignment group > Wrap Text).
This method is ideal for quick edits without needing formulas or extra formatting.
Sometimes you need to combine text from different cells while adding line breaks between them. Excel formulas like CHAR(10) (Windows) or CHAR(13) (Mac) help automate this process.
To join text with a line break in Windows:
=A1 & CHAR(10) & B1
Or using CONCATENATE:
=CONCATENATE(A1, CHAR(10), B1)
For more flexibility:
=TEXTJOIN(CHAR(10), TRUE, A1, B1, C1)
Wrap Text must be enabled for the line break to display.
On Mac, use CHAR(13) instead of CHAR(10) in older Excel versions.
These formulas are useful for dynamic data like addresses, labels, or multi-part entries.
This method ensures clean formatting when merging data from multiple cells.
Even after inserting line breaks, your Excel cells may not display them properly if formatting isn’t adjusted. Here’s how to ensure multi-line cells appear as intended:
Select the cell(s) containing line breaks
Go to the Home tab
Click Wrap Text in the Alignment group
Double-click the row border to auto-fit
Or manually drag the row border for custom spacing
Vertical alignment: Set to "Top" for better visibility of multi-line content
Horizontal alignment: Choose "Left" for most text-based entries
For perfect spacing:
Right-click cells → Format Cells
Go to the Alignment tab
Adjust Indent if needed
Pro Tip: Use Merge Cells cautiously with wrapped text - it can complicate formatting.
Even experienced Excel users encounter problems with line breaks. Here are the most frequent issues and how to solve them:
Problem: You pressed Alt+Enter but the text stays on one line.
Solution:
Ensure Wrap Text is enabled (Home tab > Alignment group)
Manually adjust row height if it doesn't auto-resize
Problem: You see the CHAR(10) code instead of an actual line break.
Solution:
Check that Wrap Text is turned on
Replace CHAR(10) with CHAR(13) if using Excel for Mac
Problem: Unwanted spaces before/after the line break.
Solution:
Use the TRIM function:
=TRIM(SUBSTITUTE(A1, CHAR(10), " "))
Problem: Line breaks disappear when printing.
Solution:
Check "Print Gridlines" in Page Layout
Adjust row height to ensure all lines are visible
Problem: Line breaks disappear when saving as CSV.
Solution:
Save as .xlsx instead of .csv when possible
Or enclose text in quotes in the CSV file
Master these professional techniques to handle line breaks like an Excel power user:
Transform existing data by:
Pressing Ctrl+H to open Find & Replace
Finding a specific character (like a comma)
Replacing with Ctrl+J (inserts line break character)
Use this formula to count line breaks:
=LEN(A1)-LEN(SUBSTITUTE(A1,CHAR(10),""))
Clean up data with:
=SUBSTITUTE(A1,CHAR(10)," ")
Use Power Query to:
Select your data
Go to Data > From Table/Range
Split column by delimiter (using line break)
Expand to new rows
Press Alt+Enter to create new lines
Use F2 to edit, then arrow keys to navigate between lines
Highlight multi-line cells with:
=IF(ISNUMBER(FIND(CHAR(10),A1)),TRUE,FALSE)
Pro Tip: Combine line breaks with other formatting like indents (Alt+H+6) for perfectly structured cells.