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.
Enjoy!
Overview Most Useful SPSS Shortkeys
Where | Shortkey | Useful for |
---|---|---|
Data Editor | CTRL + t | Switch between data view and variable view. |
Data Editor | CTRL + / | Go to first/last variable/case (depending on view). Allows for very quick case and variable count when combined with CTRL + t. |
Syntax Window | Shift + / | Select lines of syntax above/below cursor position. |
Syntax Window | F2 | Select Entire Command in which cursor is located. |
Syntax Window | CTRL + r | Run selected syntax. |
Any Window | CTRL + Home / End | Go to beginning/end of window contents. |
Syntax Window | CTRL + c | Copy selected syntax. |
Syntax Window | CTRL + x | Cut selected syntax. |
Syntax Window | CTRL + v | Paste selected syntax. |
Syntax Window | CTRL + a | Select all syntax in window. |
Syntax Window | CTRL + f | Find expression within syntax window. |
Syntax Window | CTRL + h | Replace expression within syntax window. |
Syntax Window | CTRL + z | Undo last edit(s). Note: doesn't always seem to work properly in recent SPSS versions. |
Syntax Window | Home / End | Move to start/end of line. |
Any Window | Alt + tab | Switch between Syntax Window, Data Editor and Viewer Windows. Actually an MS Windows shortkey for switching between applications. |
Any Window | Alt + F4 | Close 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 Window | F1 | When your cursor is located anywhere in a command, help for this command can be opened by pressing F1. |
Syntax Window | Shift + Home / End | Select from cursor through start/end of line. |
Any Window | CTRL + Shift + Home / End | Select from cursor through beginning/end of window contents. |
Syntax Window | CTRL + y | Redo last edit(s). |
Any Window | Alt + F6 | Back to previous window. Handy for switching between Syntax Window and Data Editor. |
THIS TUTORIAL HAS 14 COMMENTS:
By Joachim Aberg on June 16th, 2021
ctrl + t, amazing, thanks!! So helpful
By Neera Adhikari on August 7th, 2021
Very useful information
By Claudio Santos on March 26th, 2022
Great tips!
But
I need one more: how to switch open dataset windows? As we can see, they are numbered, so, there must be a way to…
Thanks a lot
By Ruben Geert van den Berg on March 27th, 2022
Hi Claudio!
Generally, I think it's a bad idea to have more than 1 SPSS dataset open. I stopped using this feature probably some 10 years ago.
The shortcut is Alt + Tab (on Windows).
A better idea is to do this from syntax with
DATASET ACTIVATE ...
but -again- working on 1 dataset at the time is what I recommend.
Hope that helps!
Ruben
SPSS tutorials