Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Won't Expand Row to Fit Text

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can force Excel to auto-expand rows by using the "Wrap Text" formatting option combined with the "AutoFit" row height command. This ensures that any amount of text in a cell is visible without manual adjustments. If you are working on a desktop or laptop, the process involves a few simple clicks on the ribbon and context menu. On mobile devices, the workflow is slightly different but achieves the same result. This guide covers the standard methods for Microsoft Excel on Windows and Mac, as well as some common scenarios where this feature might behave unexpectedly.

What You'll Need

  • A computer with Microsoft Excel installed (desktop or laptop version).
  • A spreadsheet containing a cell with text that is overflowing or hidden.
  • A mouse or trackpad for clicking and dragging (keyboard shortcuts are also available for power users).
  • An internet connection is not required once the software is open, though updates may be checked automatically.

Step-by-Step

  1. Select the cells: Click on the column letter at the top (e.g., A) to select the entire column containing the text that is not expanding, or click and drag to select specific rows. It is often best to select the whole column to ensure all cells are formatted consistently.
  2. Open the format options: With the cells selected, right-click anywhere inside the selection. In the context menu that appears, locate and click on Format Cells. Alternatively, you can go to the main ribbon at the top of the window, click the Home tab, and look for the small arrow in the bottom-right corner of the Number or Alignment group to open the same dialog box.
  3. Enable Wrap Text: In the Format Cells dialog box, ensure you are on the Alignment tab (it is usually the default). Look for the checkbox labeled Wrap text. Click on it to place a checkmark inside. This tells Excel to break the text within the cell boundaries and display it on multiple lines instead of cutting it off.
  4. Apply AutoFit: Close the Format Cells dialog box by clicking OK. Now, right-click again on the same row number or column letter header. From the context menu, select Row Height or Column Width. In the new window, you can type a specific number, but the most efficient method is to select AutoFit Row Height (or AutoFit Column Width for text that is wider than the cell). This command tells Excel to measure the wrapped text and adjust the row height to fit it perfectly.
  5. Verify the result: Look at the selected cells. The text should now be visible in its entirety, stacked vertically within the cell, and the row height should have increased to accommodate the new layout. You can adjust the width of the column by dragging the vertical line between column headers if needed.

Common Mistakes

Users often encounter issues because they misunderstand how Excel calculates cell boundaries. A frequent mistake is applying the Wrap Text setting without adjusting the row height. Without the height adjustment, a cell might look normal, but the text is actually hidden behind the row boundary (which appears as a blank line) or cut off at the bottom edge. Conversely, setting the row height too high manually before enabling wrap text can create excessive white space that makes the spreadsheet difficult to read. Another error is trying to force a single cell to expand across multiple rows; Excel cells are rectangular and cannot span more than one row vertically. If you need text to flow continuously, you would need to merge cells or use text boxes, which are different objects.

Tips

For those working with large datasets, the manual selection method can be slow. You can speed up the process by using keyboard shortcuts. First, select your cells, then press Alt + H + W on Windows to enable Wrap Text, and Alt + H + A + R to trigger AutoFit Row Height. On a Mac, the shortcut is Option + Command + Y for Wrap Text, followed by a double-click on the row border to AutoFit. If you find yourself constantly resizing rows for the same type of data, consider creating a Table (Insert > Table). Tables have a built-in feature that automatically expands rows to fit content whenever new data is added, saving you from repetitive formatting tasks.

Troubleshooting

If you have followed the steps and the text still does not expand, try these solutions in order.

1. Check for merged cells: If the cells in your selection are merged, the formatting and resizing commands apply to the entire merged block. If the text is centered within a merged cell and the row height is correct, the text is likely displayed. However, if you are trying to expand multiple separate rows, ensure they are not merged first, as merged rows behave as a single unit.

2. Inspect the column width: Sometimes, the issue is not the height of the row but the width of the column. If a column is set to a very narrow width, even wrapped text may be invisible because the cell effectively disappears. Check the column header border and ensure it is not stuck on a specific size. Select the column and choose AutoFit Column Width to fix this.

3. Force a recalculation: In rare cases, Excel may fail to update the visual layout of the sheet immediately. Press Ctrl + Alt + F9 (Windows) or Cmd + Option + = (Mac) to force a full recalculation of all formulas and formatting in the workbook. This can sometimes clear display glitches that prevent the row from resizing.

4. Check for hidden rows: If the row number appears but the content is missing, the row may have been hidden. Look for small arrows or indicators in the row headers to see if a row is hidden, or right-click on the row numbers and select Unhide. This is a common occurrence if a previous user hid rows to create space.

Frequently Asked Questions

Why does my text disappear when I wrap it?

This usually happens because the row height is set too low to accommodate the text. Even if the cell looks like it has content, the text may be pushed below the visible bottom edge. The fix is to select the row and choose AutoFit Row Height from the context menu.

Can I wrap text in a merged cell?

Yes, you can wrap text within a merged cell. However, the entire merged block will expand to fit the content. You cannot make a merged cell span multiple rows; it remains a single block of cells.

Does Excel AutoFit work on all versions?

The AutoFit Row Height and Column Width functions are available in all versions of Excel, from the most recent desktop editions down to older releases. The interface may look slightly different, but the functionality remains consistent.

Why does the text look squashed together?

Squashed text usually indicates that the row height is set to a specific value that is too small. If you are using the manual height setting (e.g., setting it to 10), the text will be forced into that tiny space. Switching to AutoFit will restore the proper spacing.

Can I wrap text on a mobile phone app?

Yes. In the mobile version of Excel, tap on the cell or column header to select it. Tap the formatting brush or the alignment icon to open the options. Look for the Wrap Text toggle. Once enabled, tap on the row number and select AutoFit Row Height from the menu that appears.