Excel Pivot Tables
Excel Pivot Tables and Charts
Turning Raw Data into Insights with Ease
PivotTables allow you to quickly summarize, analyze, and visualize large amounts of data. When combined with PivotCharts, you can create interactive dashboards and reports that make decision-making easier.
🗂️ Sample Dataset
| Order ID | Date | Region | Product | Sales |
|---|---|---|---|---|
| 1001 | 2025-01-01 | North | Laptop | 1200 |
| 1002 | 2025-01-02 | East | Keyboard | 150 |
| 1003 | 2025-01-02 | West | Mouse | 80 |
| 1004 | 2025-01-03 | South | Monitor | 300 |
| 1005 | 2025-01-03 | North | Laptop | 1300 |
| 1006 | 2025-01-04 | East | Laptop | 1150 |
| 1007 | 2025-01-04 | West | Keyboard | 140 |
| 1008 | 2025-01-05 | South | Mouse | 90 |
| 1009 | 2025-01-05 | North | Monitor | 320 |
| 1010 | 2025-01-06 | East | Laptop | 1250 |
| 1011 | 2025-01-06 | West | Laptop | 1180 |
| 1012 | 2025-01-07 | South | Keyboard | 160 |
| 1013 | 2025-01-07 | North | Mouse | 85 |
| 1014 | 2025-01-08 | East | Monitor | 310 |
| 1015 | 2025-01-08 | West | Monitor | 290 |
| 1016 | 2025-01-09 | South | Laptop | 1220 |
| 1017 | 2025-01-09 | North | Keyboard | 155 |
| 1018 | 2025-01-10 | East | Mouse | 95 |
| 1019 | 2025-01-10 | West | Laptop | 1200 |
| 1020 | 2025-01-10 | South | Monitor | 305 |
🔑 Step 1: Creating a PivotTable
- Select any cell in the dataset.
- Go to Insert → PivotTable.
- In the dialog box, choose the table range (A1:E21) and select “New Worksheet”.
- Click OK.
🛠️ Step 2: Building the PivotTable
Example: Show Total Sales by Region and Product
- Drag Region → Rows
- Drag Product → Columns
- Drag Sales → Values (Sum)
Example PivotTable Output
| Region | Keyboard | Laptop | Monitor | Mouse | Total |
|---|---|---|---|---|---|
| East | 310 | 2400 | 310 | 95 | 3115 |
| North | 155 | 2500 | 320 | 85 | 3060 |
| South | 160 | 1220 | 605 | 90 | 2075 |
| West | 140 | 2380 | 580 | 80 | 3180 |
| Total | 765 | 8500 | 1815 | 350 | 11430 |
🔄 Step 3: Adding Filters
- Drag Date into the Filters area to filter sales by a specific date range.
- Drag Product into Filters to view only selected products.
📈 Step 4: Creating a PivotChart
- Select the PivotTable.
- Go to Insert → PivotChart.
- Choose a chart type (Column or Pie is common).
- Click OK.
🔥 Advanced Features
- Group Data: Right-click on dates → Group by Month/Quarter/Year
- Calculated Fields: Add custom formulas (e.g., Profit = Sales * 20%)
- Slicers & Timelines: Add interactive filters to your PivotTable/Chart
✅ Summary
- PivotTables help you summarize large datasets easily.
- You can filter, group, and calculate totals dynamically.
- PivotCharts give you visual insights from PivotTables.
Comments
Post a Comment