How to Wrap Text in Excel Cell (5 Easy Ways)

In the following sample, we have applied wrap text to the Excel cell.

Overview Image of How to Wrap Text in Excel cell


What Is Wrap Text in Excel?

Wrapping text means enclosing long text or sentences in a cell or merged cells. While preparing a report, or maintaining a database, we often have to type long text in Excel cells. Excel shows these long texts over the borders of the cells.

The Wrap Text option provides us with the facility to display this kind of large content within the designed size of Excel cells.

In the following image, you can see that the Product Description column before wrapping text looks messy and unclear to read. When we wrap the text in the Product Description column, the column looks more presentable and readable.

Showing Differences between Before wrapping and after wrapping


Three Formats to Display Text Data That Exceeds Excel Cell

There are 3 ways to display text data that exceeds a cell’s width in an Excel spreadsheet.

  • Overflow: When using this default format, the excess text extends into adjacent cell boundaries. The text appears to be distributed across numerous cells visually, however, only the first cell contains the content.

Text Overflow

  • Wrap: The wrapped text allows the cell to expand vertically to fit the contents. The cell appears to have numerous lines of text, similar to writing a paragraph in an Excel cell.

Wrapped Text

  • Shrink to Fit: This option decreases the font size of text data automatically so that it fits within the cell’s bounds without wrapping.

Shrink to Fit


How to Wrap Text in Excel Cell: 5 Easy Ways

In the following dataset, the cells of the Product Description column contain some long texts. The Product Description column is not properly readable, and it is making the column unnecessarily wide.

Dataset for Wrapping Text in Excel Cell


Method 1 – Using the Wrap Text Feature to Wrap Texts

  • Select cells D5:D12 and go to the Home tab.
  • From the Alignment group, click on Wrap Text.

Selecting Wrap Text Feature

  • Select cell D5:D12.
  • Go to the Home tab and, from the Format group, select AutoFit Row Height.
Note: you can select cell D5:D12 and press Alt + H + O + A to visualize the wrapped cells.

Selecting AutoFit Row Height

You can see the wrapped text in the Excel cell.

Wrapped Excel Cell using Wrap Text Feature


Method 2 – Wrapping Text in Excel with the Format Cells Feature

  • Select the cells D5:D12 and right-click on them.
  • From the Context Menu, select Format Cells.

You can also press Ctrl + 1 to bring the Format Cells dialog box.

Selecting Format Cells Feature

A Format Cells dialog box will appear.

  • From the Alignment group, mark Wrap text and click OK.

Selecting Wrap Text from Format Cells dialog box

  • Press Alt + H + O + A to autofit the row height.

Result After Using Format Cells Feature


Method 3 – Using a Keyboard Shortcut to Wrap Text

  • Select cells D5:D12.
  • Press Alt + H + W.

Using Keyboard Shortcut

  • Press Alt + H + O + A to autofit the row height.

Wrapped Cell in Excel after Using Keyboard shortcut


Method 4 – Applying Line Breaks to Wrap Text in Cell

  • Double-click the cell containing the text in which you need to enter a line break.
  • Press Alt + Enter.

Applying Line Break to Wrap Text in Excel Cell

  • Press Alt + H + O + A to autofit the row height.

Wrapped Cell

  • Repeat for all the other cells.

Result After using Line Break


Method 5 – Wrapping Texts of a Merged Cell

  • Select the merged cell D5:E5.
  • Go to the Home tab and click on Merge & Center.

Unmerging Cell

  • Do the same for all the merged cells.

Showing Unmerged Cell

  • We wrapped the cells by following Method 3.

Result After Wrapping Cells


How to Undo Wrap Text in Excel: 3 Easy Ways

Method 1 – Using the Wrap Text Option to Unwrap in Excel

  • Select cells D5:D12 and go to the Home.
  • From the Alignment group, click on Wrap Text.

Using Wrap Text to Unwrap Cell in Excel

You can see the unwrapped text in the Excel cell.

Unwrapped Cells Using Wrap Text Feature


Method 2 – Use the Format Cells Feature to Unwrap Text in an Excel Cell

  • Select cells D5:D12 and right-click on them.
  • From the Context Menu, select Format Cells.

selecting Format Cells Feature

A Format Cells dialog box will appear.

  • From the Alignment group, unmark Wrap text and click OK.

Unmarking Wrap Cell

You can see the unwrapped text in the Excel cell.

Unwrapping Cell using Format Cells Feature


Method 3 – Unwrapping with Keyboard Shortcuts

  • Select cells D5:D12 and press Alt + H + W.

Using Keyboard Shortcut

You can see the unwrapped text in the Excel cell.

Unwrapped Cells


What to Do When Wrap Text Is Not Working in Excel?

Fix 1 – AutoFit Row Height

  • Select the cells D5:D12 and go to the Home tab.
  • Click on Format.
  • From the drop-down menu, select AutoFit Row Height.

You can select cell D5:D12 and press Alt + H + O + A to visualize the wrapped cells.

Autofitting Row Height

You can also autofit the row height by double-clicking on the intersection of Rows 5 and 6. This will autofit Row 5.

Double-clicking to autofit row height


Fix 2 – Merge & Center

  • Select the merged cell D5:E5.
  • Go to the Home tab and click on Merge & Center.
  • Do the same for other merged cells as well.
  • Wrap the text in your Excel cells.

Disabling Merge and Center Feature


Fix 3 – Fill for Horizontal Alignment

  • Open the Format Cells dialog box by pressing the Ctrl + 1 buttons.
  • Go to the Alignment tab.
  • For the Horizontal option, choose General.
  • Hit OK.

Filling for Horizontal Alignment


Fix 4 – Keep the Cell Wide Enough to Display Its Value

If your cell is already wide enough to showcase long text, then wrap text will now work. If you try to get rid of this situation by making the column too narrow, wrap text will still not work.

To wrap the text, you have to turn off the wrapping and turn it on again.

Read More: [Fixed] Wrap Text Not Showing All Text in Excel


Benefits of Wrapping Text in Excel

  • When you print the spreadsheet, wrapping text can decrease the number of pages.
  • It makes cells look more homogeneous, improving the scalability and aesthetics of your database.
  • It helps increase the compatibility of your spreadsheet. It guarantees all the information shown in a PowerPoint.

Things to Remember

  • All the Wrap Text methods just enclose the texts within the cell with the current column width and row height. But you have to autofit the row height using the methods described in this article (Alt + H + O + A hotkeys or the Format option) to make the texts completely visible.
  • If you change the column width and the text becomes difficult to see, autofit the row height again in the same way.
  • You can open up the Format Cells dialog box by pressing Ctrl + 1.
  • Press the Alt +H + W keys together to wrap texts by shortcut.

Download the Practice Workbook


Related Articles


<< Go Back to Wrap Text | Text Formatting | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Hafizul Islam
Hafizul Islam

Hafizul Islam is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a superhero tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including Rhino3D, Maxsurf C++, AutoCAD, Deep Neural Networks, and Machine Learning. He got his B.Sc in Naval Architecture & Marine Engineering from BUET, and now he's switched gears, working as a content developer. In this role,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo