๐ Data Analyst Roadmap โ Part 9
๐ Excel โ Level 8: PivotTables, PivotCharts & Interactive Analysis
Now that you understand Excel formulas and dynamic functions, it's time to learn one of the most important Excel features for Data Analysts: PivotTables.
A PivotTable allows you to take a large dataset and quickly summarize it without writing complicated formulas.
For example, imagine you have 50,000 sales transactions. Your manager asks: "Show me total sales by region, product category, and month." Doing this manually would take a lot of time. With a PivotTable, you can summarize the data in seconds.
1๏ธโฃ What Is a PivotTable?
A PivotTable is an Excel tool that lets you summarize, group, compare and analyze large datasets.
Raw data example:
Order ID | Date | Region | Product | Sales | Profit
1001 | Jan | North | Laptop | 80,000 | 12,000
1002 | Jan | South | Mouse | 2,000 | 500
Instead of manually calculating totals, create a PivotTable.
2๏ธโฃ Creating a PivotTable
First select your dataset.
Then: Insert โ PivotTable โ Usually select New Worksheet โ OK.
You'll see four main areas: Rows, Columns, Values, Filters. These four areas are the foundation.
3๏ธโฃ Understand the Rows Area
Rows determines what you want to group by.
Drag Region โ Rows โ You get North, South, West grouped.
4๏ธโฃ Understand the Values Area
Values contains the calculation. Drag Sales โ Values โ Sum of Sales.
Region | Total Sales โ North 155,000, South 92,000, West 5,000.
Now you've answered: "How much did each region sell?"
5๏ธโฃ Understand the Columns Area
Allows you to compare categories horizontally. Region โ Rows, Product โ Columns, Sales โ Values โ You get Region x Product matrix.
6๏ธโฃ Understand the Filters Area
Lets you filter entire PivotTable.
Region โ Rows, Sales โ Values, Year โ Filters โ Select 2026 to see only 2026 results.
7๏ธโฃ The Four PivotTable Areas
Rows โ What do I want to group by?
Columns โ What do I want to compare across?
Values โ What calculation do I want?
Filters โ What do I want to filter?
8๏ธโฃ Change the Calculation
Right-click value โ Value Field Settings โ Choose Sum, Count, Average, Max, Min, etc. e.g., "What is average sales per order?" โ Change to Average.
9๏ธโฃ Sum vs Count in PivotTables
Sum of Sales = 100,000, Count = 3, Average = 33,333.33.
Always make sure aggregation matches business question.
๐ Show Values as % of Total
Right-click Sales values โ Show Values As โ % of Grand Total โ North 50%, South 30%, West 20%.
Useful for contribution analysis.
1๏ธโฃ1๏ธโฃ Group Dates in PivotTables
Right-click a date โ Group โ Years, Quarters, Months, Days.
Makes time-based analysis easier.
1๏ธโฃ2๏ธโฃ Analyze Monthly Sales
Order Date โ Rows, Sales โ Values, Group by Months โ Jan 120K, Feb 145K, Mar 170K etc.
1๏ธโฃ3๏ธโฃ Analyze Sales by Region and Month
Rows โ Region, Columns โ Month, Values โ Sales โ Matrix to identify best/worst region and trends.
1๏ธโฃ4๏ธโฃ Sorting PivotTable Results
Sort Largest โ Smallest to make best performers stand out.
1๏ธโฃ5๏ธโฃ Top 10 Analysis
Use Value Filters โ Top 10 to show top 10 customers/products/regions.
1๏ธโฃ6๏ธโฃ Slicers
Slicers make PivotTables interactive.
Post #3048
3.46K
- ๐ 4
- โค 2