In Excel: select the cells, then Home ▸ Merge & Center (Alt H M C on Windows). To avoid the data-loss trap, prefer “Center Across Selection” instead.
Select the cells you want to merge.
On the Home tab, click the arrow next to Merge & Center and choose the merge type.
To unmerge later, select the merged cell and click Merge & Center again to toggle it off.
Prefer Format Cells ▸ Alignment ▸ Center Across Selection when you only need centred text.
What this does
Merging joins two or more cells into one larger cell, usually to centre a title across columns. It is a visual tool, not a data one: a merged block keeps only the top-left value and discards the rest, and it breaks sorting, filtering and many formulas. That is why experienced users reach for “Center Across Selection” when they only want the look without the side effects. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “merge cells in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a layout choice that keeps the sheet readable and sortable, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
To centre a report title over columns A to D, select A1:D1 and click Merge & Center on the Home tab. The text sits centred across the four columns. But if A1:D1 had four values, only A1 survives. The safe alternative: select the range, open Format Cells ▸ Alignment ▸ Horizontal ▸ Center Across Selection — same look, no merge, no lost data. Merging makes headers and titles look polished, but used inside a data range it quietly sabotages sorting, filtering and formulas. Knowing the safe alternative keeps your sheet both tidy and functional. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “merge cells in excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Merging cells that hold data — everything except the top-left value is silently deleted.
- Merging inside a table you later sort or filter, which Excel will refuse or break.
- Using merged cells where a formula needs to reference each one individually.
- Forgetting that merged cells complicate copy-paste and keyboard navigation.
Frequently asked questions
Why is sorting greyed out after merging?
Sorting and filtering cannot reorder rows that span a merged block. Unmerge the cells, or use Center Across Selection, to restore those features.
How do I merge without losing data?
You cannot keep all values in a true merge. Combine them first with =A1&" "&B1, or use Center Across Selection for the visual effect only.
Does Google Sheets merge the same way?
Yes — Format ▸ Merge cells offers the same options, with the same caveat that only the top-left value is kept.
Other ways people ask this
People reach this page typing “excel merge cells”, “how do i merge cells in excel”, “how to merge cells excel” and “how to merge cell in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.
Platform & version notes
- If you are on a Mac, nothing here changes except the modifier key: swap Ctrl for ⌘ in every shortcut, and use the Windows/Mac toggle at the top of the page so the keystrokes shown match the keyboard in front of you.
Is there a keyboard shortcut for this?
Yes — “merge cells in excel” is one key combination away rather than a trip through the menus. Use the Windows/Mac toggle above to see the exact keys for your machine, and remember Ctrl on Windows maps to ⌘ on Mac.
How is it different on a Mac?
Only the keys. Press ⌘ where Windows uses Ctrl; the menus, formulas and result for "merge cells in excel" are the same on macOS as on Windows.