Excel Pivot Table Keyboard Shortcuts

Sometimes it’s quicker to use a keyboard shortcut, instead of the mouse, to accomplish a task in Excel. Here are some of the keyboard shortcuts for working with pivot tables in Excel 2007 and Excel 2003.

Excel 2007 Pivot Table Keyboard Shortcuts

Shortcut Action
Ctrl + Shift + * Select entire pivot table (not including Report Filters)
Ctrl +  A Select entire pivot table (not including Report Filters)
Spacebar Add or remove checkmark for selected field in PivotTable Field List
Alt + Shift + Right Arrow Group selected pivot table items
Alt + Shift + Left Arrow Ungroup selected pivot table items
Down Arrow Select next item in PivotTable Field List or Items List
Up Arrow Select previous item in PivotTable Field List or Items List
End Select last item in PivotTable Field List or Items List
Home Select first item in PivotTable Field List or Items List
Alt + Down Arrow Open field list for active cell
Ctrl + – Hide selected item or field
Shift + Ctrl + = When data field selected, opens Calculated Field dialog box
Shift + Ctrl + = When field heading cell selected, opens Calculated Item dialog box
Alt + D, P Open the old PivotTable Wizard

 

Excel 2003 Pivot Table Keyboard Shortcuts

In Pivot Table

Shortcut Action
Alt + L Show Pivot Table dialog box
Alt + R move selected field into Row area
Alt + D move selected field into Data area
Shift + Right Arrow Group selected pivot table items
Alt + Shift + Left Arrow Ungroup selected pivot table items
Down Arrow Select next item in Items List
Up Arrow Select previous item in Items List
End Select last visible item in List
Home Select first visible item in List
Alt + Down Arrow Open field list for active cell
Ctrl + – Hide selected item or field
Shift + Ctrl + = When data field selected, opens Calculated Field dialog box
Shift + Ctrl + = When field heading cell selected, opens Calculated Item dialog box

In Pivot Table Wizard

Shortcut Action
Alt + C move selected field into Column area
Alt + R move selected field into Row area
Alt + D move selected field into Data area
Alt + P move selected field into Page area

_____________

16 thoughts on “Excel Pivot Table Keyboard Shortcuts”

  1. Hi,

    I’m urgently looking for a keyboard shortcut to expand/collapse fields in a Pivot table.
    Can you help here?

    Thx
    Franz

    1. There are no built-in shortcuts for Expand/Collapse, but you could use keys to activate the Ribbon commands.
      With a pivot table field cell selected, press Alt+A to activate the Analyze tab on the Ribbon.
      Then, tap the H key to Collapse
      Or, tap the J key to Expand

      1. Actually, for Expand and Collapse on the current “cell”, as if you were clicking the plus or minus sign next to an item, record two macros and put this line into it:
        ActiveCell.PivotItem.ShowDetail = True (for expand)
        ActiveCell.PivotItem.ShowDetail = False (for collapse)

    2. The thing to do is to use buttons Debra Dalgleish describes below (Hide Detail and Show Detail) but right click on them and add them to your Quick Access Toolbar. If for example you add them in positions 1 for Hide and 2 for Show, then you can use Alt-1 and Alt-2 to hide and expand, which isn’t too bad.

      If you really want to take it further, you can then use a program like AutoHotkey to map other keys to Alt-1 and Alt-2.

  2. Hi Debra,

    Great shortcuts, thanks for putting these together!

    I noticed something small…the article intro talks about shortcuts for 2007 and 2003, but the subheads above both begin “Excel 2003…”

    Dave

  3. Hi,
    Could you please help me in shortcut for “Change Data Source”. I want to know the excel 2003 shortcut.

    Thanks,
    aganesan99

    1. Hi, If there is any short cuts for Excel 2007 Pivot Table,

      My requirements is given below

      Show Pivot Table dialog box
      move selected field into Row area
      move selected field into Data area
      Group selected pivot table items
      Ungroup selected pivot table items
      Select next item in Items List
      Select previous item in Items List
      Select last visible item in List
      Select first visible item in List
      Open field list for active cell
      Hide selected item or field
      When data field selected, opens Calculated Field dialog box
      When field heading cell selected, opens Calculated Item dialog box

      Please help me

  4. hi, I want to copy the function from the previous column and apply it to the next. For example, applying the “show as percentage of column total” on large pivot with about 30 columns.

  5. How do I move datas in the pivot table from right to left or vice versa? Is there any keyboard shortcuts for move and place like cut (ctrl c) and paste (ctrl v)? Please advise. Thank you.

  6. Hi
    what is the keyboard shortcut to select the Pivot table items only and not the headers

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.