SPSS tutorials website header logo

SPSS tutorials


SPSS Keyboard Shortcuts

SPSS keyboard shortcuts allow you to work with amazing speed. Some of the best SPSS shortkeys are not obvious at all so we'll list our 20 favorite SPSS shortkeys in the table below.Note: some shortkeys may be different on a Macintosh.


Overview Most Useful SPSS Shortkeys

WhereShortkeyUseful for
Data EditorCTRL + tSwitch between data view and variable view.
Data EditorCTRL + keyboard arrow / keyboard arrowGo to first/last variable/case (depending on view). Allows for very quick case and variable count when combined with CTRL + t.
Syntax WindowShift + keyboard arrow / keyboard arrowSelect lines of syntax above/below cursor position.
Syntax WindowF2Select Entire Command in which cursor is located.
Syntax WindowCTRL + rRun selected syntax.
Any WindowCTRL + Home / EndGo to beginning/end of window contents.
Syntax WindowCTRL + cCopy selected syntax.
Syntax WindowCTRL + xCut selected syntax.
Syntax WindowCTRL + vPaste selected syntax.
Syntax WindowCTRL + aSelect all syntax in window.
Syntax WindowCTRL + fFind expression within syntax window.
Syntax WindowCTRL + hReplace expression within syntax window.
Syntax WindowCTRL + zUndo last edit(s). Note: doesn't always seem to work properly in recent SPSS versions.
Syntax WindowHome / EndMove to start/end of line.
Any WindowAlt + tabSwitch between Syntax Window, Data Editor and Viewer Windows. Actually an MS Windows shortkey for switching between applications.
Any WindowAlt + F4Close any window. You'll usually get a pop-up window asking whether you'd like to save it if you haven't done so yet.
Syntax WindowF1When your cursor is located anywhere in a command, help for this command can be opened by pressing F1.
Syntax WindowShift + Home / EndSelect from cursor through start/end of line.
Any WindowCTRL + Shift + Home / EndSelect from cursor through beginning/end of window contents.
Syntax WindowCTRL + yRedo last edit(s).
Any WindowAlt + F6Back to previous window. Handy for switching between Syntax Window and Data Editor.

Previous tutorial: Compute A = B = C

Next tutorial: SPSS – Open CSV Data File

Let me know what you think!

*Required field. Your comment will show up after approval from a moderator.

This tutorial has 9 comments