Merge and unmerge cells
You can’t split an individual cell, but you can make it appear as if a cell has been split by merging the cells above it.
Merge cells
-
Select the cells to merge.
-
Select Merge & Center.
Important: When you merge multiple cells, the contents of only one cell (the upper-left cell for left-to-right languages, or the upper-right cell for right-to-left languages) appear in the merged cell. The contents of the other cells that you merge are deleted.
Unmerge cells
-
Select the Merge & Center down arrow.
-
Select Unmerge Cells.
Important:
-
You cannot split an unmerged cell. If you are looking for information about how to split the contents of an unmerged cell across multiple cells, see Distribute the contents of a cell into adjacent columns.
-
After merging cells, you can split a merged cell into separate cells again. If you don’t remember where you have merged cells, you can use the Find command to quickly locate merged cells.
Merging combines two or more cells to create a new, larger cell. This is a great way to create a label that spans several columns.
In the example here, cells A1, B1, and C1 were merged to create the label “Monthly Sales” to describe the information in rows 2 through 7.
Merge cells
Merge two or more cells by following these steps:
-
Select two or more adjacent cells you want to merge.
Important: Ensure that the data you want to retain is in the upper-left cell, and keep in mind that all data in the other merged cells will be deleted. To retain any data from those other cells, simply copy it to another place in the worksheet—before you merge.
-
On the Home tab, select Merge & Center.
Tips:
-
If Merge & Center is disabled, ensure that you’re not editing a cell—and the cells you want to merge aren’t formatted as an Excel table. Cells formatted as a table typically display alternating shaded rows, and perhaps filter arrows on the column headings.
-
To merge cells without centering, click the arrow next to Merge and Center, and then click Merge Across or Merge Cells.
Unmerge cells
If you need to reverse a cell merge, click onto the merged cell and then choose Unmerge Cells item in the Merge & Center menu (see the figure above).
Split text from one cell into multiple cells
You can take the text in one or more cells, and distribute it to multiple cells. This is the opposite of concatenation, in which you combine text from two or more cells into one cell.
For example, you can split a column containing full names into separate First Name and Last Name columns:
Follow the steps below to split text into multiple columns:
-
Select the cell or column that contains the text you want to split.
-
Note: Select as many rows as you want, but no more than one column. Also, ensure that are sufficient empty columns to the right—so that none of your data is deleted. Simply add empty columns, if necessary.
-
Click Data >Text to Columns, which displays the Convert Text to Columns Wizard.
-
Click Delimited > Next.
-
Check the Space box, and clear the rest of the boxes. Or, check both the Comma and Space boxes if that is how your text is split (such as «Reyes, Javiers», with a comma and space between the names). A preview of the data appears in the panel at the bottom of the popup window.
-
Click Next and then choose the format for your new columns. If you don’t want the default format, choose a format such as Text, then click the second column of data in the Data preview window, and click the same format again. Repeat this for all of the columns in the preview window.
-
Click the button to the right of the Destination box to collapse the popup window.
-
Anywhere in your workbook, select the cells that you want to contain the split data. For example, if you are dividing a full name into a first name column and a last name column, select the appropriate number of cells in two adjacent columns.
-
Click the button to expand the popup window again, and then click the Finish button.
Merging combines two or more cells to create a new, larger cell. This is a great way to create a label that spans several columns. For example, here cells A1, B1, and C1 were merged to create the label “Monthly Sales” to describe the information in rows 2 through 7.
Merge cells
-
Click the first cell and press Shift while you click the last cell in the range you want to merge.
Important: Make sure only one of the cells in the range has data.
-
Click Home > Merge & Center.
If Merge & Center is dimmed, make sure you’re not editing a cell or the cells you want to merge aren’t inside a table.
Tip: To merge cells without centering the data, click the merged cell and then click the left, center or right alignment options next to Merge & Center.
If you change your mind, you can always undo the merge by clicking the merged cell and clicking Merge & Center.
Unmerge cells
To unmerge cells immediately after merging them, press Ctrl + Z. Otherwise do this:
-
Click the merged cell and click Home > Merge & Center.
The data in the merged cell moves to the left cell when the cells split.
Need more help?
You can always ask an expert in the Excel Tech Community or get support in the Answers community.
See Also
Overview of formulas in Excel
How to avoid broken formulas
Find and correct errors in formulas
Excel keyboard shortcuts and function keys
Excel functions (alphabetical)
Excel functions (by category)
Need more help?
There are various ways you can merge cells in Excel.
One of the most used ways is using the Merge & Center option in the Home tab.
The issue with using Merge & Center is that it can merge the cells, but not the text within these cells (i.e., you lose some data when you merge the cells).
Let’s say we have a data set as shown below:
If I select cell A1 and B1 and use the Merge & Center option, it will keep the text from the left-most cell (A1 in this case) and but you will lose the data from all other cells.
Excel is not completely ruthless though – it warns you before this happens.
If you try and merge cells which have text in it, it shows a warning pop-up letting you know of this (as shown below).
If you go ahead and press OK, it will merge the two cells and keep the text from the leftmost cell only. In the above example, it will merge A1 and B1 and will show the text John only.
Merge Cells in Excel Without Losing the Data
If you don’t want to lose the text in from cells getting merged, use the CONCATENATE formula. For example, in the above case, enter the following formula in cell C1: =CONCATENATE(A1,” “,B1)
Here we are combining the cells A1 and B1 and have a space character as the separator. If you don’t want any separator, you can simply leave it out and use the formula =CONCATENATE(A1,B1).
Alternatively, you can use any other separator such as comma or semi-colon.
This result of the CONCATENATE function is in a different cell (in C1). So you may want to copy it (as values) in the cell which you wanted to merge.
You can also use the ampersand sign to combine text. For example, you can also use =A1&” “&B1
The Benefit of Not Merging Cells in Excel
When you use Merge & Center option to merge cells, it robs you of the ability to sort that data set. If you try and sort a data set that has any merged cells, it will show you a pop-up as shown below:
Alternative to Using Merge & Center
If you want to merge cells in different columns in a single row, here is an alternative of Merge & Center – the Center Across Selection option.
Here is how to use it:
- Select the cells that you want to merge.
- Press Control + 1 to open the format cells dialogue box.
- In the Alignment tab, in the Horizontal drop-down, select Center Across Selection.
- Click OK.
This would merge the cells in a way that whatever you enter in the leftmost cell gets centered, however, you can still select each cell individually. This also does not show an error when you try and sort the data.
NOTE: For Center to Across to work, make sure only the leftmost cell has data.
You May Also Like the Following Excel Tutorials:
- How to Unmerge Cells in Excel (3 Easy Ways + Shortcut)
- CONCATENATE Excel Range (with and without separator).
- How to Find Merged Cells in Excel.
- How to Combine Cells in Excel.
- How to Combine Multiple Workbooks into One Excel Workbook.
Download Article
Merge or unmerge cells together in Excel
Download Article
You can easily merge two or more cells in Microsoft Excel on Mac or Windows! Merging combines a range of cells into one larger cell. This is great for formatting your spreadsheet just how you need it. This wikiHow will show you how to merge (and unmerge) cells in Microsoft Excel.
Things You Should Know
- Select the range of cells you want to merge.
- Go to the Home tab.
- Click the Merge & Center button in the Alignment section.
- Unmerge cells by clicking the drop-down arrow next to the Merge & Center button.
-
1
Select the cells you want to merge. To do so, click one cell, then drag your cursor to select the other cells you want to merge.
- For example, if you want to merge cells A1, B1, and C1, you would click and drag from A1 to C1, highlighting all three cells.
- The cells you merge must be touching each other. For example, you can merge A1 with B1, but not A1 with only C1.
-
2
Click the Home tab. It’s in the top-left side of the Excel window. This will bring up the Home toolbar.
- Merging cells is a great way to add formatting to an Excel spreadsheet. For example, you could put “July Calendar” at the top of an Excel calendar.
Advertisement
-
3
Click the Merge & Center button. This is in the «Alignment» section of the Home tab. Doing so will merge the selected cells and center their content.
- If you don’t want to center the cells’ content:
- Click the ▼ icon to the right of the Merge & Center button.
- Select a merge option.
- Merging cells only keeps the top left cell value. The other values will be deleted.
- If you don’t want to center the cells’ content:
-
4
Unmerge cells. To unmerge cells, follow these steps:
- Select the merged cell.
- Go to the Home tab.
- Click the ▼ icon next to the Merge & Center button.
- Select Unmerge Cells.
Advertisement
Add New Question
-
Question
Can six cells be merged into two cells in Excel?
Yes, of course that’s possible.
Choose 3 cells to be merged into a single cell, then repeat the process with the remaining three cells. -
Question
How do I activate the merge cells option when it’s grayed out?
Try highlighting the cells that are to be merged first; the option may be grayed out because there is nothing to merge available.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
-
You can create an overarching title box for your Excel content by merging cells.
-
For more Excel tips, check out our guides on how to use VLOOKUP and SUM.
-
Looking for money-saving deals on Microsoft Office products like Excel? Check out our coupon site for tons of coupons and promo codes on your next subscription.
Thanks for submitting a tip for review!
Advertisement
-
You cannot merge cells while editing a cell.
Advertisement
About This Article
Article SummaryX
1. Open the Excel document.
2. Select cells to merge.
3. Click Home.
4. Click Merge & Center.
Did this summary help you?
Thanks to all authors for creating a page that has been read 401,803 times.
Is this article up to date?
Merge and Unmerge Cells in Excel
by Avantix Learning Team | Updated February 19, 2022
Applies to: Microsoft® Excel® 2013, 2016, 2019, 2021 and 365 (Windows)
In Excel, you can merge cells using the Ribbon or the Format Cells dialog box. You can also access merge commands by right-clicking or using keyboard shortcuts. Typically, when a user wants to merge cells, they are trying to place longer headers in one cell (such as January Actual Sales). You can merge cells horizontally across columns or vertically across rows.
If you want to combine data from cells in a worksheet (such as first name and last name) in another cell, you can use the CONCATENATE function, the CONCAT function, the CONCATENATE operator, the TEXTJOIN function or Flash Fill.
Recommended article: How to Combine Cells in Excel using Concatenate (3 Ways)
Do you want to learn more about Excel? Check out our virtual classroom or in-person Excel courses >
Merge cells options are available in the Alignment group on the Home tab in the Ribbon:
Merge cells removes data
If you merge cells with text, only the text in the upper leftmost cell will be used and text in cells to the right (and below) will be removed. If there is data to the right or below in the cells that you are merging, a dialog box appears warning that Excel will keep the upper left values and remove other data.
Merge cells issues
Merged cells cause problems in lists or data sets as Excel will have difficulty associating data with merged headers or merged cells in the data with the correct headers. If you have longer headers in lists or data sets, it’s best to create shorter headers in single cells above the associated data. You will not be able to sort or filter a range with merged cells.
It’s usually better to use Center Across Selection rather than Merge Cells because Excel will not merge the selected cells into one cell, it will simply center the data. This command is available through the Format Cells dialog box. If you are want to merge a title across the top of a worksheet, this is usually the best choice.
Excel merge cells options
Excel merge options include:
- Merge & Center – this will merge the selected cells into one cell and center the data from the upper leftmost cell across the selected cells (if cells to the right or below the upper leftmost cell in the selection contain data, it will be removed).
- Merge Across – this will merge the selected cells into one cell from the leftmost cell across the selected cells (if cells to the right of the leftmost cell in the selection contain data, it will be removed). It does not automatically center the data. Merge Across only works for selections across columns, not rows.
- Merge Cells – this will merge the selected cells into one cell from the upper leftmost cell across the selected cells (if cells to the right or below the upper leftmost cell in the selection contain data, it will be removed). It does not automatically center the data.
- Unmerge Cells – this will unmerge a cell that has been merged.
- Center Across Selection (in the Format Cells dialog box) – this will center the data in the selected cells but will not merge the cells into one cell.
In the following example, cells A1 to D1 have been merged using Merge & Center:
Merge cells using the Ribbon
To merge cells using the Ribbon in Excel:
- Select the cells you want to merge by dragging over the cells or click in the first cell and Shift-click in the last cell. The cells must be adjacent to each other.
- Click the Home tab in the Ribbon.
- In the Alignment group, click the arrow beside Merge & Center. A drop-down menu appears.
- Select the merge option you want. The data in the top leftmost cell or uppermost cell will be merged across the selected cells. Data in the other cells will be removed.
Options to merge cells and unmerge cells appear in the Ribbon when you click the arrow beside Merge & Center:
Merge cells using keyboard shortcuts
If you want to access commands on the Ribbon in Excel using your keyboard, you can press Alt to display key tips and then press the displayed key(s).
To merge cells using keyboard shortcuts (key tips):
- Select the cells you want to merge by dragging over the cells or click in the first cell and Shift-click in the last cell. The cells must be adjacent to each other.
- Press Alt > H > M (this is a sequential shortcut so press Alt then H then M). A drop-down menu with merge options appears in the Ribbon.
- Press the displayed letter for the command you want. The data in the top leftmost cell or uppermost cell will be merged across the selected cells. Data in the other cells will be removed.
The following are the keyboard or key tips shortcuts for merging and unmerging cells:
- Merge & Center – press Alt > H > M > C.
- Merge Across – press Alt + H + M + A.
- Merge Cells – press Alt > H > M > M.
- Unmerge Cells – press Alt > H > M > U.
Key tips appear in the Ribbon when you press Alt > H > M as follows to display merge options:
Unmerge cells
You can unmerge a cell that has been merged.
To unmerge a cell using the Ribbon:
- Select the merged cell.
- Click the Home tab in the Ribbon.
- In the Alignment group, click the arrow beside Merge & Center. A drop-down menu appears.
- Select Unmerge Cells.
You can also use the key tips shortcut method to unmerge a cell.
Use Center Across Selection as an alternative to merge cells
You can also use the Format Cells dialog box in Excel to access the Center Across Selection option. In this case, you are actually applying formatting and the cells are not merged. You can display the Format Cells dialog box easily by right-clicking or by pressing Ctrl + 1 (at the top of the keyboard).
To apply Center Across Selection using the Format Cells dialog box:
- Select the cells with the data you want to center (in the leftmost cell).
- Press Ctrl + 1 or right-click the selected cells and select Format Cells. A dialog box appears.
- Click the Alignment tab.
- From the Horizontal drop-down menu, choose Center Across Selection.
- Click OK.
Center Across Selection appears in the Format Cells dialog box:
Center across selection is really the best option for merged titles.
Subscribe to get more articles like this one
Did you find this article helpful? If you would like to receive new articles, JOIN our email list.
More resources
How to Remove Duplicates in Excel (3 Easy Ways)
How to Lock Cells in Excel (Protect Formulas and Data)
3 Excel Strikethrough Shortcuts to Cross Out Text or Values in Cells
Use Conditional Formatting in Excel to Highlight Dates Before Today (3 Ways)
How to Replace Blank Cells in Excel with Zeros (0), Dashes (-) or Other Values
Related courses
Microsoft Excel: Intermediate / Advanced
Microsoft Excel: Data Analysis with Functions, Dashboards and What-If Analysis Tools
Microsoft Excel: Introduction to Power Query to Get and Transform Data
Microsoft Excel: New and Essential Features and Functions in Excel 365
Microsoft Excel: Introduction to Visual Basic for Applications (VBA)
VIEW MORE COURSES >
Our instructor-led courses are delivered in virtual classroom format or at our downtown Toronto location at 18 King Street East, Suite 1400, Toronto, Ontario, Canada (some in-person classroom courses may also be delivered at an alternate downtown Toronto location). Contact us at info@avantixlearning.ca if you’d like to arrange custom instructor-led virtual classroom or onsite training on a date that’s convenient for you.
Copyright 2023 Avantix® Learning
Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.
Avantix Learning |18 King Street East, Suite 1400, Toronto, Ontario, Canada M5C 1C4 | Contact us at info@avantixlearning.ca
Knowing the ins and outs of Excel is essential for organizing data, understanding analytics, and getting the most from your marketing efforts. The tool is great for quickly processing vast amounts of data, but it can be overwhelming if you don’t spend the majority of your workday whipping up spreadsheets.
Fortunately, a few basic skills are all you need to put together an easy-to-read spreadsheet. One is knowing how to merge cells in Excel. Whether you’re planning blog articles for the upcoming quarter, creating an email list for a targeted campaign, or designing SEO-friendly Google ads, merging cells is a handy way to organize your information.
To sharpen your skills, we’ll cover several ways to combine cells.
- How to merge two cells
- How to merge and center cells
- How to merge multiple cells
- How to merge cells without losing data
- A shortcut to merge cells
- Why can’t I merge cells?
Don’t want to start from scratch? Use these free Excel templates as a foundation for your own marketing spreadsheets.
Merging is a way to turn two small cells into one new, large cell. This is useful for organizing information and creating headers, without the need to resize individual cells. Here’s how to do it.
Step 1: Highlight the two adjacent cells you want to merge (I’m merging A1 and B1 in the example).
Source
Step 2: Under the Home tab, click the ‘Merge’ icon and choose ‘Merge Cells’.
Source
Step 3: That’s it! You’ve merged the cells.
Source
Note: When combining cells, only the data in the upper left cell is saved. Make sure to save the information from the other cell so it’s not lost. If you happen to have data in both A1 and B1, Excel won’t simply wipe it. This alert will pop up:
Source
Don’t want to delete the data? Click ‘Cancel,’ and copy/paste the information into a separate document or cell before merging. If you only need the information in the upper-left cell, click ‘OK’ to merge the cells.
How to Merge and Center Cells in Excel
Say you’re building a marketing report and want your titles to be centered above your data. Merge and center cells by following these steps.
Step 1: Highlight the cells you want to merge.
Source
Step 2: Under the Home tab, click the ‘Merge’ icon and choose ‘Merge & Center.’
Source
Step 3: Your cells will merge and the data will be centered within the cell.
Source
How to Merge Cells in Excel Shortcut
Clicking the correct ‘Merge’ function over and over can be a drag if you need to combine a lot of cells. For fast merging, start by highlighting the cells you want to merge. Then, type the following key combinations.
Excel Shortcuts for Windows
- Merge Cells: ALT H+M+M
- Merge & Center: ALT H+M+C
- Merge Across: ALT H+M+A
- Unmerge Cells: ALT H+M+U
Excel Shortcuts for OS
The Apple operating system doesn’t have an ALT key, so you have to set up your own shortcut to merge cells.
- In Excel, click ‘Tools’ under the navigation bar.
- Select ‘Customize Keyboard.’
- A pop-up will appear. Under the header ‘Specify a Command’ there are two columns: Categories and Commands. For Categories, select ‘Home Tab.’ For Commands, select ‘Merge Cells.’
- Select the text box under ‘Press new keyboard shortcut.’ Type the key combination for your shortcut. For example: CONTROL+M.
- Click ‘OK’ to set your shortcut.
- You can now use CONTROL+M to merge cells in Excel.
- Set up additional shortcuts for Merge Across, Merge & Center, or Unmerge.
Source
How to Merge Multiple Cells in Excel
You know the basics, but now you want to get creative and merge more than two cells. Depending on your desired spreadsheet layout, you can use the Merge Across, Merge Cells, or Merge & Center function.
1. Merge Across
This option is used to merge cells within a single row. You can’t use ‘Merge Across’ to combine cells within a column or across multiple rows.
In this example, I’m setting up PPC ads and want to see my description copy in row 17. If I simply resize column F, my table will have too much space between column F and G. Merging multiple cells across row 17 lets me see the copy and keep the table neat.
Step 1: Highlight all the cells you want to merge within the row.
Source
Step 2: Under the Home tab, click the ‘Merge’ icon and choose ‘Merge Across.’
Source
Step 3: The cells merge across the entire highlighted area.
Source
2. Merge & Center
You can merge and center multiple cells across rows and down columns. Just remember the data in the upper-left cell is the only information that will stay once merged. In the example below, I use ‘Merge & Center’ to combine rows 15, 16, and 17 with columns F, G, and H.
Source
Source
3. Merge Cells
The ‘Merge Cells’ function is ideal to combine multiple adjacent cells across rows and columns. It works just like the ‘Merge & Center’ function, except the data will be left-aligned instead of centered after merging.
Source
How to Merge Cells in Excel Without Losing Data
Want to merge cells without losing information from all but the upper left cell? Easy. You can use the ampersand (&) or the CONCATENATE function to combine data from two or more cells.
In the example below, I’m creating copy for Instagram and want to combine the caption with its corresponding link.
Ampersand
Step 1: Choose the cell where you want to put the merged data. Make sure this is separate from the cells you’re merging.
Step 2: Type = in the blank cell and select the first cell to combine.
Step 3: Type & and use » » to leave a space between cell data.
Step 4: Type & again before choosing the next cell. Repeat for all the cells you want to combine. An example formula is =D5&» «&E5.
Step 5: Hit Enter. In the example, you can see how the text from cells D5 and E5 merged into F5.
Source
CONCATENATE or CONCAT
The CONCATENATE function (or CONCAT) is another way to combine two or more text strings together.
The formula in Excel is =CONCATENATE (text1,text2,…). Text1 is the first cell to merge and can be a text value, number, or cell reference. Text2 is the next item to join. For this function, you can merge up to 255 items or 8,192 characters.
Step 1: Highlight a new blank cell where you want to merge the data.
Step 2: In the formula bar, type =CONCATENATE(
Source
Step 3: A formula builder will pop up, allowing you to choose Text1, Text2, and so on. Select the cells you want to merge, in order from first to last. To include spaces between the cell data, you must include ,» «, within the formula. [i.e. =CONCATENATE(D5,» «,E5)]
Source
Step 4: Hit Enter. The data from your selected cells will be combined in the CONCATENATE cell.
Source
Why Can’t I Merge Cells in Excel?
A lot can go wrong if your formula or formatting isn’t set up correctly. If you’re struggling to merge cells, try these troubleshooting tips.
- Ensure you’re not actively editing a cell you want to merge. The ‘Merge’ icon will be shaded out if you’re in the middle of making changes. To fix this, simply hit ‘Enter’ to stop editing or click onto another cell before clicking back to the cell you’d like to merge.
- Check if one of the cells is part of an Excel table. Tables have a unique format that don’t allow merging. You can tell you’re on a Table if the ‘Chart Design’ or ‘Format’ tabs across the top of your workbook are highlighted in green and the ‘Merge’ icon is shaded out.
- Look at the sharing permissions of the Excel workbook. If it’s not shared with you or is protected, you won’t be able to make any changes or merge cells.
How to Unmerge Cells
Maybe you got a little excited trying out your new skills and merged one cell too many. Don’t panic. Simply unmerge your cells by following these steps.
- Highlight the cells you want to unmerge.
- Under the Home tab, click the ‘Merge’ icon and choose ‘Unmerge Cells.’
- Your cells will go back to the original formatting, but you will have lost the information from before the merge.
- If you need that information, click ‘Command’ + Z (OS) or ‘CTRL’ +Z (Windows) to undo your actions until you see the data pop up.