ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Basics
  3. How to Wrap Text in Excel (and Fix Tall Rows)

How to Wrap Text in Excel (and Fix Tall Rows)

By ExcelReady Team·Updated November 1, 2026·5 min read

The short answer

To wrap text in Excel, select the cells and click Home > Wrap Text, or press Alt+H, then W on Windows. Long text then breaks onto several lines inside the cell and the row grows to fit. To start a new line exactly where you want, press Alt+Enter while typing (Control+Option+Return on a Mac).

Key takeaways

  • Home > Wrap Text (Alt+H, W on Windows) fits long text inside the column by adding lines.
  • Alt+Enter (Control+Option+Return on a Mac) adds a line break at a specific spot in the cell.
  • If a wrapped row doesn't grow, its height was set by hand: AutoFit the row height to fix it.
  • Very tall rows usually come from one long cell; widen the column or turn wrap off for that column.
  • In formulas, CHAR(10) is a line break, and SUBSTITUTE(A2,CHAR(10)," ") removes them.
On this page+
  1. How to wrap text in Excel
  2. How to add a line break inside a cell
  3. Wrap text vs Shrink to Fit vs overflow
  4. Why isn't wrapped text showing all its lines?
  5. How to fix rows that are far too tall
  6. Line breaks in formulas: CHAR(10)
  7. Wrap text and other formatting
  8. Practise it

To wrap text in Excel, select the cells and click Home > Wrap Text. Long text then breaks onto extra lines inside the cell instead of spilling into the next column or getting cut off. This guide shows the Windows and Mac steps, how to add a line break exactly where you want one, and how to fix the two classic problems: rows that won't grow and rows that grow far too tall.

How to wrap text in Excel#

Wrap Text keeps text inside its column by splitting it onto several lines. The row gets taller to show every line.

  1. Select the cell, the column or the range you want to wrap.
  2. On the Home tab, in the Alignment group, click Wrap Text.
  3. Click it again to turn wrapping off.

Keyboard options:

MethodWindowsMac
Ribbon key sequenceAlt, H, W (one after another)No built-in shortcut
Format Cells dialogCtrl+1 > Alignment > Wrap text⌘1 > Alignment > Wrap text

The Alt, H, W sequence is not a held-down combination. Press and release Alt, then H, then W. Wrap Text is one of the quick formatting moves a skills test may ask for, alongside bold, borders and number formats. The guide to formatting numbers as currency and percent covers the next step.

How to add a line break inside a cell#

A line break starts a new line at an exact spot, rather than wherever the column edge happens to fall. While typing or editing a cell:

  • Windows: press Alt+Enter.
  • Mac: press Control+Option+Return.

For example, type Leila Haddad, press Alt+Enter, then type 12 Harbour Road. The cell shows the name on one line and the street on the next. Excel switches Wrap Text on for that cell by itself. If you later turn wrapping off, the break is still there, but the text shows on one line again.

Wrap text vs Shrink to Fit vs overflow#

Excel has three ways to deal with text that is wider than its column. Pick the one that fits the job.

OptionWhat it doesGood for
Overflow (default)Text spills into empty cells to the rightTitles and notes next to empty columns
Wrap TextText stays in its column and the row growsComments, addresses, long headers
Shrink to FitFont gets smaller to fit on one lineShort labels slightly too wide

Overflow stops as soon as the next cell has something in it, so the text looks cut off. Numbers never overflow: a number that is too wide shows as #### instead. Shrink to Fit is in Format Cells > Alignment. Use it sparingly, because very small text is hard to read.

Why isn't wrapped text showing all its lines?#

If you turn on Wrap Text and the row stays one line tall, the row height was set by hand earlier. Excel only resizes rows automatically if you have never dragged or typed a height for them.

Fix it by letting Excel AutoFit the row again:

  1. Select the row or rows (Shift+Space selects the current row).
  2. Choose Home > Format > AutoFit Row Height (Windows keys: Alt, H, O, A).
  3. Or double-click the bottom border of the row number.

Two other causes are worth knowing. Merged cells don't AutoFit at all, so a wrapped merged cell needs its row height set manually. And if the column is very wide, the text has room on one line, so nothing wraps until the column is narrower.

How to fix rows that are far too tall#

Very tall rows usually come from one cell with a lot of text, or with many line breaks, in a narrow column. Wrap Text grows the row to fit the longest cell in it.

Try these fixes, in this order:

  • Widen the column. Drag the column border to the right, and the row shrinks as the lines get longer.
  • Turn off Wrap Text for that column. Select the column and click Wrap Text again. Then AutoFit the row height.
  • Remove extra line breaks. Some imported data has breaks in every cell. See the formula section below.
  • Set a fixed height. Right-click the row number, choose Row Height and type a value, such as 30. Text that doesn't fit is hidden, but it is still in the cell.

Long text that you never need to read on screen can also go in a comment or note instead.

Line breaks in formulas: CHAR(10)#

In a formula, a line break is CHAR(10). You can join text with a break between the parts, then turn on Wrap Text to see the lines:

Excel formula
=B2&CHAR(10)&C2

