How to Create Another Line in an Excel Cell
In this article
To create another line in an Excel cell, you need to insert a line break using a keyboard shortcut or menu option. This lets you display multiple lines of text within a single cell, improving readability for labels, addresses, or multi-line notes without widening the column. No special tools or add-ins are required—this works in all modern versions of Excel on Windows and macOS.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS)
- A cell containing text you want to split into multiple lines
- Access to your keyboard (for the shortcut)
Step-by-Step
- Double-click the cell where you want to add a line break, or select the cell and press F2 to enter edit mode. This puts Excel into cell editing mode, allowing you to modify the text directly inside the cell.
- Move your cursor to the exact spot in the text where you want the line to break—this is typically after a comma, period, or at the end of a logical phrase.
- On Windows, press and hold the Alt key, then press Enter. On macOS, press and hold the Option key, then press Enter. This inserts a line break character (ASCII 10) at the cursor position without exiting edit mode.
- Continue typing the next line of text after the line break. You can repeat this process multiple times within the same cell to create three, four, or more lines.
- Press Enter or Tab to exit edit mode and confirm the changes. The cell will now display multiple lines of text if the row height is sufficient.
- If the text appears cut off or only one line is visible, click the cell, then drag the bottom edge of the row header downward to increase row height until all lines are visible. Alternatively, double-click the bottom edge of the row header to auto-fit the height to the content.
- To verify the line break was inserted correctly, select the cell and look at the formula bar. You should see a small downward arrow symbol (↵) or a line break visible between the text segments.
Common Mistakes
- Using the regular Enter key instead of Alt+Enter (Windows) or Option+Enter (macOS). The regular Enter key exits edit mode and moves to the next cell, ignoring your attempt to break the line.
- Forgetting to enable text wrapping. While a line break forces a new line, if text wrapping is turned off, the cell may still appear to show only one line even if the break exists. Always ensure Wrap Text is enabled under the Home tab > Alignment group.
- Typing a space after the line break and then pressing Enter—this can cause unintended formatting or make the line break invisible if the row height isn’t adjusted.
- Assuming you can use Ctrl+Enter or Command+Enter. These shortcuts do not insert line breaks; Ctrl+Enter fills the selected cells with the same content, and Command+Enter on macOS does the same.
- Using a soft return (Shift+Enter) from other applications like Word or Google Docs. Excel does not recognize Shift+Enter as a line break command.
Tips
- Use line breaks for addresses, bullet-point lists within cells, or multi-line headers—this avoids having to use multiple cells just for formatting.
- If you’re copying text from a website or document and want to preserve line breaks, paste it into Notepad or TextEdit first, then copy again into Excel. This removes hidden formatting that might interfere.
- For consistency across a column, use the same number of line breaks and spacing in each cell. This improves visual alignment and makes spreadsheets look professional.
- Combine line breaks with the Wrap Text feature: even though line breaks force a break, Wrap Text ensures Excel adjusts the cell to show all text without overflowing into adjacent cells.
- Use the CHAR(10) function in formulas to programmatically insert line breaks. For example: =A1&CHAR(10)&A2 will combine the contents of A1 and A2 with a line break between them.
- If you need to remove line breaks later, use Find and Replace: press Ctrl+H, type Alt+010 in the Find field (hold Alt and type 010 on the numeric keypad), leave Replace with empty, then click Replace All.
Troubleshooting
- Line break doesn’t appear: Confirm you’re using Alt+Enter (Windows) or Option+Enter (macOS), not just Enter. Also check if you’re editing the cell correctly—double-click or press F2 before inserting the break.
- Text still wraps to one line: Go to the Home tab, click Wrap Text to turn it on. Without Wrap Text enabled, Excel ignores line breaks and displays only the first line, even if they exist.
- Row height won’t adjust: Manually drag the row boundary or right-click the row number > Row Height and set a value like 40–60. Auto-fit may fail if there are merged cells or extreme column widths.
- Line break shows as a square or question mark: This usually means the font doesn’t support the line break character. Switch to a standard font like Calibri, Arial, or Times New Roman.
- Line breaks disappear after copying to another sheet: Ensure the target cell has Wrap Text enabled and sufficient row height. If pasting as values, line breaks are preserved—but if pasting as a link or using certain paste options, they may be stripped.
- Formula with CHAR(10) shows #VALUE!: Check that the referenced cells contain text. If any cell is blank or contains an error, the formula fails. Use IF functions to handle blanks: =IF(A1="", "", A1&CHAR(10))