sodcalculator

08 Everyday Math

Alt D P Pivot Table: What It Does & How to Use

Guide 08-64123 · Updated · Step by step

Alt+D+P is the legacy Excel keyboard shortcut that opens the PivotTable and PivotChart Wizard, letting you create a pivot table from a range, an external source, or multiple consolidation ranges. In modern Excel (2010 and later), the shortcut still works, but it is hidden behind the ribbon, so most users never see it.

What the Alt+D+P Shortcut Actually Does

When you press Alt+D+P in Excel, it launches the PivotTable and PivotChart Wizard – a dialog box that predates the simplified “Create PivotTable” window introduced in Excel 2007. The wizard offers three source options:

  • Microsoft Excel list or database – creates a pivot table from data in a worksheet range or an Excel table.
  • External data source – pulls data from a database, such as SQL Server, Access, or an OLAP cube, via a connection.
  • Multiple consolidation ranges – combines data from several ranges (even from different sheets) into one pivot table, creating a one-page field called “Page1” that lets you filter by source range.

The wizard then takes you through steps to select the range, choose where to place the pivot table, and (for external sources) pick a connection. After you finish, the pivot table is built just as if you had used the standard ribbon method.

Why Use Alt+D+P Instead of the Ribbon?

The main reason people still use Alt+D+P is the multiple consolidation ranges option, which is not available in the standard “Create PivotTable” dialog. If you have several worksheets with identical columns (for example, sales data for each month) and want to combine them into a single pivot table without first copying them together, the wizard is the fastest way.

Another reason is speed for touch typists. The ribbon path (Insert > PivotTable) requires several clicks, while Alt+D+P is a quick three-key sequence. It also works in all modern versions of Excel, including Microsoft 365, Excel 2019, 2016, and 2013, even though the wizard is not listed on any ribbon tab.

How to Use Alt+D+P Step by Step

  1. Select any cell inside your data range (or select the entire range if you want to be specific).
  2. Press Alt+D+P on your keyboard. (Hold Alt, press D, then P.)
  3. In the wizard, choose the source type. For most users, select Microsoft Excel list or database and click Next.
  4. Confirm the range in the “Range” box. If you selected a cell before, Excel usually fills it in automatically. Click Next.
  5. Choose whether to put the pivot table in a New worksheet or an Existing worksheet. Click Finish.
  6. The pivot table appears, and the Field List opens on the right. Drag fields into the Rows, Columns, Values, and Filters areas as usual.

For multiple consolidation ranges, choose that option in step 3, then add each range one by one in the wizard. You can also create a pivot table from external data by selecting that option and then using the connection picker.

Common Problems and Fixes

Problem: Alt+D+P does nothing. This usually happens if you are in cell-editing mode (double-clicked a cell) or if a dialog is already open. Press Esc to exit editing mode, then try again. If you are on a laptop, you might need to press the Fn key or use the numeric keypad’s Alt, depending on your keyboard layout.

Problem: The wizard asks for a range but your data has blank rows or columns. The wizard uses the selected range only. If you select a single cell, Excel tries to detect the surrounding data, but if there are blank rows or columns, it may pick the wrong range. Select the exact range manually before opening the wizard.

Problem: The “Multiple consolidation ranges” option is grayed out. This option is disabled when you have multiple worksheets selected (grouped sheets). Make sure you are on a single sheet before opening the wizard.

Problem: The pivot table created via Alt+D+P does not refresh. Like any pivot table, you need to refresh it manually (right-click > Refresh) or set up automatic refresh. The wizard does not change how refresh works.

Alt+D+P vs. the Standard PivotTable Dialog

The standard dialog (Insert > PivotTable) is the recommended method for most users because it is simpler and offers a “Add this data to the Data Model” checkbox, which enables features like Distinct Count and relationships. The wizard, however, still has a few advantages:

  • It supports multiple consolidation ranges, which the standard dialog does not.
  • It allows you to create a pivot table from an external data source without first creating a connection in the ribbon (though you still need an existing connection).
  • It lets you create a pivot chart at the same time (by choosing “PivotChart” in the wizard), though you can also do that later.

On the other hand, the standard dialog is more discoverable, offers a live preview of the field list, and integrates with Excel’s modern data model. For most simple pivot tables, the standard dialog is faster and easier.

Is Alt+D+P Still Supported in Excel 365?

Yes, Alt+D+P still works in Excel 365 and all versions since Excel 2010. Microsoft has kept the legacy shortcut for compatibility, even though the wizard interface is no longer shown on the ribbon. The shortcut is not documented in the “Keyboard shortcuts” help page, but it remains functional. If you use it regularly, you can also add the “PivotTable and PivotChart Wizard” command to the Quick Access Toolbar for one-click access.

Alternatives to Alt+D+P

If you want the wizard’s functionality without memorizing the shortcut, you can:

  • Add the wizard to the Quick Access Toolbar: Right-click the ribbon, choose “Customize Quick Access Toolbar,” select “All Commands” in the dropdown, scroll to “PivotTable and PivotChart Wizard,” and add it.
  • Use the standard Insert > PivotTable for most tasks, and only use the wizard when you need multiple consolidation ranges.
  • Use Power Query to combine multiple sheets into a single table, then create a pivot table from that. This is more powerful than the wizard’s consolidation feature, especially for large datasets.

Frequently Asked Questions

Does Alt+D+P work on a Mac?

On Excel for Mac, the shortcut is different. You can use Command+Option+P to open the same wizard, but the exact key combination may vary by version. Alternatively, you can access the wizard via the menu: Data > PivotTable (in older versions) or by adding the command to the ribbon.

Can I create a pivot table from multiple sheets using Alt+D+P?

Yes, that is exactly what the “Multiple consolidation ranges” option does. However, the resulting pivot table treats the source ranges as one dataset with a “Page1” field that lets you filter by each range. It does not create a relationship between tables; it simply stacks the data.

Why is Alt+D+P not working in my Excel?

Most likely you are in edit mode (the cell shows the cursor) or a dialog box is already open. Press Esc, click a single cell, and try again. If you are using a laptop, you may need to press the Fn key with the Alt key, or use the on-screen keyboard to send the exact keystrokes.

Is there a way to make Alt+D+P open the wizard every time?

Yes, the shortcut is built-in, so it will always work as long as you are in the Excel window. If you want a mouse-based method, add the “PivotTable and PivotChart Wizard” command to the Quick Access Toolbar as described above.

Does Alt+D+P work in Google Sheets?

No, Google Sheets does not support Excel’s legacy shortcuts. In Google Sheets, you create pivot tables via the menu: Data > Pivot table. There is no equivalent wizard for multiple consolidation ranges; you would need to combine data manually or use the QUERY function.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Everyday Math bed →