ThisCalculator

Everyday

Select Entire Pivot Table: Quick Ways & Fixes

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Select Entire Pivot Table: Quick Ways & Fixes

To select an entire pivot table in Excel, press Ctrl+A twice (first click inside the pivot table, then press Ctrl+A twice) or click the PivotTable Analyze tab and choose Select > Entire PivotTable. This highlights every cell in the pivot table, including headers, values, and the report filter area, so you can copy, format, or delete it as one unit.

Why Selecting the Whole Pivot Table Matters

Most people only need to select a few cells, but there are several tasks where you must grab the entire pivot table at once:

  • Copying to another sheet or workbook – If you copy only the visible cells, you may lose the pivot table’s structure or get a static paste instead of a live table.
  • Deleting the whole table – Pressing Delete on a selection of cells only clears values; the pivot table remains. To remove it entirely, you must select the full pivot table and press Delete.
  • Applying formatting to all cells – Changing the font, border, or number format across the entire table requires selecting it all first.
  • Creating a chart from the whole table – A PivotChart uses the entire pivot table as its source, so selecting it all ensures the chart includes every field.
  • Refreshing or changing data source – Some operations, like changing the source range, work best when the whole table is selected.

How to Select the Entire Pivot Table (Step by Step)

Here are the three most reliable methods, tested in current versions of Excel (2016, 2019, 2021, and Microsoft 365):

  1. Using the Ribbon: Click anywhere inside the pivot table. Go to the PivotTable Analyze tab (in older versions it’s called Options). In the Actions group, click Select, then choose Entire PivotTable.
  2. Using the keyboard shortcut: Click any cell in the pivot table. Press Ctrl+A once to select the data region, then press Ctrl+A again to include the entire pivot table (including report filters). On a Mac, use ⌘+A twice.
  3. Using the mouse: Click the top-left cell of the pivot table (usually the first field header). Then hold Shift and click the bottom-right cell. This works only if the pivot table is rectangular with no blank rows/columns inside.

After selection, you’ll see a dashed border around the whole table. To copy, press Ctrl+C; to delete, press Delete.

What Exactly Gets Selected?

When you select the entire pivot table, Excel highlights every cell in the pivot table’s data area plus the row and column headers. It does not include:

  • The worksheet cells outside the pivot table.
  • The source data (the original list the pivot table is built from).
  • The slicers or timelines connected to the pivot table (those are separate objects).
  • Any blank rows or columns that are not part of the pivot table’s range.

If you have multiple pivot tables on the same sheet, only the one you clicked in will be selected.

Common Problems and How to Fix Them

Ctrl+A selects the whole worksheet instead of the pivot table

This happens when you press Ctrl+A too many times or when you click outside the pivot table first. Make sure the active cell is inside the pivot table. Then press Ctrl+A only twice. If you press it a third time, Excel selects the entire worksheet.

The Select button is grayed out

This occurs when the active cell is not inside a pivot table. Click any cell within the pivot table first, then the button becomes active.

Copying the selection pastes only values, not the pivot table

By default, copying a selected pivot table and pasting it elsewhere pastes the values and formatting, but not the pivot table itself. To copy the actual pivot table, select it entirely, then press Ctrl+C, go to the destination, and press Ctrl+V. If you want the new location to have a live pivot table, you must use the Move PivotTable command (PivotTable Analyze > Move PivotTable) instead of copy/paste.

Deleting the selection doesn’t remove the pivot table

If you press Delete after selecting only a few cells, you clear the values but the pivot table remains. To delete the whole pivot table, select it entirely (using any of the methods above) and press Delete. Alternatively, you can select the entire pivot table and press the Delete key on your keyboard – that removes the whole table, including its cache.

Selecting Parts of a Pivot Table (Values, Labels, Data)

Sometimes you don’t want the whole table – just the values or just the labels. Excel offers more granular selection options:

  • Values – Selects only the cells that contain numeric values (the data area).
  • Labels – Selects only the row and column headers (the field labels).
  • Data – Selects both labels and values, but not the report filter area.
  • Entire PivotTable – Selects everything, including the report filter area.

You can access these from the Select dropdown under PivotTable Analyze. Using these options is helpful when you want to format only the numbers or only the headers.

Selecting the Entire Pivot Table with a Macro (VBA)

If you work with many pivot tables, you might want to automate the selection. A simple VBA macro can do it:

Sub SelectPivotTable()
    Dim pt As PivotTable
    Set pt = ActiveCell.PivotTable
    If Not pt Is Nothing Then
        pt.TableRange1.Select
    End If
End Sub

This selects the entire pivot table that contains the active cell. The TableRange1 property returns the full range of the pivot table, including the report filter area. To select only the data area (without filters), use pt.DataBodyRange.Select.

To use this, press Alt+F11 to open the VBA editor, insert a new module, paste the code, and run it. This is a time-saver if you routinely need to select entire pivot tables.

Frequently Asked Questions

Why does Ctrl+A sometimes select the whole sheet?

Ctrl+A has a cascading behavior. If you press it once, it selects the current region (the contiguous block of cells with data). Pressing it again selects the entire worksheet. So if you press Ctrl+A three times, you end up with the whole sheet. To select the entire pivot table, you need exactly two presses, and your active cell must be inside the pivot table.

How do I select a pivot table without using the mouse?

Click any cell in the pivot table, then press Ctrl+A twice. That’s the fastest keyboard-only method. On a Mac, use ⌘+A twice. You can also use the ribbon shortcut: Alt then JT then E then E (this navigates to PivotTable Analyze > Select > Entire PivotTable).

Can I select multiple pivot tables at once?

No, not with the built-in selection tools. Each pivot table is a separate object. To select multiple, hold Ctrl and click in each pivot table (but that only selects the active cell in each, not the whole table). To select multiple entire pivot tables, you would need a VBA macro that loops through all pivot tables on the sheet and selects their ranges.

Does selecting the entire pivot table also select the source data?

No. The source data is a separate range on the worksheet (or in an external data source). Selecting the pivot table only highlights the pivot table’s own cells. If you want to select the source data, you can click on any cell in the pivot table, then go to PivotTable Analyze > Change Data Source, and note the range – but that doesn’t select it automatically.

Why is the Select button missing in my Excel version?

In Excel 2007 and 2010, the tab is called Options instead of PivotTable Analyze. In Excel 2013 and later, it’s PivotTable Analyze. If you don’t see the tab, make sure you’ve clicked inside the pivot table – the contextual tab only appears when a pivot table is active.

When I copy the selected pivot table, why does it paste as static values?

Copying and pasting a pivot table in Excel always pastes the values and formatting, not a live pivot table. To create a new pivot table, you must either use the Move PivotTable command (which keeps the same data source) or create a new pivot table from scratch. If you need a copy of the pivot table structure, you can copy the entire worksheet and then delete the source data – but that’s not a direct copy/paste.

Related

Formula used

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.