How to Enable Wrap Text for Merged Cells in Excel
Question details
The user needs to wrap text inside merged cells because the automatic text wrapping fails to display all content when cells are combined.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Formatting text within merged cells in a spreadsheet to ensure all content is fully visible without overlapping.
- Observed behavior
- Text wrapping does not work automatically when cells are merged; the row height does not auto-adjust, causing portions of the text to be hidden.
Ensure the cells you want to format are already merged and that your worksheet is not protected, as worksheet protection can lock formatting options.
Enable Wrap Text and Manually Adjust Row Height
Since Excel disables automatic row-height adjustment for merged cells, you must enable wrap text and then manually expand the row height to make the text visible.
When you merge cells in Excel, the AutoFit row height feature stops working for that specific row. Even if 'Wrap Text' is turned on, the row won't expand to accommodate multiple lines of text. You must manually drag the row boundary to fix this.
Click on the merged cell containing the text you want to wrap.
Right-click the selected cell and choose 'Format Cells' from the context menu, or press 'Ctrl + 1' on your keyboard.
Navigate to the 'Alignment' tab in the Format Cells dialog box, check the box next to 'Wrap text', and click 'OK'.
Move your cursor to the row numbers on the left side of the screen. Hover over the bottom boundary of the row containing your merged cell until the cursor changes to a double-sided arrow, then click and drag downward to increase the row height until all text is visible.

Insert Manual Line Breaks
If adjusting the row height is not yielding the desired layout, you can force the text to wrap at specific points using manual line breaks.
Easily Format Merged Cells with WPS Spreadsheet
WPS Spreadsheet offers powerful, intuitive formatting tools that make handling merged cells and text wrapping simple. Enjoy a familiar interface that handles complex layouts effortlessly while maintaining full compatibility with Microsoft Excel files.
- 1. Open your file: Launch WPS Spreadsheet and open your existing Excel document.
- 2. Select and wrap: Click on your merged cells, go to the 'Home' tab, and click the 'Wrap Text' icon.
- 3. Adjust height: Hover over the row headers on the left and drag the row boundary down to reveal all wrapped text.

Frequently Asked Questions
Why doesn't AutoFit row height work on merged cells in Excel?
By design, Excel disables the AutoFit row height feature for merged cells. Because the content spans multiple columns, Excel cannot automatically calculate the required height. You must manually adjust the row height to display all wrapped text.
Can I apply Wrap Text before merging cells?
Yes, you can select the individual cells, apply Wrap Text from the Home tab, and then click 'Merge & Center'. However, you will still encounter the same AutoFit limitation and will need to manually adjust the row height if the text overflows.
Is there a keyboard shortcut to toggle Wrap Text?
Yes. Select the cell or merged cells and press 'Alt', then 'H', then 'W' sequentially on your keyboard. This shortcut toggles the Wrap Text feature on or off in Excel.




