Is there a keyboard shortcut to merge cells in Google Sheets? I've looked and can't find it. F4 doesn't repeat merging cells either. I'm on OSX, Apple keyboard.

Anyone been able to do this with a shortcut? I have to merge an ungodly amount of cells and would prefer to not have to use the drop down menus to do it.

  • There was a saving grace workaround in my case - maybe it will apply to your case as well. When pasting unmerged my cells, I just re-merged them in batch, but selecting all the affected rows and using "Merge Horizontally" - this merges all selected cells in each selected row, without merging any cells together across rows.
    – Ciabaros
    Nov 19, 2021 at 4:05

8 Answers 8


There doesn't seem to be a native shortcut, but you can use Alt+O, M, and then Enter to select "Merge All" quickly from the dropdown menu.

  • What's the equivalent of this on a mac?
    – spacetyper
    Jun 20, 2017 at 16:04
  • 2
    See @Yu De Lim's answer below: use "control option" (menu keyboard shortcut letters) in this case: control-option-"o"-"m" (enter)
    – Williams
    Jan 1, 2018 at 21:00

Use @Pikachu's solution (Alt+O,M,Enter) for the first one then use Ctrl+Y (Edit - Redo) for the rest. This assumes you're doing them one after the other, as I am.


Use @Pikachu's solution (Alt+O,M,Enter). On a mac the equivalent is control+option+O,M,Enter.

  • I've been looking for the "control option" command to open menus in drive for soooo long! Thank you.
    – Williams
    Jan 1, 2018 at 20:58
  • +1 for mac equivalent. Thank you.
    – Carl G
    Sep 23, 2019 at 20:59

On Linux the following works: ALT+SHIFT+O,M,ENTER


Honestly, easiest way: 1. copy a merged cell. 2. paste it on top of a the cell/row you want to merge.

fastest method.


I created a macro, you just need to set it to run when shift, ctrl, alt & "number" is pressed.

Macro script:

/** @OnlyCurrentDoc */

function Unavngivetmakro() {
  var spreadsheet = SpreadsheetApp.getActive();

For MacOS this works like a charm:

ALT + SHIFT + O + M + A


I just wanted to add that merging the first set of cells manually, then selecting ALL the cells you want merged the same way, then using Ctrl+Y works as well and saves a ton of time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.