Download the Excel merge cells practice workbook

Free Excel workbook

Download the Merge Cells Workbook

Follow along with the exact examples from the tutorial, including merge, unmerge, and better alternatives.

Enter your email and get instant access.

Get the Free Workbook

No spam. Unsubscribe anytime.

Merging cells in Excel is a great way to make a cell bigger, like when you need a larger cell for a title. It helps keep your spreadsheet neat and organized.

Even if you don’t use Excel often, don’t worryโ€”merging cells is easy, and I’ll guide you through it step by step.

How to Merge Cells in Excel (quick steps)

Select the cells

  1. Home tab โ†’ Merge & Center (or open the dropdown)
  2. Choose: Merge & Center, Merge Cells, or Merge Across
  3. To undo: dropdown โ†’ Unmerge Cells

Why Merge Cells in Excel?

Merging cells combines two or more cells into one larger cell. This is useful when you want a title or label to stretch across multiple columns.

For example, if you merge cells A1, B1, and C1, you’ll get a single big cell that covers all three columns. Itโ€™s perfect for creating clear headers in your spreadsheet.

Merging cells is also handy when you want to make your spreadsheet look clean and professional. And the best part? You can do it with just a few clicks.

If you’re merging cells just to display longer text, wrapping text in Excel might be a simpler solution that avoids the downsides of merging.

How to Merge Cells in Excel (3 Methods)

Letโ€™s start with the basics. Hereโ€™s how you can combine cells in Excel:

1. Merge & Center

This is the easiest and most common way to merge 2 cells in Excel.

This option combines the selected cells into one single cell and centers the content in that new merged cell.

Steps:

  • Click and drag to select the cells you want to merge (e.g., A1 to D1)
  • Go to the Home tab at the top of the screen.
  • Click on Merge & Center.
Merge & Center button highlighted while merging header cells for โ€œEmployee Ratingโ€

๐Ÿ’ก When you merge cells, only the content in the top-left cell stays. The rest of the data will disappear. So make sure you donโ€™t need that information before merging.

Merge and Center Shortcut

Use the keyboard shortcut ALT + H + M + C to merge and center.

2. Merge Cells without Centering

You can also merge cells but keep the original text alignment:

  • Click the arrow next to Merge & Center.
  • Then, select Merge Cells from the dropdown.
Merge Cells option selected from the Merge & Center dropdown

Merge Cells Shortcut

Use the keyboard shortcut ALT + H + M + M to merge without centering.

3. Merge Across

Merge Across merges cells in each row separately, rather than merging all selected cells into one large cell.

Steps:

  • Select the cells in the row you want to merge, e.g.,
  • Go to the Home tab.
  • Click the arrow next to Merge & Center and choose Merge Across from the dropdown.
Merge Across option highlighted in the Merge & Center dropdown

This will combine the selected cells across each row without affecting other rows.

Selected multi-row range before using Merge Across

Merge Across Shortcut

Use the keyboard shortcut ALT + H + M + A to merge without centering.


Want to try all three merge methods? Download the free practice workbook with shortcuts and examples ready to go.


Better Alternatives to Merging Cells

Merging cells in Excel can be helpful for formatting purposes, such as creating headers or organizing data in a visually appealing way.

However, merging cells can also create problems, especially when it comes to sorting, filtering, or performing calculations. Letโ€™s explore the alternatives you can use instead.

If you’re merging cells to hide data you don’t need visible, consider hiding rows or columns instead. It keeps your data intact and avoids sorting problems.

1. Center Across Selection

Centers text across a selection of cells without actually merging them.

Use this when you want the visual effect of merged cells but still need the data in individual cells for sorting, filtering, or calculations.

Steps:

  • Select the range of cells where you want to center the text.
  • On the Excel ribbon, go to the Home tab.
  • In the Alignment section, click the small angled arrow in the bottom-right corner to open the Format Cells dialog box.
Alignment dialog launcher highlighted on the Home tab
  • In the Format Cells dialog box, go to the Alignment tab.
  • Under Horizontal, select Center Across Selection and click OK.
Format Cells dialog showing Horizontal set to Center Across Selection

This will center the title “Employee Rating” across columns A to D while keeping each column separate.

โ€œEmployee Ratingโ€ centered across columns without merging cells

2. Combining Data Using Formulas

