Skip to content
ArumSoft Learning
KO

    Merge & Center and Wrap Text in Excel

    Center a title over a table, fit long text inside a cell with Wrap Text and line breaks, and avoid the problems merged cells cause.

    Level
    Beginner
    Time
    9 min read
    Updated:
    Applies to:
    Excel for Microsoft 365, Excel 2021, Excel 2019, Excel for the web
    Before: the title sits in A1 at the left edge. A1:D1 is selected.
    Example: Before: the title sits in A1 at the left edge. A1:D1 is selected.

    What you'll learn

    • Merge cells to center a title, and unmerge them again
    • Center a title with Center Across Selection instead of merging
    • Wrap long text inside a cell and add a line break where you want one
    • Find and fix merged cells that stop a list from sorting

    Two alignment commands solve most "this text doesn't fit" problems. Merge & Center joins several cells into one and centers the text across them, which is the usual way to put a title over a table. Wrap Text keeps long text inside its own cell by breaking it onto several lines. Merging has side effects that wrapping doesn't, so this guide also shows Center Across Selection, which gives the same centered title without merging anything. For a line break in a particular place, press Alt+Enter while you type.

    Where to find them

    Both commands are in the Alignment group of the Home tab. The small arrow next to Merge & Center opens a menu with the other merge options.

    Home › Alignment: Wrap Text, and Merge & Center with its menu.
    • Home then Alignment then Wrap Text turns wrapping on or off for the selected cells.
    • Home then Alignment then Merge & Center merges the selection and centers its text. Clicking it again on a merged cell unmerges it.
    • Right-click the selection and choose Format Cells, or press Ctrl+1, then open the Alignment tab. It has Wrap text and Merge cells check boxes and the Horizontal list, where Center Across Selection lives.

    Merge and center a title

    The report below has its title in A1 and the table underneath in A2:D6.

    1. Select the title and the cells it should span

      Select A1:D1: the title cell plus the empty cells to its right, as wide as the table.

      ABCD
      1Quarterly Sales Report
      2RegionJanFebMar
      3North4,2003,9004,500
      4South3,1003,6003,400
      5East5,2004,8005,100
      6West2,8003,0003,300
      Before: the title sits in A1 at the left edge. A1:D1 is selected.
    2. Click Merge & Center

      Click Home then Alignment then Merge & Center. The four cells become one cell, still called A1, and the title is centered over columns A to D.

    If more than one of the selected cells holds a value, Excel warns that merging keeps only the upper-left value and discards the others. Click Cancel if you didn't expect that message, and move the other values out first.

    The other choices in the Merge & Center menu:

    OptionWhat it does
    Merge & CenterMerges the selection into one cell and centers the text.
    Merge AcrossMerges each selected row separately. Selecting A1:D3 gives three merged cells: A1:D1, A2:D2 and A3:D3.
    Merge CellsMerges into one cell but keeps the text's existing alignment.
    Unmerge CellsSplits a merged cell back into separate cells. The text stays in the upper-left cell.

    Why merged cells cause trouble

    A merged cell is one cell pretending to be several. That breaks things you'll want to do later:

    • Sorting stops. If a list contains merged cells of different sizes, Excel refuses to sort it and says that all the merged cells need to be the same size.
    • Selections grow. Click inside a merged title and drag down, and the selection widens to every column the merge covers.
    • Only one cell holds the value. In this list, "East" belongs to rows 2 and 3, but after merging A2:A3 only A2 contains it. A3 is empty, so a filter or a COUNTIF on column A misses Store 2.
    ABC
    1RegionStoreSales
    2EastStore 15,200
    3Store 24,100
    4WestStore 33,900
    5Store 44,600
    Region names merged down two rows each. A3 and A5 are empty, so Store 2 and Store 4 have no region as far as formulas and filters are concerned.

    To fix a list like this, select column A, open the Merge & Center menu and choose Unmerge Cells. Then type the region into every row it belongs to.

    ABC
    1RegionStoreSales
    2EastStore 15,200
    3EastStore 24,100
    4WestStore 33,900
    5WestStore 44,600
    After unmerging and filling in the blanks, every row has its own region and the list sorts and filters normally.

    To find merged cells hiding in a big sheet, press Ctrl+F, click Options, click Format, tick Merge cells on the Alignment tab, click OK and then Find All.

    Center a title without merging

    Center Across Selection centers text over several cells but leaves them as separate cells. You get the look of Merge & Center with none of the side effects.

    1. Select the title and the empty cells beside it

      Select A1:D1. The title must be in the leftmost cell and the other cells must be empty.

    2. Open Format Cells

      Press Ctrl+1 and click the Alignment tab.

    3. Choose Center Across Selection

      In the Horizontal list, choose Center Across Selection and click OK.

      Format Cells, Alignment tab: Horizontal set to Center Across Selection, with Merge cells left unticked.

    The title now appears centered over A1:D1, but click B1 and you'll see it's still an ordinary empty cell. You can select, sort and fill columns as usual. It works only across a row (there's no vertical version), and it stops at the first cell that isn't empty. To undo it, set Horizontal back to General.

    Wrap long text in a cell

    When a heading is longer than its column is wide, it spills into the next cell, or is cut off if that cell isn't empty. Here B1 is cut off by C1.

    ABC
    1NameHours thOvertime hours
    2Mia400
    3Noah455
    4Olivia380
    Before: the B1 heading is cut off where C1 begins, and C1 spills past its own column.
    1. Select the cells

      Select B1:C1.

    2. Click Wrap Text

      Click Home then Alignment then Wrap Text. Each heading breaks onto as many lines as it needs, and row 1 grows taller to fit.

      ABC
      1NameHours this weekOvertime hours
      2Mia400
      3Noah455
      4Olivia380
      After: both headings wrap onto two lines inside their own cells, and the columns stay narrow.

    Where the text breaks depends on the column width. Make a column wider and the text rewraps onto fewer lines.

    Put a line break exactly where you want it

    To choose where a line ends, edit the cell (double-click it or press F2), click where the new line should start and press Alt+Enter. Excel turns on Wrap Text for that cell for you. Press Enter when you've finished, as usual.

    Real-world scenarios

    Work

    An address block on an invoice

    An invoice needs the customer's name, street and city in one cell, each on its own line. Type the name, press Alt+Enter, type the street, press Alt+Enter again and type the city.

    AB
    1Bill toHarbor Supply Co. 18 Market Street Portland, OR 97201
    2Invoice no.INV-2041
    3Date2026-10-12
    B1 holds a three-line address made with Alt+Enter. Wrap Text was turned on automatically.

    The address is one value, so it copies, prints and fills into a mail merge as a single block. Each line ends exactly where you pressed Alt+Enter, whatever the column width.

    School

    An assignment tracker that stays readable

    The descriptions in column B are long. Instead of making column B very wide, give it a sensible width and turn on Wrap Text for B2:B4.

    ABC
    1SubjectAssignmentDue
    2HistoryRead chapter 4 and answer questions 1-62026-10-15
    3BiologyLab report on plant cells with one labeled diagram2026-10-17
    4EnglishWrite a 300-word review of the class novel2026-10-20
    Wrapped assignment descriptions: each row grows to fit, and the due dates in column C stay on screen.

    The whole tracker fits on one screen and prints on one page across. If a row doesn't grow after you wrap, its height was set by hand earlier: choose Home then Cells then Format then AutoFit Row Height.

    Budget

    City headings over a trip budget

    A trip budget has Plan and Actual columns for each city. The city names in B1 and D1 should sit centered over their two columns. Select B1:E1, press Ctrl+1 and choose Center Across Selection.

    ABCDE
    1ParisRome
    2ItemPlanActualPlanActual
    3Hotel600640450430
    4Food300280250270
    5Transport1201509080
    Paris is centered across B1:C1 and Rome across D1:E1, with no merged cells.

    One selection handles both cities: each name is centered across the empty cells to its right, up to the next cell that has something in it. Because nothing is merged, you can still select column C on its own, or sort the rows under the headings.

    Common mistakes

    • Merging inside a data list. Merged cells in the rows of a list stop sorting and leave blanks that filters and formulas miss. Keep merges, if any, for titles above the data.
    • Losing values when you merge. Only the upper-left value survives. If Excel warns you, cancel and move the other values first.
    • A wrapped row that doesn't grow. The row height was set manually, or the cell is merged. Use AutoFit Row Height for the first; for a merged cell, drag the row taller yourself, because AutoFit doesn't size rows for merged cells.
    • Center Across Selection that does nothing. The cells to the right aren't empty, even if they look it (a space counts). Clear them and try again.
    • Expecting Wrap Text to make the column wider. Wrap Text changes the row height, not the column width. Widen the column yourself if the text breaks into too many lines.

    Practice

    Practice

    Lay out a small report

    Type the quarterly sales report from this page into a new sheet, then:

    1. Merge and center the title over A1:D1. Click B1 and notice that you can't select it on its own.
    2. Unmerge the title, then center it with Center Across Selection instead. Click B1 again.
    3. Change the header B2 to January sales total and turn on Wrap Text for it.
    4. In an empty cell, type your name and address on three lines using Alt+Enter.
    5. Merge A3:A4 (click OK at the warning), then try to sort the table by column B and read the message. Undo the merge with Ctrl+Z.

    Related

    Was this guide helpful? Spot a mistake? Send feedback · admin@arumsoft.com