Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Sorting and Filtering Pivot Data | Sorting, Filtering, and Grouping Data
Practice
Projects
Quizzes & Challenges
Quiz
Challenges
/
Excel Pivot Tables in Depth v2

bookSorting and Filtering Pivot Data

Scorri per mostrare il menu

After creating a Pivot Table, you often need to change the order of results or focus on a subset of data. You’ll sort Pivot results and apply filters using different parts of the Pivot Table interface.

Pivot Tables provide built-in tools for sorting and filtering data without changing the source dataset.

Sorting Pivot Data

Sorting controls the order of items displayed in a Pivot Table. You can sort: alphabetically by labels, or by the calculated values shown in the Pivot Table.

To sort by value:

  1. Click any numeric cell in the Pivot Table;
  2. Open the context menu;
  3. Choose Sort;
  4. Select Largest to Smallest or Smallest to Largest.

Excel will sort the row or column labels based on the values of the selected field.

carousel-imgcarousel-imgcarousel-imgcarousel-img

To sort alphabetically:

  1. Click the dropdown next to the row or column labels;
  2. Choose Sort A to Z or Sort Z to A.
carousel-imgcarousel-imgcarousel-img
Note
Note

Sorting changes only the report view. The source data remains unchanged.

Filtering Pivot Data

Filtering controls which records are included in the Pivot Table calculations. Pivot Tables support filtering in three places.

Report Filter (Filters Area)

The Filters area is located in the Pivot Table Field List. To apply a Report Filter:

  1. In the Field List, drag a field into the Filters area;
  2. A filter dropdown appears above the Pivot Table;
  3. Open the dropdown and select the values you want to include.

This filter affects the entire Pivot Table.

carousel-imgcarousel-imgcarousel-img

Label Filters

Label filters are applied directly to row or column labels. To apply a Label Filter:

  1. Click the dropdown next to Row Labels in the Pivot Table;
  2. Choose Label Filters;
  3. Select a condition (for example, contains or begins with).

Label filters work with text values.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img

Value Filters (Based on Calculations)

Value filters are based on the calculated results shown in the Pivot Table. To apply a Value Filter:

  1. Open the Row Labels dropdown;
  2. Choose Value Filters;
  3. Select a rule (for example, is between);
  4. Enter a numeric condition.
Note
Note

Value filters use the aggregation result, not the raw data.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
  • Sort the Pivot Table by total values, largest to smallest;
  • Add Region to the Filters area;
  • Filter the Pivot Table to show only North.
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 1

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

Sezione 2. Capitolo 1
some-alt