I want to know if there is a shortcut in Google Docs Spreadsheets for repeating the last action, like F4 in MS Office.

I found that there was no shortcut for this on Google Forums but the post were from 2009, so I don’t know if there is now the shortcut I’m looking for.

2 Answers 2


Apparently Google decided to add the F4 functionality for Google Sheets since the OP posted this question.

I know it works for inserting/removing rows at least.

  • 2
    Sadly, it's not there yet in Docs. Mar 18, 2015 at 0:28
  • I'm still getting the "There are no changes to redo." alert. I tried pressing F4 or CTRL+Y after inserting or removing a row Mar 18, 2015 at 12:29
  • @elunicotomas I just tried right clicking on a row in Sheets and inserting a new row, then when I hit F4 it inserts another one... it does seem to work in that case :-) Mar 19, 2015 at 1:47
  • 1
    @HighlyIrregular yep, it's working now, maybe I did something wrong:P Mar 20, 2015 at 13:36

Cmd+Y for MacOS

Ctrl+Y on Linux Firefox at least

I just discovered this, and tested it on text input, text formatting and line insertion.

  • 2
    That seems to be the redo command, which only lets you undo your previous undo command. Aug 11, 2014 at 14:26
  • 2
    exactly as Vidar said Aug 12, 2014 at 3:09
  • 3
    +1 Check again -- this answer works despite the down votes. Redo is CMD-Y and it repeats on a Mac.
    – xer0x
    Apr 4, 2017 at 22:43
  • 1
    @VidarS.Ramdal CMD-Y is the redo command but also Repeat Last Action. May 29, 2020 at 8:42
  • Perhaps this will clear confusion, but effectively CMD-Y seems to work as follows: IF there is something to Redo: perform Redo. ELSE: perform Repeat Last Action
    – Andrew Ho
    Nov 24, 2021 at 21:42

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