Data Import & Export

Keep Multiline Text in One Excel Cell When Pasting

Amos GikundaAmos Gikunda Nov 18, 2026 868 views

Question details

Keep pasted text containing line breaks in a single Excel cell instead of splitting it across rows.

Keep Multiline Text in One Excel Cell When Pasting
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.
Before you start

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.

Solution 1Recommended

Paste multiline text while editing the Excel cell

Use cell edit mode when the copied text should stay in one destination cell.

1
Select the destination

Click the Excel cell where you want the multiline text.

2
Enter edit mode

Press F2 or double-click the selected cell to place the insertion point inside it.

3
Paste the text

Paste the copied text into the cell, then press Enter to finish editing. The line breaks should remain within that cell.

4
Show the lines

If the content is not fully visible, select the cell and choose Home > Wrap Text. Adjust the row height if needed.

Paste multiline text while editing the Excel cell
For one cell at a time: Pasting in edit mode inserts the copied content into the active cell; it does not preserve a copied table as separate spreadsheet cells.
Work with multiline cells

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. 1. Open your spreadsheet: Open WPS Spreadsheet and use File > Open to select your workbook.
  2. 2. Edit the destination cell: Double-click the cell where the copied text should go to place the insertion point inside it.
  3. 3. Paste the text: Paste the multiline text into the cell and press Enter to finish editing.
  4. 4. Display all lines: Select the cell and choose Wrap Text on the Home tab. Adjust the row height if necessary.
Keep multiline text together by pasting while editing a cellUse Wrap Text to display content on multiple linesOpen and edit Microsoft Excel XLSX and XLS filesWork in a familiar spreadsheet interface
microsoft office alternative - wps office

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.