How to Enter Next Line in Excel
In this article
Yes, you can enter a new line within a single cell in Excel. The standard method is to press Alt + Enter while typing or editing the cell. This forces the text to wrap to the next line without moving your cursor to an adjacent cell. Alternatively, you can use the ribbon interface to insert a line break manually.
What You'll Need
- A computer with Microsoft Excel installed. This guide applies to Excel on Windows and macOS. The keyboard shortcut works on both platforms, though the ribbon options may differ slightly by version.
- A spreadsheet with existing data. While the instructions below start with a blank sheet, the concept applies to any cell where you want to wrap text.
Step-by-Step
- Open your workbook. Launch Microsoft Excel and open the specific file or create a new one where you wish to insert a line break.
- Select the cell. Click on the specific cell where you want the text to continue on the next line. Ensure the cell is active (the border should be highlighted).
- Start typing or edit existing text. If the cell is empty, begin typing your content. If the cell already contains text, double-click the cell or press F2 to enter edit mode. Position your cursor where you want the new line to begin.
- Insert the line break using the keyboard shortcut. The most direct way to enter the next line in Excel is to hold down the Alt key on your keyboard and press Enter. On a Mac, the equivalent shortcut is Control + Option + Return. You will see the text automatically wrap to the line below within the same cell.
- Continue typing. After the line break, the text will appear on the second line of the same cell. You can continue typing or pasting text, and it will flow down within that single cell.
- Verify the result. Look at the cell to ensure the text is formatted as multi-line text. You can press Esc to exit edit mode and view the final result.
- Format the cell for wrapping (Optional). If your text is not wrapping automatically after you type it, you may need to enable text wrapping. Click the "Wrap Text" button in the "Home" tab on the ribbon (usually located in the "Alignment" group). This ensures that any line breaks you insert are respected and visible.
Common Mistakes
- Pressing Enter instead of Alt + Enter. When you are finished typing in a cell and press the standard Enter key, Excel automatically moves the cursor down to the next cell in the column. This does not create a line break; it moves you out of the cell. Always use Alt + Enter to stay in the same cell.
- Ignoring the "Wrap Text" setting. If you insert a line break but the cell is too narrow, the second line might get cut off. By default, Excel might hide the overflow text if the cell is not wide enough. Enabling "Wrap Text" (Step 7) resolves this by making the cell grow taller to accommodate the new line.
- Using the wrong shortcut on Mac. Mac users sometimes try to use Shift + Enter or Command + Enter to create a line break. These keys do not work for this purpose in Excel. You must use Control + Option + Return for a line break and Command + Enter to finish editing and move to the next cell.
- Forgetting to double-click to edit. If you simply click a cell and start typing, Excel overwrites the existing content. To insert a line break into text that is already there, you must enter edit mode by double-clicking the cell or pressing F2 before you can place the cursor.
Tips
- Use the ribbon for visibility. If you are unsure if your line breaks are working, use the mouse. Click inside the cell, go to the Home tab, and click the "Wrap Text" button. This is the visual way to ensure Excel is treating the cell content as multi-line text.
- Adjust column width dynamically. When you insert a line break, your cell content changes height. If you find your spreadsheet becoming cluttered, you can use the double-headed arrow on the right edge of the column header to resize the column to fit the text. This is often faster than manually adjusting the width for every cell.
- Consistency is key. When entering data that requires a specific format (like a mailing address), always use the same method (Alt + Enter) for every line. This ensures the data is uniform and easier to sort or filter later.
- Use manual insertion for fine-tuning. If you are pasting a block of text from a website or another document, the existing formatting might include paragraph breaks. While pasting usually preserves these, sometimes they appear as giant spaces. Selecting the text and using Alt + Enter manually gives you control over exactly where the lines fall.
Troubleshooting
If inserting a line break does not work as expected, follow these steps to identify the issue.
Issue: Text is being cut off or hidden.
Diagnosis: The cell width is too narrow to display the second line of text.
Fix: Click the column header to select the entire column. Go to the Home tab and click "Wrap Text". This will force Excel to make the cell tall enough to show both lines of text. Alternatively, double-click the column boundary between headers to auto-fit the column width.
Issue: The line break creates a blank space instead of a new line.
Diagnosis: The data you are pasting or importing already contains paragraph formatting that Excel interprets as a space.
Fix: Manually select the text in the cell and press Backspace to remove the unwanted space. Then, use the Alt + Enter shortcut to create a true line break.
Issue: The shortcut does nothing.
Diagnosis: Excel is not in edit mode. You must be able to edit the text to insert a break.
Fix: Double-click the cell or press F2. If the cursor is flashing in the text, try the shortcut again. If the cursor does not move, you are likely in "Select Mode" (clicking the cell selects it) rather than "Edit Mode" (clicking the cell allows you to change text).
Issue: The text is still on one line after Alt + Enter.
Diagnosis: Text wrapping is disabled on the sheet or the cell.
Fix: Ensure the "Wrap Text" button is active in the Home tab. If it is grayed out, it may be disabled for the entire sheet (rare) or you may need to select a range of cells first. Select the specific cell and click the button to toggle it on.
Frequently Asked Questions
How do I insert a line break without using the keyboard?
You can insert a line break using the ribbon. Click inside the cell, go to the "Home" tab, find the "Alignment" group, and click the "Wrap Text" button. While the text is still selected (or after you click back into the cell), press Ctrl + J. This inserts a special line break character that forces the text to wrap.
Does Alt + Enter work in all versions of Excel?
Yes, the Alt + Enter shortcut is a standard keyboard combination across nearly all versions of Excel for Windows, including Office 365, Excel 2019, and Excel 2016. It is a native function of the application.
Can I use a line break in a formula?
No, standard Excel formulas do not recognize the Alt + Enter keyboard shortcut. If you are trying to display text in a cell based on a condition using the IF function, you must use the CHAR(10) function instead. For example, =IF(A1>B2, "High", "Low" & CHAR(10) & "Value") will insert a line break at the end of the word "Value".
Why does my text disappear when I type a line break?
This usually happens because the cell is formatted as "Text" but the width is set too small, or because the font size is too large for the cell. When a cell is too narrow, Excel often hides the overflow text. Enabling "Wrap Text" will reveal the text again.
How do I remove a line break?
To remove a line break, you must be in edit mode. Double-click the cell or press F2. Place your cursor right before the text on the second line and press Backspace. The text will move up to the first line, and the line break will be gone.