With 12 Harbour Road in B2 and Leeds LS1 4AB in C2, the cell shows the street on line one and the city on line two, which is handy for address labels. The guide to combining text in Excel shows more ways to join cells, including TEXTJOIN.

To remove line breaks, replace them with a space:

Excel formula
=SUBSTITUTE(A2,CHAR(10)," ")

CLEAN also removes line breaks, but it deletes them without adding a space, so two words can end up stuck together. On Windows, you can do the same without a formula: open Find and Replace with Ctrl+H, click in Find what and press Ctrl+J (this types an invisible line break), type a space in Replace with, then click Replace All. For finding other characters inside text, see how to find and search text in Excel.

Wrap text and other formatting#

Wrapped headers look best with a little extra help. Align them to the top or centre vertically (Home > Alignment), and add a bottom border to separate the header from the data. The guide on how to add borders in Excel has the shortcuts. If a cell shows your formula as text instead of the result, that is a different problem: read why an Excel formula shows as text.

Practise it#

Formatting sticks when you do it yourself. Try the address-label exercise on this page, then open the More formatting lesson to practise italic, comma style, date formats and resetting cells in a live spreadsheet. Speed up with the formatting shortcuts lesson, where you bold headers and apply currency and percent formats from the keyboard. Each step is checked instantly.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Build a two-line address label. Click D2 and join the street and city with a line break: =B2&CHAR(10)&C2. Press Enter. In Excel you would then turn on Wrap Text to see two lines.

fx
ABCDE
1
Name
Street
City
Label
2
Leila Haddad
12 Harbour Road
Leeds LS1 4AB
3
Tom Becker
8 Mill Lane
York YO1 7HH
4
5
6

Tip: Use & to join: the street, then CHAR(10) for the line break, then the city.

Practise this in a lesson

LessonMore formattingItalic and underline, comma style, date format, and resetting a cell to General.LessonFormatting shortcutsBold headers and format currency and percentages from the keyboard.

Frequently asked questions

What is the shortcut to wrap text in Excel?

+

On Windows, press Alt+H, then W, one key after the other. Excel for Mac has no built-in shortcut, so use the Wrap Text button on the Home tab or Format Cells (⌘1) > Alignment.

Why is wrap text not working in Excel?

+

Usually the row height was set by hand, so Excel won't grow the row. Select the row and choose Home > Format > AutoFit Row Height. Merged cells also stop rows from resizing.

How do I put two lines in one Excel cell?

+

While typing in the cell, press Alt+Enter on Windows or Control+Option+Return on a Mac where you want the new line. Excel turns on Wrap Text for that cell automatically.

How do I remove line breaks in Excel?

+

Use =SUBSTITUTE(A2,CHAR(10)," ") to replace each line break with a space. On Windows you can also open Find and Replace, press Ctrl+J in the Find box, and replace with a space.

How do I stop text spilling into the next cell?

+

Turn on Wrap Text so the text stays inside its own column, or type something in the next cell. Text only spills over into neighbouring cells that are empty.

Sources

  • Keyboard shortcuts in Excel - Microsoft Support
  • CLEAN function - Microsoft Support
  • Find or replace text and numbers on a worksheet - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How to wrap text in Excel
  2. How to add a line break inside a cell
  3. Wrap text vs Shrink to Fit vs overflow
  4. Why isn't wrapped text showing all its lines?
  5. How to fix rows that are far too tall
  6. Line breaks in formulas: CHAR(10)
  7. Wrap text and other formatting
  8. Practise it

Keep reading

Errors & fixes· 5 min read

Excel Shows the Formula Instead of the Result

Excel shows a formula as text for one of four reasons: Show Formulas is turned on, the cell was formatted as Text before you typed, there is a space or apostrophe before the equals sign, or the equals sign is missing. Press Ctrl+ to switch Show Formulas off, or set the cell to General and re-enter the formula.

Basics· 5 min read

Format Numbers as Currency, Percent and Dates in Excel

To format numbers in Excel, select the cells and press a shortcut: Ctrl+Shift+$ for currency, Ctrl+Shift+% for percent and Ctrl+Shift+# for a date. On a Mac, use Control (⌃), not ⌘. Ctrl+1 (⌘1) opens Format Cells for more choices. Formatting changes only how a number looks; the value Excel stores stays the same.

Basics· 5 min read

How to Add Borders in Excel, Including Shortcuts

To add borders in Excel, select the cells, click the arrow next to the Borders button on the Home tab and pick a style such as All Borders or Outside Borders. On Windows, Ctrl+Shift+& adds an outline and Ctrl+Shift+_ removes it. On a Mac, use ⌘+Option+0 to add and ⌘+Option+Hyphen to remove. Borders print; gridlines don't.

More on basics

  • Fill Down and Fill Right in Excel (Ctrl+D, Ctrl+R)
  • Move Around Excel With the Keyboard: The Complete Guide
  • How to Select Ranges Fast in Excel (Keyboard Tricks)
  • Why Excel Stores Dates as Numbers (and Why It Matters)
  • How to Write Your First Excel Formula
  • How to Copy a Formula Without Changing Its References
All basics articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free