Merge and Center is in the Alignment group on the Home tab

Open any Excel spreadsheet and look at the ribbon at the top. Click the Home tab if it is not already selected. In the middle section of the ribbon, you will see a group labeled Alignment. Inside that group is a button that says Merge & Center with a small dropdown arrow next to it. That is the tool you are looking for.

The button shows a small preview of what it does — it displays cells being combined with text centered in the middle. If you cannot see the full label, the button is usually one of the first few in the Alignment group, positioned between the text alignment buttons (left, center, right) and the text direction options.

Key Takeaways

  • Merge and Center is located in the Alignment group on the Home tab of the Excel ribbon.
  • You must select the cells you want to merge before clicking the button, or the command will not work.
  • Merging cells combines them into one larger cell and centers the text automatically.
  • Excel will warn you if your selection contains data in more than one cell — only the top-left cell's content will be kept.

How to select cells before merging

Before you can use Merge and Center, you need to tell Excel which cells to merge. Click on the first cell you want to include, then hold down your mouse button and drag to the last cell. For example, if you want to merge cells A1 through D1, click on A1, hold the button down, and drag to D1. When you release, all four cells will be highlighted in blue.

You can also click the first cell, then hold Shift and click the last cell — this selects everything in between. Make sure all the cells you want to merge are highlighted before you move to the next step. If only one cell is selected, Merge and Center will not do anything.

What happens when you click Merge and Center

Once your cells are selected, click the Merge & Center button. Excel combines all the selected cells into one larger cell and automatically centers any text that was in the top-left cell. If the merged cells contained data in more than one cell, Excel shows a warning that says "The selection contains multiple data values. Merging into one cell will keep the upper-left cell value and discard the others." Click OK to proceed, or click Cancel if you want to keep that data.

After merging, the cell spans across all the columns and rows you selected. The cell reference in the name box (the box that shows the cell address on the left side of the formula bar) will show only the top-left cell address, such as A1. Any formatting you had applied to the original cells is usually lost, so you may need to reapply colors, borders, or fonts after merging.

The dropdown menu next to Merge and Center

If you click the small arrow next to the Merge & Center button instead of the button itself, a menu appears with four options. Merge & Center is the first option and does what we described above. Merge Across merges cells horizontally (left to right) but does not center the text. Merge Down merges cells vertically (top to bottom) without centering.

The fourth option is Unmerge Cells, which splits a merged cell back into separate cells. If you have a merged cell selected and click Unmerge Cells, Excel separates it into the original number of cells. The text stays in the top-left cell, and the other cells become empty. Use this if you need to undo a merge or change how cells are combined.

Common mistakes that prevent Merge and Center from working

The most common reason Merge and Center does not work is that you forgot to select multiple cells. If only one cell is selected, the button will be grayed out or will do nothing when clicked. Always make sure at least two cells are highlighted before you try to merge.

Another mistake is trying to merge cells that are not adjacent — cells that do not touch each other. Excel only merges cells that form a rectangle. If you select A1, A3, and A5 (skipping A2 and A4), the merge will fail or will only merge the cells that are touching. Select a continuous block of cells instead.

If you are working with a protected sheet, you may not be able to merge cells even if the button appears. Your spreadsheet administrator may have locked the sheet to prevent changes. Check with whoever set up the sheet, or ask them to unprotect it if you need to make changes.

When to use Merge and Center versus other alignment options

Merge and Center is useful for creating titles or headers that span multiple columns, such as a report title across the top of a table. It is also good for making section headers that stand out. However, merging cells can cause problems if you plan to sort or filter your data later, because Excel treats merged cells differently than regular cells.

If you only want to center text without merging cells, use the regular Center button in the Alignment group instead. This centers the text within a single cell without combining cells. For most data tables, this is a better choice because it does not interfere with sorting, filtering, or copying data. Reserve merging for headers and titles where you do not need to manipulate the data.

Frequently Asked Questions

What happens to the data in cells I am merging if they are not empty?

Excel keeps only the content from the top-left cell and discards the data in all other cells being merged. Before you merge, Excel warns you that "The selection contains multiple data values" and gives you the chance to cancel. If you need to keep that data, copy it somewhere else first, then perform the merge.

Can I merge cells that are not in a straight line?

No. Excel only merges cells that form a rectangle — a continuous block with no gaps. If you select cells that are scattered or not touching, the merge will not work. Select a rectangular range, such as A1 through D5, and the merge will succeed.

How do I unmerge cells after I have already merged them?

Select the merged cell, then click the dropdown arrow next to Merge & Center and choose Unmerge Cells. The merged cell splits back into the original separate cells. The text remains in the top-left cell, and the other cells become empty.

Does merging cells affect sorting or filtering?

Yes. Merged cells can cause problems when you sort or filter data because Excel does not handle them the same way as regular cells. For data tables, avoid merging cells in the data range itself. Merge only in header rows or title areas above your actual data.

Why is the Merge and Center button grayed out?

The button is grayed out when only one cell is selected, or when the sheet is protected and you do not have permission to merge cells. Select at least two cells, or ask your sheet administrator to unprotect the sheet if merging is locked.