Fix Excel Wrap Text Not Resizing Formula Rows
Question details
Users need to find a way to make rows automatically resize to fit text when cell content is generated by a formula or an external reference, as Wrap Text fails to adjust row height upon recalculation.

- Product
- Microsoft Excel 365
- Device & OS
- not provided
- Scenario
- Working with dynamic formulas or cross-sheet references in cells that have Wrap Text enabled to display multiple lines of data.
- Observed behavior
- When a formula recalculates and outputs a longer text string, the row height does not expand automatically, cutting off the visible text despite the Wrap Text setting being active.
Verify that your cells are actually formatted with 'Wrap Text' enabled via the Home tab, and ensure the row height hasn't been set to a fixed custom value.
Manually Apply AutoFit Row Height
Since Microsoft designed Excel to bypass automatic row resizing on formula updates to conserve performance, you must manually trigger the AutoFit command.
Excel's default behavior skips recalculating row heights when formula results change. This is an intentional design choice by Microsoft to prevent massive spreadsheets from freezing during complex recalculations.
Click on the row numbers on the left side of your spreadsheet to select the rows where the text is being cut off.
Hover your mouse over the bottom boundary of the selected row number until the cursor changes to a double-sided arrow, then double-click.
Navigate to the 'Home' tab on the top ribbon. In the 'Cells' group, click on 'Format' and select 'AutoFit Row Height' from the dropdown menu.

Use a VBA Macro to Force AutoFit on Calculation
If you are working with a workbook that updates frequently, you can use a short VBA script to force the rows to AutoFit automatically whenever the sheet recalculates.
Experience Seamless Data Management with WPS Office
Frustrated by inherent limitations and lack of intuitive automatic updates in your current spreadsheet software? WPS Office provides a free, lightweight, and highly compatible alternative. With an interface designed for user convenience, WPS Spreadsheets handles complex formulas, extensive datasets, and precise cell formatting effortlessly—without the burden of hefty subscription fees.
- 1. Download and Install WPS Office: Visit the official WPS Office website and click 'Free Download' to install the software suite on your device.
- 2. Open Your Excel File: Launch WPS Spreadsheets, click 'Open', and select your existing .xlsx workbook to continue working seamlessly.

Frequently Asked Questions
Why does Wrap Text work for manually typed text but not for formulas?
When you manually type into a cell and press Enter, Excel triggers an isolated event that runs the AutoFit calculation. However, when a formula updates automatically in the background via recalculation, Excel deliberately skips the AutoFit process to conserve CPU resources and prevent the software from freezing.
Does merging cells affect Wrap Text and AutoFit behavior?
Yes. Excel's AutoFit Row Height functionality fundamentally does not work on merged cells. Even if you manually trigger AutoFit on a merged cell with Wrap Text enabled, the row will not expand. You must manually drag the row boundary to resize it.
Is there a way to make Microsoft change this by-design behavior?
You can provide your suggestions and use cases directly to the development team by submitting feedback through the official Excel Feedback Portal. While they prioritize stability, high user demand could influence future feature toggles.