Sometimes, you need to combine data from multiple cells in Excel without actually merging them. This is especially useful when you want to keep the data in individual cells for sorting or filtering, but you also need a combined view.

Hereโ€™s how you can do it using simple formulas.

Using the Ampersand (&) Method

The ampersand (&) is the simplest way to combine text from different cells.

Steps:

  • Click on an empty cell where you want the combined data, e.g., cell C2.
  • Enter a formula that combines the content of the cells. For example, if you want to combine a first name in cell A2 and a last name in cell B2, you would use:
=A2 & " " & B2

This formula will join the first name and last name with a space in between.

Formula =A2&" "&B2 combines first and last name into one cell

Using the TEXTJOIN Function for Lists

TEXTJOIN is perfect for situations where you need to combine multiple cells with a separator, such as creating a list of items.

Scenario:

  • Suppose you have a list of names in cells A2 to A7.
  • You want to create a single cell, e.g., B2 that lists all tasks separated by commas.
List of names in column A selected for combining with TEXTJOIN

Steps:

  • Click on an empty cell where you want the combined data, e.g., B2
  • Use the TEXTJOIN function. For example, if your names are in cells A2 through A7
=TEXTJOIN(", ", TRUE, A2:A7)

This formula will combine all tasks into one cell, with each task separated by a comma and a space.

TEXTJOIN combines names into one comma-separated list in a single cell

๐Ÿ’ก Note: TEXTJOIN is available in Excel 2019 (and above), and Microsoft 365.

Need to split merged text back apart later? The TEXTBEFORE and TEXTAFTER functions make it easy to extract specific parts of combined text.

For a deeper walkthrough on combining column data with formulas, see our full guide on how to combine two columns in Excel.

Featured Course

Master Excel’s Essential Modern Functions

FILTER, SORT, UNIQUE, XLOOKUP, SEQUENCE. The Excel functions most professionals were never taught, and the ones that turn hours of work into minutes.
Learn More
Excel new functions course cover

How to Unmerge Cells in Excel

Sometimes, you might need to undo a merge in Excel to get back the original layout of your data.

Unmerging cells is simple and helps you restore the original structure without losing important information.

Steps:

  • Select the Merged Cell: Click on the cell that has been merged.
  • Navigate to the Home Tab: Go to the Home tab on the Excel ribbon.
  • Unmerge: Click the arrow next to Merge & Center and choose Unmerge Cells from the dropdown menu.
Unmerge Cells option highlighted in the Merge & Center dropdown

๐Ÿ’ก Your cells will return to their original state. Note that only the content from the top-left cell remains, while the other cells will be empty.

How to Find Merged Cells in Excel

Finding merged cells, especially in a large spreadsheet, can be tricky. Excel provides a quick way to locate all merged cells in your worksheet.

Steps:

  • Use the Find & Select Tool:
    • Go to the Home tab.
    • Click Find & Select in the Editing group, then choose Find.
Find & Select menu opened with Find highlighted
  • Expand the Search Options:
    • In the Find dialog box, click on Options.
    • Search within the sheet or the entire workbook by choosing from the Within dropdown.
    • Click the Format button.
Find dialog Options expanded to set Within and open Format
  • Specify the Search Format:
    • In the Format Cells dialog, go to the Alignment tab.
    • Check the box for Merge cells and click OK.
Find Format dialog with Merge cells checkbox selected
  • Search and Highlight Merged Cells:
    • Click Find All to generate a list of all merged cells in your selected range (sheet or workbook).
    • Click on any result in the list and then use the shortcut Ctrl + A to highlight all the merged cells found.
    • With all merged cells selected, apply a background color or border to easily spot them in your data.
Find All results listing merged cells and keyboard shortcuts table

Download the Free Practice File

Enhance your learning experience by downloading our workbook. Practice the techniques discussed in real-time and master how to merge cells in Excel with hands-on examples.

Download the workbook here and start applying what youโ€™ve learned directly in Excel.

(empty alt)

Featured Bundle

Black Belt Excel Bundle

This Excel Black Belt Package includes EIGHT of our Popular Courses. You’ll learn high-value, in-depth Excel skills that solve real problems.
Learn More
Excel Black Belt Bundle XelPlus

Leila Gharani

Founder of XelPlus and ten-time Microsoft MVP. Leila helps over 500,000 professionals master Excel, Power BI, and data automation through practical, real-world training.