How to Insert a New Line in an Excel Cell

Why You Need to Use New Lines in Excel Cells

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.

Keyboard Shortcuts for Adding a New Line in Excel

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:

Windows Shortcut

Press Alt + Enter while typing in a cell to create a new line.

Mac Shortcut

Use Option + Command + Enter (or sometimes Control + Option + Return, depending on your Excel version).

How It Works

  1. Double-click the cell (or press F2) to enter edit mode.

  2. Place the cursor where you want the line break.

  3. Press the shortcut for your operating system.

  4. 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.

Using Excel Formulas to Insert Line Breaks

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.

Basic Formula: CONCATENATE or & with CHAR(10)

To join text with a line break in Windows:

=A1 & CHAR(10) & B1

Or using CONCATENATE:

=CONCATENATE(A1, CHAR(10), B1)

Using TEXTJOIN (Excel 2019 & Office 365)

For more flexibility:

=TEXTJOIN(CHAR(10), TRUE, A1, B1, C1)

Important Notes:

  • 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.

Formatting Cells to Display Multiple Lines Correctly

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:

Enabling Wrap Text

  1. Select the cell(s) containing line breaks

  2. Go to the Home tab

  3. Click Wrap Text in the Alignment group

Adjusting Row Height

  • Double-click the row border to auto-fit

  • Or manually drag the row border for custom spacing

Alignment Options for Better Readability

  • Vertical alignment: Set to "Top" for better visibility of multi-line content

  • Horizontal alignment: Choose "Left" for most text-based entries

Cell Margins (Advanced Control)

For perfect spacing:

  1. Right-click cells → Format Cells

  2. Go to the Alignment tab

  3. Adjust Indent if needed

Pro Tip: Use Merge Cells cautiously with wrapped text - it can complicate formatting.

Common Issues and Fixes When Adding New Lines

Even experienced Excel users encounter problems with line breaks. Here are the most frequent issues and how to solve them:

1. Line Breaks Not Visible

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

2. Formulas Showing CHAR Codes Instead of Line Breaks

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

3. Extra Spaces Appearing with Line Breaks

Problem: Unwanted spaces before/after the line break.
Solution:

  • Use the TRIM function:

     
    =TRIM(SUBSTITUTE(A1, CHAR(10), " "))

4. Printing Problems with Multi-Line Cells

Problem: Line breaks disappear when printing.
Solution:

  • Check "Print Gridlines" in Page Layout

  • Adjust row height to ensure all lines are visible

5. CSV Files Not Preserving Line Breaks

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

Advanced Tips for Working with Multi-Line Cells in Excel

Master these professional techniques to handle line breaks like an Excel power user:

1. Bulk Adding Line Breaks with Find & Replace

Transform existing data by:

  1. Pressing Ctrl+H to open Find & Replace

  2. Finding a specific character (like a comma)

  3. Replacing with Ctrl+J (inserts line break character)

2. Counting Line Breaks in a Cell

Use this formula to count line breaks:

=LEN(A1)-LEN(SUBSTITUTE(A1,CHAR(10),""))

3. Removing All Line Breaks at Once

Clean up data with:

=SUBSTITUTE(A1,CHAR(10)," ")

4. Splitting Multi-Line Cells into Separate Rows

Use Power Query to:

  1. Select your data

  2. Go to Data > From Table/Range

  3. Split column by delimiter (using line break)

  4. Expand to new rows

5. Keyboard Navigation in Multi-Line Cells

  • Press Alt+Enter to create new lines

  • Use F2 to edit, then arrow keys to navigate between lines

6. Conditional Formatting for Cells with Line Breaks

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.