How to merge cells in Excel, and when to centre across a selection instead

Select the cells and choose Home > Merge & Center; only the upper-left value is kept, so join text first or centre across the selection instead.

Read time
12 min
Word count
1.9K
Sections
11
FAQs
8
Share
Woman at a laptop showing a spreadsheet, holding a printed report layout, under the title Merge Cells in Excel
On this page · 11 sections
  1. Which Excel versions these steps cover
  2. The merge options at a glance
  3. How to merge cells in Excel for Windows and Mac
  4. How to merge cells in Excel for the web
  5. How to unmerge cells
  6. How to merge cells without losing data
  7. Centre a heading without merging
  8. Problems merged cells cause, and how to fix them
  9. For IT teams and template owners
  10. How eCorpIT can help
  11. References

Summary. To merge cells in Excel, select two or more adjacent cells and choose Home > Merge & Center; the arrow beside it offers Merge Across, Merge Cells and Unmerge Cells, and Excel for the web uses Merge & Center > Merge Cells. Read Microsoft's warning first: only the upper-left cell's contents survive (upper-right in right-to-left languages) and the rest are deleted. To keep everything, join the text first with the & operator, CONCAT or TEXTJOIN, then paste the result as values; TEXTJOIN needs Microsoft 365, Excel 2019 or later, or Excel for the web. For titles, Center Across Selection is usually the better choice: press Ctrl+1, open the Alignment tab and pick it from the Horizontal list. The text looks merged but every cell stays separate, which matters because Microsoft says Excel won't sort a column that contains merged cells. It works in Excel for Windows and Mac but, according to a Microsoft Q&A moderator, not in Excel for the web; since September 2026 Insiders on Windows and Mac can also reach it from the Merge & Center menu.

About this article. For anyone who formats Excel reports, from analysts to IT teams who maintain templates. On 15 November 2026 we checked every step, label, shortcut and function limit against Microsoft Support and Microsoft Learn, and version and support dates against Microsoft's release notes, Excel blog and lifecycle pages. Microsoft's US and UK merge help pages use the same labels. Labels can differ slightly by version and update channel, and no vendor paid for inclusion. Researched with AI assistance and reviewed by our editorial team.

Which Excel versions these steps cover

The steps apply to Excel for Microsoft 365 on Windows (Current Channel Version 2610, build 20527.20196, released 10 November 2026) and on Mac (Version 16.115, released the same day), Excel 2024 and Excel for the web. Microsoft's merge page also lists Excel 2021, 2019 and 2016, where the commands are the same. Excel 2016 and 2019 reached end of support on 14 October 2025 and Excel 2021 on 13 October 2026, so those versions no longer get updates.

The merge options at a glance

Microsoft's merge help, its Format Cells reference and the VBA documentation for merging describe these options.

Option What it does Windows Mac Web
Main merge button One merged cell, content centred Yes Yes Yes
Merge Across One merged cell per selected row Yes Yes Yes
Merge Cells One merged cell, without centring on the desktop Yes Yes Yes
Unmerge Cells Splits a merged cell again Yes Yes Select Merge Cells again
Centre across selection Centres text over several cells without merging Yes Yes No
Join with & or TEXTJOIN first Puts several values in one cell, nothing deleted Yes Yes Yes

Microsoft's web help covers only Merge Cells; the web entry for Merge Across rests on a Microsoft Q&A moderator's advice.

How to merge cells in Excel for Windows and Mac

  1. Select two or more adjacent cells. Put the value you want to keep in the upper-left cell first; on a Mac, Microsoft also suggests copying anything else to another place in the sheet before you merge.
  1. On the Home tab, select Merge & Center to merge and centre in one step.
  1. To merge without centring, select the arrow next to Merge & Center and choose Merge Across, which turns each selected row into its own merged cell, or Merge Cells, which makes one merged cell for the whole block.
  1. If the other cells held data, it is now gone. Press Ctrl+Z to undo, combine the values first using the method below, then merge again.

If Merge & Center is unavailable, finish or cancel the cell you are editing, and check that the cells are not formatted as an Excel table, which usually shows banded rows and filter arrows.

You cannot split a cell that was never merged. To spread one cell's text over several columns, use Data > Text to Columns instead.

How to merge cells in Excel for the web

  1. Select the first cell, then hold Shift and select the last cell in the range.
  1. Make sure only one cell in the range contains data.
  1. Select Home > Merge & Center, then Merge Cells.
  1. To merge without centring, select the merged cell afterwards and choose Align Left, Center or Align Right.

If the merge command is dimmed, check that you are not editing a cell and that the cells are not inside a table.

How to unmerge cells

  • Windows and Mac: select the merged cell, select the arrow next to Merge & Center and choose Unmerge Cells.
  • Web: press Ctrl+Z straight after a merge to undo it. Later, select the merged cell and choose Home > Merge & Center > Merge Cells again; Microsoft says the data moves to the left cell as the cells split.

