Data Analytics with Spreadsheets

Online B.Com · Sem 4

Lesson 2 of 5

Pivot Tables in Excel

Data Analytics with Spreadsheets

About the video

Pivot Table Excel | Step-by-Step Tutorial

Kevin Stratvert

Study notes

Pivot tables summarise large datasets quickly by grouping, aggregating and cross-tabulating fields without writing formulas. They let analysts rearrange (pivot) the view of data to answer business questions such as sales by region and product.

Preparing data

  • Use a tabular range: one header row, one record per row, no blank rows or columns.
  • Convert the range to an Excel Table (Ctrl+T) so new rows are included when refreshing.
  • Keep each column a single data type (e.g. dates, numbers, text).

Building a pivot table

  • Insert > PivotTable, choose the source range and the location (new or existing sheet).
  • Drag fields into four areas: Rows, Columns, Values, Filters.
  • Values default to Sum for numbers and Count for text; change this via Value Field Settings (Average, Max, Min, Count, etc.).
  • Show Values As offers % of Grand Total, % of Row/Column, running totals and differences.

Refining the analysis

  • Group dates into months, quarters or years; group numbers into ranges.
  • Use Slicers and Timelines for visual, interactive filtering.
  • Sort and filter row labels, e.g. Top 10 products by revenue.
  • Calculated Fields create new measures from existing fields (e.g. Profit = Revenue - Cost).
  • Refresh (Data > Refresh All) after the source data changes; pivot tables do not update automatically.
  • PivotCharts visualise the pivot table and stay linked to it.

Key terms

Pivot table
An interactive summary table that aggregates and groups source data by chosen fields.
Rows/Columns area
Fields placed here become the category labels along the side or top of the table.
Values area
Fields placed here are aggregated (Sum, Count, Average, etc.).
Filters area
Fields placed here filter the entire pivot table.
Slicer
A clickable button panel for filtering a pivot table visually.
Calculated field
A user-defined formula field built from other pivot fields.
Refresh
Command that updates a pivot table with changes in its source data.

Takeaways

  • Clean, tabular source data (ideally an Excel Table) is essential for reliable pivot tables.
  • Drag fields into Rows, Columns, Values and Filters to reshape the summary instantly.
  • Change aggregation and Show Values As to answer different questions from the same data.
  • Refresh after the source data changes.
Contribute

Was this lesson helpful?

We read every rating and fix the weakest lessons first.