Or click the Merge icon [⊞] on the main toolbar for one-click merge
If your browser intercepts Alt, use Alt + Shift + O instead
Opens the Format menu, then M triggers Merge all
Type 'merge' and press Enter to merge selected cells instantly
Looking for the fastest shortcut for merging cells in Google Sheets or Excel? While Google Sheets lacks a single-key default shortcut, you can merge in seconds using keyboard menu access, quick search (Alt+/), or the F4 repeat key. Check the cheat sheet below, then test what happens to your data in the interactive grid.
At-a-glance comparison for Google Sheets and Microsoft Excel. Master hotkeys, quick search, and step-by-step clicks:
Or click the Merge icon [⊞] on the main toolbar for one-click merge
If your browser intercepts Alt, use Alt + Shift + O instead
Opens the Format menu, then M triggers Merge all
Type 'merge' and press Enter to merge selected cells instantly
Click the dropdown arrow for 'Merge Across', 'Merge Cells', or 'Unmerge Cells'
Mac Excel has no built-in single shortcut. Use F4 to repeat the last merge, or assign a custom shortcut in macOS System Settings.
Press and release Alt to see the ribbon KeyTips, then press H (Home), M (Merge), and C (Center). You don't need to hold all keys down together!
Merging A1:B2 silently and permanently discards B1, A2, and B2. Back up important data first, or use Center Across Selection instead.
A merged block only exists in its top-left cell. Sorting, filtering, and range formulas like SUM or AVERAGE covering the area will fail.
Unmerging only restores the cell grid lines. The discarded values are gone permanently unless you undo immediately.
In Excel, select your horizontal range and press Ctrl+1 → Alignment tab → choose 'Center Across Selection' in the Horizontal menu. Your title centers visually across columns, while every single cell remains distinct! Sorting and formulas never break.
Need to combine data from multiple cells without losing values? Use =TEXTJOIN(" ", TRUE, A1:B1) or =JOIN(" ", A1:B1) to safely join all contents into one cell first before styling.
On Windows, use the menu shortcut Alt + O, then M, then Enter (or Alt + Shift + O depending on browser settings). On Mac, press Ctrl + Option + O, then M, then Enter. Alternatively, press Alt + / (Windows) or Option + / (Mac) to open Quick Search, type 'merge', and press Enter.
Google Sheets does not have a native single-key shortcut like Ctrl+M (which indents text). However, after merging a cell once via the toolbar or menu, you can press F4 (or Ctrl+Y on Windows / Cmd+Y on Mac) on any other selection to repeat the merge immediately.
In Excel for Windows, select the range and press Alt → H → M → C to Merge & Center, or Alt → H → M → M to Merge Cells without centering. To unmerge, press Alt → H → M → U. On Mac, there is no built-in single shortcut, but you can assign a custom shortcut in macOS System Settings or use F4 to repeat.
Standard merging always discards all data except the top-left cell. To keep all your text, combine the cells using a formula first like =JOIN(" ", A1:B1) or =TEXTJOIN(" ", TRUE, A1:B1). In Excel, you can also use 'Center Across Selection' (Ctrl+1 → Alignment) to visually center across columns without merging.
In Google Sheets, select the merged cell and click the Merge icon in the toolbar, or choose Format → Merge cells → Unmerge. In Excel, click Merge & Center again or press Alt → H → M → U. Unmerge restores the cell grid, but deleted values are permanently lost.