Excel stores a merged range's value in its upper-left cell, so that is where the value stays. Unmerging does not bring back anything the merge deleted. Use Undo, or restore an earlier version if the file is stored in OneDrive or SharePoint.

How to merge cells without losing data

A merge keeps only one value, so join the text into a single cell first. Take this sample data:

Row A (First) B (Last) C (City)
2 Ana Silva Leeds
3 Raj Mehta (blank)

These formulas give the results shown:


            Cell  Formula                        Result
D2    =A2&" "&B2                     Ana Silva
E2    =CONCAT(A2," ",B2,", ",C2)     Ana Silva, Leeds
D3    =TEXTJOIN(" ",TRUE,A3:C3)      Raj Mehta
          
  • Ampersand (&). Works in every version. Put a space, as a text string, between references, as in D2.
  • CONCAT. Joins up to 253 text items, and you add separators yourself. It replaces CONCATENATE, which stays available for older versions, and needs Office 2019 or a Microsoft 365 subscription.
  • TEXTJOIN. Places a delimiter between items and skips empty cells when the second argument is TRUE, which is why D3 has no trailing space. Microsoft lists it for Microsoft 365 on Windows and Mac, Excel 2024, 2021 and 2019, and Microsoft365.com. It takes up to 252 text arguments and returns #VALUE! if the result passes the 32,767-character cell limit.

Then make the result permanent:

  1. Select the formula cells and copy them (Ctrl+C, or ⌘+C on a Mac).
  1. Paste them back as values. On Windows choose Home > Paste > Values; on a Mac, select the arrow next to Paste on the Home tab and choose Paste Values.
  1. Delete the original columns, or merge the now-empty neighbouring cells around the combined value.

Centre a heading without merging

Center Across Selection is a horizontal alignment setting that centres an entry over the selected cells while every cell stays separate.

Windows:

  1. Type the heading in the leftmost cell, for example A1, and leave B1:E1 empty.
  1. Select A1:E1.
  1. Press Ctrl+1 to open Format Cells.
  1. On the Alignment tab, open Horizontal and choose Center Across Selection.
  1. Select OK.

Mac: select the cells, right-click and choose Format Cells (or press ⌘+1), open the Alignment tab and choose Center Across Selection from the Horizontal pop-up menu. Microsoft notes that text rotation is unavailable for cells with this setting.

In preview: Microsoft's September 2026 Excel round-up said Insiders on Windows and Mac now find Center Across Selection in the Merge & Center menu. The October 2026 round-up did not announce it for everyone, and the Current Channel notes up to Version 2610 do not mention it, so most users still go through Format Cells.

Web: not available. A Microsoft Q&A moderator from Microsoft's external support staff said in December 2025 that the browser version lacks the setting, and suggested centring the text and using Merge Across as a workaround. If your team works only in the browser, accept a merge for titles or apply the setting in the desktop app.

Why it is worth the extra clicks: with no merged cells, Microsoft's sorting restriction does not apply, and each cell stays individually selectable. Keep the other cells in the heading row empty.

Problems merged cells cause, and how to fix them

  • Sorting fails. Microsoft says Excel doesn't sort data in a column that contains merged cells. Find and unmerge them first.
  • You can't merge inside a table. Merge & Center is disabled for cells formatted as an Excel table. Put the heading above the table, or convert it: on Windows select Table Design > Convert to Range, and on a Mac select Table > Convert to Range, then Yes. Converting removes table features such as structured references, so read our guide on how to name a table in Excel before you give a table up.
  • Wrapped text is cut off. Microsoft notes that wrapped text may not show in full when it sits in merged cells. Unmerge, then fit the row with Home > Format > AutoFit Row Height. Our guide to justifying text in Excel covers wrap and alignment in more detail.
  • Formatting is locked. On a protected sheet, people can change cell formatting only if the owner allowed Format cells when protecting it. Our guide on how to lock cells in Excel explains those options.
  • You can't find the merged cells. In the desktop app, select Home > Find & Select > Find, select Options if the Format button is hidden, then Format. On the Alignment tab tick Merge cells, select OK (or Close in some versions) and choose Find All. Selecting a result selects that merged cell. In Excel for the web, select a cell and see whether Merge & Center is highlighted in the Alignment group.

For IT teams and template owners

Keep raw data unmerged in Excel tables, and limit merges, or better Center Across Selection, to title rows and print layouts.

If you build templates with VBA, set heading alignment instead of merging. HorizontalAlignment accepts the XlHAlign constants, and xlHAlignCenterAcrossSelection has the value 7; Range.Merge with Across set to True merges each row separately.


            ' VBA: centre a title over A1:E1 without merging
Range("A1:E1").HorizontalAlignment = xlHAlignCenterAcrossSelection
          

People who work only in the browser cannot apply that setting from the web ribbon, so test templates in Excel for the web as well as the desktop apps.

How eCorpIT can help

