How to Enter Multiple Lines in One Excel Cell
Question details
The user wants to know how to type and display multiple lines of text within a single spreadsheet cell.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Entering long text, paragraphs, or addresses into a single cell and needing precise control over where the line breaks occur.
- Observed behavior
- Text flows out of the cell or is hidden from view; the user needs the text to break into multiple lines seamlessly and the cell height to adjust accordingly.
Ensure the cell you are editing is not merged with other cells, as merged cells can sometimes interfere with the AutoFit Row Height feature when using multiple lines.
Use Alt+Enter and Wrap Text to Create Multiple Lines
This is the standard and most reliable method to force text to break exactly where you want it within an Excel cell.
While the 'Wrap Text' feature automatically wraps text based on the column width, using the keyboard shortcut 'Alt+Enter' allows you to insert a manual line break at a specific location. Combining both ensures your text is formatted exactly as needed and the row height adjusts appropriately.
Select the cell where you want to enter multiple lines and press F2 on your keyboard, or double-click the cell to enter edit mode.
Type your first line of text, then press Alt+Enter. Your cursor will move to a new line within the same cell. Continue typing your remaining lines.
Once finished typing, select the cell, navigate to the Home tab on the ribbon menu, and click on 'Wrap Text' to ensure all lines display correctly.
If the row height does not automatically expand to show all your text, go to Format > AutoFit Row Height in the Home tab, or manually drag the row boundary to increase the height.

Easily Manage Cell Text Formatting in WPS Spreadsheet
WPS Spreadsheet provides a highly compatible and intuitive interface for managing your data. You can effortlessly use shortcuts like Alt+Enter and features like Wrap Text to format cells just as you would in Microsoft Excel.
- 1. Open your spreadsheet: Launch WPS Office and open your spreadsheet file using the WPS Spreadsheet application.
- 2. Type and break lines: Double-click a cell to edit it, type your text, and press Alt+Enter wherever you want a manual line break.
- 3. Apply Wrap Text: Navigate to the Home tab in the top ribbon and click the 'Wrap Text' icon to make all lines visible within the cell.
- 4. AutoFit row height: If the text is still partially hidden, select 'Rows and Columns' under the Home tab, then click 'AutoFit Row Height' to adjust the cell size perfectly.

Frequently Asked Questions
Why is my text still on one line after pressing Alt+Enter?
If your text appears on a single line after using Alt+Enter, it is likely because the Wrap Text feature is turned off. Select the cell, go to the Home tab, and click 'Wrap Text' to display the manual line breaks properly.
Can I remove all manual line breaks from a cell at once?
Yes, you can use the Find and Replace tool. Press Ctrl+H, click in the 'Find what' box, press Ctrl+J (which represents a line break character), leave the 'Replace with' box empty, and click 'Replace All'.
Does Wrap Text change my actual data or add spaces?
No, Wrap Text is purely a visual formatting feature. It changes how the text is displayed on the screen and in print without altering the actual underlying data or adding hard line breaks.




