Formatting Issues

Can Excel Use Shrink to Fit and Wrap Text Together? Fixes & Workarounds

John WilsonJohn Wilson Nov 4, 2026 870 views

Question details

The user wants to format Excel cells to dynamically wrap text while also shrinking the font size to keep the text within defined cell boundaries.

Can Excel Use Shrink to Fit and Wrap Text Together?
Product
Microsoft Excel
Device & OS
Mac
Scenario
Formatting large amounts of text in a spreadsheet without manually expanding cell dimensions or compromising readability.
Observed behavior
Excel does not provide a built-in way to combine these features. Enabling one setting (like Shrink to Fit) automatically disables the other (Wrap Text).
Before you start

Determine whether maintaining a strict cell height or maintaining a readable font size is more important for your spreadsheet, as you will need to prioritize one over the other.

Solution 1Recommended

Choose One Formatting Option and Adjust Dimensions Manually

Since Excel treats these two features as mutually exclusive, you must choose either Wrap Text or Shrink to Fit, and then manually adjust column widths and row heights to accommodate your data.

In Excel, 'Wrap Text' forces the row height to expand so text can flow to the next line at the same font size. Conversely, 'Shrink to Fit' keeps the row height constant and reduces the font size until all text fits on one line. Because they have conflicting rules regarding row height and font size, they cannot be used simultaneously.

1
Select the target cells

Click and drag to highlight the cell or range of cells containing the text you want to format.

2
Open the Format Cells dialog

Right-click the selected cells and choose 'Format Cells', or press Command+1 (on Mac) or Ctrl+1 (on Windows).

3
Navigate to the Alignment tab

Click on the 'Alignment' tab at the top of the Format Cells window.

4
Select your preferred setting

Under the Text control section, check either 'Wrap text' (to keep font size readable) OR 'Shrink to fit' (to keep row height fixed). Ensure only one is checked.

5
Apply and adjust

Click 'OK'. If you chose Wrap Text, double-click the bottom boundary of the row number to AutoFit the row height. If you chose Shrink to Fit, drag the column header boundary to make the column wider if the font becomes too small.

Choose One Formatting Option and Adjust Dimensions Manually
VBA Alternatives: While advanced users can create a VBA macro to calculate text length and dynamically adjust font size along with wrapping, this often leads to inconsistent layouts and readability issues. Manual adjustment is generally safer.
Free Microsoft Office alternative

Try WPS Office for Powerful Spreadsheet Formatting

If you are frustrated by formatting limitations and conflicting settings in Microsoft Excel, consider switching to WPS Office. It provides a highly compatible, lightweight, and user-friendly spreadsheet application that makes managing your data a breeze.

  1. 1. Download and Install: Get WPS Office for free from the official website and follow the easy installation steps.
  2. 2. Open your Excel files: Launch WPS Spreadsheet and seamlessly open your existing .xlsx files without losing any formatting.
  3. 3. Format with ease: Use the highly intuitive interface to quickly apply cell alignments, wrap text, and adjust sizes as needed.
Completely free and lightweight alternative to Microsoft Office.Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Intuitive cell formatting options for seamless data presentation.Seamless cross-platform usage for Mac, Windows, Linux, and mobile users.
microsoft office alternative - wps office

Frequently Asked Questions

Why does clicking 'Shrink to Fit' uncheck 'Wrap Text' in Excel?

Excel treats these two commands as logically opposed. 'Wrap Text' is designed to maintain your chosen font size by expanding the row height, whereas 'Shrink to Fit' is designed to maintain the cell size by shrinking the font. Because they dictate opposite behaviors for handling overflow text, checking one automatically disables the other.

Is there a way to force both features using a VBA script?

Technically, yes. Advanced users can write VBA code that calculates character counts, splits text with line breaks, and incrementally lowers the font size. However, this is generally not recommended as it is prone to errors, requires recalculation every time the text changes, and can make the spreadsheet sluggish and hard to read.

Does this problem only happen in Excel for Mac?

The behavior where the user interface visually unchecks one box when you check the other is highly noticeable in Excel for Mac. However, the core limitation—that the Excel engine cannot dynamically compute both a wrapped layout and a shrunken font simultaneously—applies to the Windows version of Excel as well.

What is the best way to make sure all my text is visible?

The most reliable and accessible method is to use 'Wrap Text' and AutoFit the row height. Select your cells, check 'Wrap Text', go to the Home tab, click on 'Format' in the Cells group, and select 'AutoFit Row Height'.