To add a new line in an Office 365 Excel cell, open the cell for editing, place the cursor where the break should appear, and press Alt+Enter on Windows. On Mac, use the appropriate Control-based shortcut. Enable Wrap Text if the line break exists but is not visible.
Putting multiple lines inside one Excel cell can be confusing when the shortcut, formula, or display settings are not correct. Office 365 Excel allows you to add a new line in a cell manually with a keyboard shortcut or create line breaks automatically with formulas. This guide explains how to insert, display, combine, and remove line breaks so your spreadsheet text appears the way you expect.
To add a new line in an Excel cell on Windows, edit the cell first and press Alt+Enter at the point where you want the break. On Mac, use the available Control-based shortcut combinations for your Excel setup. If the new line exists but does not appear, enable Wrap Text because formatting controls the display of multiline content rather than creating the break itself.
Add a new line in an Office 365 Excel cell
A line break in Excel places multiple lines of text inside one cell instead of moving content into separate rows. This is useful for addresses, labels, notes, and other text that needs a structured layout while staying in a single cell.
The key detail is that the cell must be in editing mode before inserting the break. Selecting a cell and pressing a shortcut without editing the text will usually trigger another Excel command instead of adding a new line.
To add a new line in the same Excel cell:
- Select the cell where you want multiple lines.
- Double-click the cell or press F2 to enter edit mode.
- Click where the new line should begin.
- Press the correct keyboard shortcut for your device.
- Type the next line of text.
- Press Enter when you finish editing the cell.
You can also place the cursor in the formula bar before inserting the break. This is helpful when the cell contains longer text and positioning the cursor inside the grid is difficult.
A common mistake is confusing a new line with text wrapping. A manual line break adds a line separator character to the cell content. Wrapping only changes how Excel displays existing text based on the available cell width.
Create and display line breaks on Windows and Mac
The shortcut for inserting a line break depends on the operating system and Excel version. Windows and Mac users should use separate instructions because the key combinations are not identical.
Insert line breaks on Windows Excel
On Windows, the standard shortcut for a line break in an Excel cell is Alt+Enter.
Use this workflow:
- Open the cell for editing by double-clicking it or pressing F2.
- Move the cursor to the exact position where the line should break.
- Press Alt+Enter.
- Continue typing the next part of the text.
For example, a single cell containing:
123 Main Street
New York, NYcan be created by typing the first line, pressing Alt+Enter, and then typing the second line.
If you need several lines, repeat Alt+Enter at each break location. The cell can contain multiple lines, but the visible result depends on cell formatting settings.
Start new lines in Excel cells on Mac
Mac keyboards and Excel versions can use different shortcut combinations. Common Mac shortcuts include Control + Option + Return or Control + Command + Return. Some environments may respond differently depending on keyboard layout or Excel configuration.
To start a new line on Mac:
- Enter cell edit mode by double-clicking the cell or using the formula bar.
- Place the cursor where the break should appear.
- Try Control + Option + Return first.
- If that does not work, try Control + Command + Return.
- Turn on Wrap Text if the break is inserted but not visible.
The important check is whether the cursor moves to a new line while editing. If the cursor does not move, the shortcut did not insert a line break.
Insert line breaks with Excel formulas
Manual shortcuts work well for one-time edits, but formulas are better when a spreadsheet needs repeated multiline output. Excel formulas can insert line break characters between text values so the result updates automatically when source cells change.
The main function used for this purpose is CHAR(10). It inserts a line separator character into a formula result. In practice, formula-generated breaks are often combined with text functions such as CONCAT or TEXTJOIN.
A simple formula example:
=A2&CHAR(10)&B2If A2 contains a name and B2 contains an address, the result places the two values on separate lines inside one cell.
Formula-based line breaks require Wrap Text to display correctly. Without wrapping enabled, the line break character can exist in the result while the cell still appears as one continuous line.
Choose CHAR(10) or TEXTJOIN for combined data
The right formula depends on how much control you need over the combined text.
Line break method comparison
| Method | Best use case | How it works | Main limitation |
|---|---|---|---|
| Alt+Enter manual break | Editing a small number of cells one time | Places a line break directly while typing inside a cell | Requires manual updates for every cell |
| CHAR(10) formula break | Creating repeated multiline text from formulas | Adds a line separator character inside a formula result | Requires formula knowledge and compatible cell formatting |
| TEXTJOIN with CHAR(10) | Combining multiple cells into one multiline result | Joins values with line separators and can ignore blank cells | Needs a supported Excel version with TEXTJOIN |
| Find & Replace with Ctrl+J | Cleaning existing line breaks across many cells | Finds hidden line break characters for removal or replacement | Requires careful replacement settings to avoid unwanted changes |
TEXTJOIN is useful when combining a range of cells because it can skip empty values. A common pattern is:
=TEXTJOIN(CHAR(10),TRUE,A1:A3)Here:
CHAR(10)creates the line break separator.TRUEtells Excel to ignore empty cells.A1:A3identifies the values being combined.
For example, if A1 contains "Name", A2 contains "Address", and A3 is blank, the formula returns two visible lines: Name and Address, with the empty cell skipped.
Use formulas for repeated multiline output
Formula-generated line breaks are most useful when the same formatting pattern appears across many rows. Instead of manually editing hundreds of cells, a formula can create consistent output from source columns.
A practical example is combining contact information into a single display cell:
Situation: A worksheet stores a name, street address, and city in separate cells and needs one multiline address block.
Steps:
- Enter the source values in separate cells such as A2 for the name, B2 for the street address, and C2 for the city.
- Create a formula using
TEXTJOIN(CHAR(10),TRUE,A2:C2)to combine the values. - Enable Wrap Text on the result cell so each value appears on its own line.
Result: The output cell displays the combined information as separate lines while skipping missing values.
Note: Formula-generated line breaks depend on cell formatting. The separator can exist in the formula result but remain visually hidden until wrapping is enabled.
In practical spreadsheet formatting, the easy-to-miss step is separating the text-generation method from the display method. A formula creates the break; Wrap Text controls whether the reader sees it.
Fix Excel new line shortcuts that do not work
When an Excel line break shortcut fails, the cause is usually not the text itself. The problem is often that Excel is not receiving the command in the correct context, or the cell formatting hides the result.
A safer way to check is to verify the workflow in order instead of repeatedly pressing the shortcut.
Check why Alt+Enter fails in Excel
If Alt+Enter is not working in Excel, check these possible causes:
- Confirm that the cell is in edit mode. The cursor should appear inside the text before pressing Alt+Enter. If the cell border is selected but no cursor is visible, Excel may not insert a line break.
- Check the keyboard input. If Alt+Enter does nothing, test whether the Alt key works with other shortcuts and confirm the keyboard layout is producing the expected keys.
- Verify the Excel environment. Desktop Excel and browser-based Excel can behave differently because they do not always support the same editing shortcuts.
- Check whether the break was added but hidden. If the formula bar shows separate lines while the cell does not, the issue is display formatting rather than shortcut failure.
The observable sign of a successful insertion is that the cursor moves to a new line while editing the cell. If the cursor stays in the same position, the break was not inserted.
Make existing line breaks visible
If the cell contains multiple lines but displays as one line, adjust the formatting rather than adding another break.
Use this checklist:
- Select the cell and turn on Wrap Text from the Home tab to display multiple lines inside the cell.
- Adjust the row height or use AutoFit Row Height if wrapped text is cut off at the top or bottom.
- Enter the cell or formula bar and confirm the line break exists in the text content.
- Check that the text is in the intended cell rather than only appearing in the formula bar.
- Confirm the shortcut and worksheet environment support the method being used.
Wrap Text does not insert a line break. It only changes the way Excel displays text that already contains breaks or exceeds the cell width.
Choose the right Excel line break method
Different line break methods solve different spreadsheet problems. Manual breaks are best for quick edits, while formulas and cleanup tools are better for repeatable data preparation.
Line break method comparison
| Method | Best use case | How it works | Main limitation |
|---|---|---|---|
| Alt+Enter manual break | Editing a small number of cells one time | Places a line break directly while typing inside a cell | Requires manual updates for every cell |
| CHAR(10) formula break | Creating repeated multiline text from formulas | Adds a line separator character inside a formula result | Requires formula knowledge and compatible cell formatting |
| TEXTJOIN with CHAR(10) | Combining multiple cells into one multiline result | Joins values with line separators and can ignore blank cells | Needs a supported Excel version with TEXTJOIN |
| Find & Replace with Ctrl+J | Cleaning existing line breaks across many cells | Finds hidden line break characters for removal or replacement | Requires careful replacement settings to avoid unwanted changes |
Match the method to the spreadsheet task
Choose manual entry when a person is creating a small number of custom notes or labels. The benefit is speed, but every future change requires editing the cell again.
Choose CHAR(10) when a formula needs a fixed separator between known values. For example, combining two cells with a consistent format is a good fit for A1&CHAR(10)&B1.
Choose TEXTJOIN(CHAR(10),TRUE,range) when combining many cells where some values may be blank. The TRUE setting helps prevent unnecessary empty lines.
Choose Find & Replace when the goal is cleanup rather than creation. Imported text may contain hidden line breaks that need removal before sorting, filtering, or exporting data.
Remove unwanted line breaks from cells
Removing line breaks is useful when copied data contains unexpected spacing or imported records do not match the required format.
To remove existing line breaks:
- Open Find and Replace with Ctrl+H.
- Place Ctrl+J in the Find field to target existing line break characters.
- Enter replacement text or leave the Replace field empty to delete the breaks.
- Review the affected cells to confirm the text structure remains correct.
The recurring failure mode is treating every line break problem as a typing issue. The better approach is to identify whether the problem is creating the break, displaying it, or cleaning it.
Test the method on one sample cell: insert a break with Alt+Enter, enable Wrap Text, and compare the result with a CHAR(10) formula so you can identify which approach matches your spreadsheet task.
FAQ
Can Excel cells contain multiple lines?
Yes. Excel cells can contain multiple lines of text using a manual line break or a formula-generated line break. On Windows, you can insert one by editing the cell and pressing Alt+Enter. Formula methods such as CHAR(10) can also create multiline results when Wrap Text is enabled.
Why does my Excel cell show one line after adding a break?
The line break may exist but remain hidden because Wrap Text is disabled. Select the cell and enable Wrap Text to display multiple lines. You can also check the formula bar or enter edit mode to confirm whether the break was added to the cell content.
Does Alt+Enter work in Excel Online?
Excel environments can behave differently, and desktop Excel and browser-based Excel do not always support the same editing shortcuts. If Alt+Enter does not work, verify that the cell is in edit mode and check whether the break was added but hidden by formatting.
How do I remove a line break from an Excel cell?
To remove a line break, open Find and Replace with Ctrl+H, place Ctrl+J in the Find field to target existing line break characters, then replace the breaks with text or leave the replacement field empty. Review the updated cells to confirm the formatting is correct.
