Smart Systems for Home

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

How to Wrap Text in Excel: Step-by-Step Guide

· 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

To wrap text in Excel, select the cells you want to format, go to the Home tab, and click the Wrap Text button in the Alignment group. This makes long text display on multiple lines within the cell instead of spilling over or being cut off. The row height usually adjusts automatically, but you can also set it manually if needed. That is the short answer; the rest of this guide covers the exact steps, common pitfalls, and how to handle wrapping in different situations.

What You'll Need

  • Microsoft Excel installed on your computer (Windows or Mac). The steps below refer to the desktop version; the web version and mobile apps have similar but not identical options.
  • A spreadsheet with at least one cell containing text longer than the column width.

Step-by-Step

  1. Select the cells you want to wrap. Click a single cell, drag to select a range, or press Ctrl+A (Windows) or Command+A (Mac) to select the entire sheet. You can also select entire rows or columns by clicking the row or column headers.
  2. Go to the Home tab on the ribbon. The Wrap Text button lives in the Alignment group. If you are using Excel for Mac, the button is also on the Home tab, usually in the Alignment section.
  3. Click the Wrap Text button. It looks like a small icon with lines of text and a curved arrow. Once clicked, the text in each selected cell will wrap onto multiple lines within the cell. The row height will increase automatically to fit the wrapped text, unless you have manually set a fixed row height.
  4. Adjust column width if needed. Wrapping works best when the column is wide enough to show a reasonable number of characters per line. Drag the column border to widen or narrow it. The text will re-wrap as you change the width.
  5. Check row height. If the row height does not adjust automatically (for example, because it was set manually), you can double-click the boundary between row numbers to auto-fit, or right-click the row and choose Row Height to set a specific value. On the Home tab, you can also use Format > AutoFit Row Height.
  6. Turn off wrapping when no longer needed. Select the cells again and click the Wrap Text button to toggle it off. The text will revert to a single line, and the row height may shrink back if it was set to auto-fit.

Common Mistakes

  • Expecting wrapping to change the underlying data. Wrap Text only changes how the text is displayed; the cell content remains a single string. If you need actual line breaks within the text, use Alt+Enter (Windows) or Option+Return (Mac) to insert a manual line break.
  • Forgetting that row height may be fixed. If a row has a manually set height, wrapping will not automatically expand it. You may see only part of the text. Use AutoFit Row Height or drag the row border to fix this.
  • Applying wrap to merged cells. Wrapping works in merged cells, but auto-fit row height often fails with merged cells. You may need to adjust the row height manually.
  • Assuming wrap text works the same in all versions. The button location and behavior are similar across Excel for Microsoft 365, Excel 2019, 2016, and Mac, but labels and exact menu paths can differ slightly by version, device, or region. If you cannot find the button, look for an alignment or format menu.
  • Using wrap text instead of shrinking text. Wrap Text increases row height; Shrink to Fit reduces font size to fit the column width. Choose the one that suits your layout.

Tips

  • To wrap text quickly, you can also use the keyboard shortcut: select cells, then press Alt+H, then W (Windows). On Mac, there is no default shortcut, but you can add one via System Preferences or use the menu.
  • If you want to wrap text in a specific cell without changing the whole row, select just that cell and click Wrap Text. The row height will adjust only if it is set to auto-fit.
  • Use Wrap Text together with horizontal and vertical alignment (also in the Alignment group) to position the text neatly, for example, top-aligned and centered.
  • When printing, wrapped text may cause rows to break across pages. Use Page Layout > Print Titles to repeat headers, and check the print preview to ensure everything fits.
  • If you need to wrap text in a formula result, the same Wrap Text button applies to the cell containing the formula.

Troubleshooting

  • Wrap Text button is grayed out: This can happen if the worksheet is protected or if you are editing a cell (press Enter to exit edit mode). It may also be unavailable in certain views like Page Layout; switch to Normal view.
  • Text still spills over after wrapping: Check that the cell is not merged with adjacent cells, and that the row height is not set to a fixed value that is too small. Also ensure that the column width is not extremely narrow.
  • Row height does not auto-fit: Double-click the row boundary, or use Home > Format > AutoFit Row Height. If the row still does not expand, the cell may contain a manual line break (Alt+Enter) that is not being recognized; try removing and re-adding the break.
  • Wrapping affects the whole row unexpectedly: Wrap Text applies to the selected cells only. If the entire row height changes, it is because the row height is set to auto-fit and the tallest cell in that row now needs more space. To prevent this, set a fixed row height before applying wrap.
  • Wrap Text not working in Excel for the web or mobile: The web version has a Wrap Text button on the Home tab. Mobile apps may have it under the Format menu. If you cannot find it, the feature may not be available in your app version; consider using the desktop version for full formatting control.

Frequently Asked Questions

What does Wrap Text do in Excel?

Wrap Text makes long text display on multiple lines within a single cell, so it does not overflow into adjacent empty cells or get cut off. It changes only the display, not the actual cell content.

How do I wrap text in a single cell without affecting others?

Select just that cell and click Wrap Text. The row height may adjust if it is set to auto-fit, but other cells in the row are not affected unless they also contain wrapped text.

Can I wrap text automatically when typing?

No, Excel does not have an auto-wrap-as-you-type feature. You must apply Wrap Text manually after entering the text, or use Alt+Enter to insert manual line breaks.

Why is my row height not changing after I wrap text?

The row height may be set to a fixed value. Select the row, then use Home > Format > AutoFit Row Height, or double-click the row boundary. If the row is part of a merged cell, auto-fit may not work; adjust manually.

Does Wrap Text work in Excel Online?

Yes, Excel for the web has a Wrap Text button on the Home tab. The behavior is similar to the desktop version, though some advanced formatting options may differ.

How do I remove wrapping from cells?

Select the cells and click the Wrap Text button again to toggle it off. The text will return to a single line, and row height may shrink if it was set to auto-fit.