Keep Multiline Text in One Excel Cell When Pasting
Question details
Keep pasted text containing line breaks in a single Excel cell instead of splitting it across rows.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Pasting multiline content from an email, another application, or another workbook into Excel.
- Observed behavior
- The lines may be pasted into separate rows rather than remaining together in one cell.
Copy the multiline text you want in one cell and select its destination in Excel. If you are copying a table, check whether you need to preserve multiple rows and columns rather than paste the entire selection into one cell.
Paste multiline text while editing the Excel cell
Use cell edit mode when the copied text should stay in one destination cell.
Click the Excel cell where you want the multiline text.
Press F2 or double-click the selected cell to place the insertion point inside it.
Paste the copied text into the cell, then press Enter to finish editing. The line breaks should remain within that cell.
If the content is not fully visible, select the cell and choose Home > Wrap Text. Adjust the row height if needed.

Use Google Sheets as an intermediary for a table
Try this workaround when a copied table contains multiline cells and needs to retain its rows and columns.
Keep multiline text in one cell with WPS Spreadsheet
Use WPS Spreadsheet to paste text into an individual cell in edit mode, then wrap it so the lines are visible.
- 1. Open your spreadsheet: Open WPS Spreadsheet and use File > Open to select your workbook.
- 2. Edit the destination cell: Double-click the cell where the copied text should go to place the insertion point inside it.
- 3. Paste the text: Paste the multiline text into the cell and press Enter to finish editing.
- 4. Display all lines: Select the cell and choose Wrap Text on the Home tab. Adjust the row height if necessary.

Frequently Asked Questions
Why does pasted text split into multiple Excel rows?
When you paste into a selected cell outside edit mode, Excel may interpret line breaks as row separators. Enter edit mode with F2 or by double-clicking the cell before pasting the text.
Can I paste an entire table into one cell using F2?
Yes, but editing a cell before pasting places the copied content in that cell rather than preserving the table as separate spreadsheet cells. For a table, try pasting through Google Sheets and check the result.
How do I see all the lines in a multiline Excel cell?
Select the cell and choose Home > Wrap Text. If some lines are still hidden, increase the row height.
How can I add a line break inside an Excel cell?
In Excel for Windows, edit the cell, place the cursor where you want the break, and press Alt+Enter.