eCorpIT is a Gurugram-based technology organisation, founded in 2021, assessed at CMMI Level 5 and MSME certified, with senior-led engineering teams working across AWS, Microsoft and Google platforms. Our data and analytics services team cleans up legacy workbooks and rebuilds reporting templates so the data stays sortable, filterable and ready for automation. Talk to us at /contact-us/.

Last updated: 15 November 2026.

References

  1. Merge and unmerge cells in Excel — Microsoft Support
  1. Combine text from two or more cells into one cell in Microsoft Excel — Microsoft Support
  1. TEXTJOIN function — Microsoft Support
  1. Keyboard shortcuts in Excel — Microsoft Support
  1. Control settings in the Format Cells dialog box — Microsoft Learn
  1. Find merged cells — Microsoft Support
  1. Excel 365 browser. How to align across selection, 19 December 2025 — Microsoft Q&A
  1. What's New in Excel (September 2026), 29 September 2026 — Microsoft Excel Blog
  1. Merge and unmerge cells in Excel (United Kingdom edition) — Microsoft Support
  1. Release notes for Current Channel releases — Microsoft Learn
  1. Release notes for Office for Mac — Microsoft Learn
  1. Ending Support in 2025 — Microsoft Lifecycle
  1. Ending Support in 2026 — Microsoft Lifecycle
  1. Range.Merge method (Excel) — Microsoft Learn
  1. Align or rotate text in a cell — Microsoft Support
  1. View previous versions of Office files — Microsoft Support
  1. CONCAT function — Microsoft Support
  1. Paste options — Microsoft Support
  1. Copy and paste specific cell content in Excel for Mac — Microsoft Support
  1. Fix data that is cut off in cells in Excel for Mac — Microsoft Support
  1. What's New in Excel (October 2026), 29 October 2026 — Microsoft Excel Blog
  1. Convert an Excel table to a range of data — Microsoft Support
  1. Wrap text in a cell in Excel — Microsoft Support
  1. Protect a worksheet — Microsoft Support
  1. Find or replace text and numbers on a worksheet — Microsoft Support
  1. Range.HorizontalAlignment property (Excel) — Microsoft Learn
  1. XlHAlign enumeration (Excel) — Microsoft Learn

Frequently asked

Quick answers.

01 How do I merge cells in Excel?
Select two or more adjacent cells, then use the merge button on the Home tab to merge them and centre the content. Its arrow offers Merge Across and Merge Cells if you do not want centring. Only the upper-left value is kept and the others are deleted, so combine any text you need before merging.
02 How do I unmerge cells in Excel?
In Excel for Windows or Mac, select the merged cell, open the arrow next to the merge button on the Home tab and choose Unmerge Cells. In Excel for the web, press Ctrl+Z straight after merging, or select the merged cell and choose Merge Cells again. Unmerging never restores values a merge deleted.
03 How do I merge cells in Excel without losing data?
Join the values into one cell first with an ampersand formula, CONCAT, or TEXTJOIN, which can skip empty cells and needs Excel 2019 or later, Microsoft 365 or Excel for the web. Copy the results, paste them back as values, then delete the source columns or merge the empty cells around them.
04 What is Center Across Selection in Excel?
It is a horizontal alignment setting that centres the text of the leftmost cell over the selected cells without merging them. Select the cells, press Ctrl+1, open the Alignment tab and choose it from the Horizontal list. The cells stay separate, so sorting and selecting single cells keep working as normal.
05 Why is Merge & Center greyed out in Excel?
Usually you are still editing a cell, so press Enter, Return or Esc first. The other common cause is that the cells are formatted as an Excel table, which cannot contain merged cells; convert the table to a range or put the heading above it. A protected sheet can also restrict formatting changes.
06 Can you sort a column that has merged cells?
Not according to Microsoft, which says Excel does not sort data in a column containing merged cells. Use Find with the Merge cells format option and Find All to list them, unmerge them, then sort again. For headings, use the Horizontal alignment setting instead of merging so the problem does not come back.
07 How do I find merged cells in Excel?
In the desktop app, open Home, then Find & Select, then Find. Select Options if needed, then Format. On the Alignment tab tick Merge cells, select OK and choose Find All to list every merged cell. In Excel for the web, select a cell and check whether the merge button is highlighted.
08 Does Excel for the web support Center Across Selection?
Not as far as Microsoft had said publicly by 15 November 2026. A Microsoft Q&A moderator said in December 2025 that the browser version lacks it, and Microsoft's September 2026 preview of a quicker menu entry named only Windows and Mac. Apply the setting in the desktop app, or centre the text and merge instead.

About the author

Manu Shukla

Founder & Director

Founder of eCorpIT. Hands-on engineer leading senior-only delivery for AI apps, custom software, and cloud systems for global clients.

Subscribe

One engineering note a week. No fluff, no spam.

Senior-architect playbooks on AI agents, mobile apps, cloud, security, data, and marketing — delivered every Wednesday.

Past the reading

Read enough. Let's build something.

A senior architect responds in 24 working hours with scope, indicative cost, and a timeline. NDA before any technical conversation.

Loading search…

Browse all guides