Skip to main content
  1. Home
  2. Computing
  3. How tos

How to merge and unmerge cells in Microsoft Excel

Add as a preferred source on Google
Excel app
Image used with permission by copyright holder

If you use Microsoft Excel, you'll recognize that it is a powerful application, capable of acting as a full-featured spreadsheet and data analysis tool.

While Excel is fully capable of some powerful data manipulation tasks, sometimes you need to do something simple like merge and unmerge cells. That essentially means placing the value of one into multiple cells or two cells into a single cell. That's exactly what we're going to cover in this how-to.

Recommended Videos

Difficulty

Moderate

Duration

15 minutes

What You Need

  • A desktop or laptop with Microsoft Excel

Using the Merge and Center command to merge cells

The easiest way to merge a single cell into multiple cells is using the Merge and Center command from the main menu. This command takes the value in the left-most cell in left-to-right languages or the right-most cell in right-to-left languages and places it into however many cells are selected. It's particularly useful when you want a column header to cover multiple columns, such as in the sample spreadsheet where we would like the "Q1 Sales" title to refer to all of the first quarter months.

(This data might later be used to create a graph in Excel.)

Step 1: Select the cells you want to merge into and click on the Merge and Center command.

how to merge cells in excel selecting
Mark Coppock/Digital Trends

Step 2: If you simply click on the Merge and Center button, then the "Q1 Sales" will be spread across the three cells and centered. Note that any data in the cells to the right will be overwritten.

Cells merged across rows in Microsoft Excel.
Mark Coppock/Digital Trends

Step 3: You can also select Merge Across and the cells will be merged but the content will be moved to the left. The Merge Cells function will do the same in most cases.

how to merge cells in excel merged across 2
Mark Coppock/Digital Trends

Using the Merge Cells command to unmerge cells in Microsoft Excel

It's easy enough to unmerge cells that you've merged using the Merge Cells command.

Simply select the cells you wish to unmerge, and select Unmerge Cells from the drop-down menu.

how to merge cells in excel unmerged
Mark Coppock/Digital Trends

Using the Concatenate function to merge cells in Microsoft Excel

Sometimes we want to take two columns and merge them into one, keeping the information from both columns. In our sample spreadsheet, we'd like to take the first name and last name and combine them into a cell containing the full name.

This is easily done by using the Concatenate function. We create the formula in the cell where we want the full name to populate. The formula is in the format "=CONCATENATE(A2," ",B2), where A2 refers to the left-most cell in the second row, B2 refers to the right-most cell in the second row, and the middle section indicates that we want the data separated by a space. Of course, the cell references will change as you move down your table. We could use any symbol we like here. Note that any data in the column where the data is to be merged will be overwritten.

how to merge cells in excel merged with concatenate function
Mark Coppock/Digital Trends

Using these steps you can easily merge, unmerge, and generally manipulate the layout of your spreadsheet. It has possibilities beyond a simple table, as you'll discover with regular use.

Recording important data that you don't want changing? Learn how to lock cells in Microsoft Excel and protect your data.

Mark Coppock
Former Computing Writer
Mark Coppock is a Freelance Writer at Digital Trends covering primarily laptop and other computing technologies. He has…
Microsoft has begun rolling out Copilot Code for building apps with natural language
The workplace-focused vibe coding tool can pull context from emails, documents, meetings, and chats.
Microsoft Copilot code logo

Microsoft introduced Code last month as one of the three core parts of its revamped Copilot app. The app was pitched as an easy-to-use coding agent that lets users describe what they want to build in natural language, like an app, a tracker, a dashboard, an automation, or a workflow, and Copilot would build it for them.

Essentially, it's a workplace-focused vibe-coding app that turns existing work into a functional app, and Microsoft has begun rolling it out through the Frontier program.

Read more
AI agents are acting like rogues and causing a huge headache for US banks
US banks block AI agents over fears they could make unauthorised financial moves
Banking

US banks are facing a new kind of digital headache: artificial intelligence agents attempting to access customer accounts and perform actions that may go beyond what users intended. As AI tools become more capable of navigating websites and carrying out tasks independently, financial institutions are scrambling to prevent them from crossing security boundaries.

According to a report published by Axios on October 22, major US banks have detected third-party AI agents operating inside customer accounts without authorisation. Some agents reportedly appeared to attempt actions independently of user instructions. The banks involved have not publicly detailed every incident, and there is no evidence that the reported activity resulted in widespread theft of customer funds.

Read more
Canva enters the AI image generation race with Craft, and it’s thinking beyond pretty pictures
The new model plans layouts before generating images, with precise editing and support for 30 aspect ratios.
Canva Craft Featured Image

AI can generate all kinds of pretty pictures, but getting it to spell a headline correctly or keep a poster's layout intact can be another story. Canva wants to fix that with Canva Craft, its first in-house image generation model. Rather than focusing primarily on photographs, Craft is designed around the posters, presentations, social media graphics, and other visual content people actually create. The goal is simple: spend less time fixing AI's mistakes and more time making something useful.

Canva Craft plans before it generates

Read more