Written by Allen Wyatt (last updated November 10, 2018)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
Rachel wrote in to ask if there is a way to wrap text in merged cells without resorting to using macros.
The short answer is that, yes, there is a way, and it is the same way you would wrap text in a non-merged cell. All you need to do is select the cell in which you want text merged, display the Home tab of the ribbon, and click the Wrap Text tool—that's it. (An alternative method is to display the Alignment tab of the Format Cells dialog box and use the Merge Cells check box.)
There are differences, though, in what happens after you turn on text wrapping in a regular cell versus a merged cell. In a regular cell, you'll likely see the row height adjust automatically to display all the wrapped text. In a merged cell, however, that doesn't happen—the row height stays unchanged and you'll need to adjust it manually.
If you are looking for an automatic way to have Excel adjust row height on merged cells, you might want to consider this tip.
In addition, if the merged cell contains a formula that results in a numeric value (this includes date values which look like text, but aren't), then the result won't wrap to additional rows in the cell. (This happens regardless of whether the cell is a non-merged or merged cell.) Instead, you'll see the "#######" designation indicating that your cell is too narrow for the result to be displayed. In those cases, you'll need to either adjust the column width or use a formula that actually results in text being displayed, such as with the TEXT function.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13583) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
How Excel displays numbers is extremely flexible, but it can also be very confusing. This tip looks at how number display ...
Discover MoreA handy way to store latitude and longitude values in Excel is to treat them as regular time values. When it comes around ...
Discover MoreIf you work with geographic data, you may need a way to display latitude and longitude in a worksheet. This tip examines ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2018-11-17 06:32:46
Alex B
Hello Stacey & Joy, I don't know if you still need an answer but the most likely reason it would appear not to work is that you didn't manually increase the row height to allow you to see the additional lines created by the wrapping of text. As Allen explained the row height does not automatically increase in merged cells.
2018-11-12 09:32:59
Stacey J.
I also tried the wrap text in merged cell tip and it didn't work for me either way suggested. Please help!
2018-11-12 09:31:45
Joy
This does not work?
2018-11-12 05:36:56
Simon Freeman
Another way to resolve the date ###### issue is to use a smaller font!
2018-11-12 02:23:28
Alex B
Unless you are using the merged cell in a form, you are much better off using the Format Cells > Alignment > Horizontal = Center Accross Selection and Text Control > Wrap text = Ticked.
Using merged cells in a normal spreadsheet where you are just putting a in heading that spans multiple columns, Center Accross Selection will normally achieve the desired outcome without the downstream issues that merged cells has which is likely to cause later. Also it does expand the row to fit the text.
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2023 Sharon Parq Associates, Inc.
Comments