Formatting Issues

Wrap Text and Fit Font Size in Merged Excel Cells

Bushra ParveenBushra Parveen Nov 18, 2026 869 views

Question details

The user wants wrapped text and an automatically fitted font size in a merged Excel cell.

Wrap Text and Fit Font Size in Merged Excel Cells
Product
Microsoft Excel
Device & OS
not provided
Scenario
Formatting text to fit within a large merged range while keeping it wrapped.
Observed behavior
Excel does not reliably support Wrap Text and Shrink to Fit together, particularly in merged cells.
Before you start

Select the merged cell and check its dimensions and text on the Home tab. Decide whether the layout requires merged cells or whether you can use a wider unmerged cell instead.

Solution 1Recommended

Unmerge the cells and adjust the wrapped text layout

Use an unmerged cell when readable wrapped text is more important than automatically shrinking the font.

1
Unmerge the range

Select the merged cell, then choose Home > Merge & Center > Unmerge Cells.

2
Enable text wrapping

Select the cell containing the text and choose Home > Wrap Text.

3
Adjust the cell dimensions

Drag the column boundary to set a suitable width, then select the row and choose Home > Format > AutoFit Row Height.

4
Set a readable font size

Select the text cell and use the Font Size box on the Home tab to increase or decrease the size as needed.

Unmerge the cells and adjust the wrapped text layout
Automatic font fitting: AutoFit Row Height changes the row height, not the font size. Automatically resizing the font while preserving wrapped text requires a custom approach such as VBA.
Free Microsoft Office alternative

Edit Spreadsheet Layouts with WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for Microsoft Excel formats, making it easy to move existing workbooks and adjust their layouts.

Adjust cell widths, row heights, and text wrapping in spreadsheetsOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet tools for an easier transition from ExcelWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can I use Wrap Text and Shrink to Fit together in Excel?

Excel does not reliably support both settings at once; Shrink to Fit may be unavailable when Wrap Text is enabled. For wrapped text, adjust the cell dimensions and font size instead.

Why doesn't AutoFit adjust the height of my merged cell?

Excel's AutoFit Row Height does not reliably adjust rows containing merged cells. Unmerge the range, enable Home > Wrap Text, and then use Home > Format > AutoFit Row Height.

How do I center a heading without merging cells?

Put the heading in the leftmost cell, select the cells across the heading, and open Format Cells > Alignment. Choose Center Across Selection under Horizontal.

Can VBA automatically resize the font for wrapped text?

A custom VBA macro can calculate and change the font size based on the text and available space. The code must account for the cell dimensions, wrapping, and merged range used in the workbook.