Skip to content

Kuba27x/Excel-17

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“Š Excel-17

Status Excel

โœจ Project Description

Excel-17 is your guide to mastering Pivot Tables in Microsoft Excel.
Learn practical tips, step-by-step instructions, and see illustrated examples for:

  • Pivot Tables
  • Grouping
  • Multi-level Pivot Tables
  • Multiple Report Filter Fields
  • Frequency Distribution
  • Pivot Charts
  • Slicers
  • Calculated Field/Item
  • GETPIVOTDATA function

๐Ÿ“š Goal: Help you analyze data efficiently and create insightful Excel reportsโ€”ideal for learners and power users!


๐Ÿ“’ Table of Contents


๐Ÿ“Š Pivot Tables

Pivot tables are a powerful Excel feature for summarizing large data sets.

To create a pivot table:

  1. Click any cell in your data set.
  2. Go to the Insert tab โ†’ Tables group โ†’ PivotTable. Excel auto-selects your data. Default is a new worksheet.

Pivot Table Wizard

  1. Click OK.

The PivotTable Fields pane opens.
To summarize exported amounts by product:

  • Drag Product to Rows
  • Drag Amount to Values
  • Drag Country to Filters

Pivot Fields

Result:

Pivot Table Result


๐Ÿ” Sort & Filter Pivot Table

Sort:

  1. Click a cell in the Sum of Amount column.
  2. Right-click โ†’ Sort โ†’ Sort Largest to Smallest.

Sort Dialog

Filter: Click the filter drop-down and select France.

Result:

Filtered Pivot


๐Ÿงฎ Change Summary Calculation

  1. Click any cell in Sum of Amount.
  2. Right-click โ†’ Value Field Settings.
  3. Choose calculation type (e.g., Count).

Value Field Settings

  1. Click OK.

Count Result

16 out of the 28 orders to France were 'Apple' orders.


๐Ÿ”€ Two-dimensional & Multi-level Pivot Tables

Two-dimensional:

  • Drag Country to Rows
  • Drag Product to Columns
  • Drag Amount to Values
  • Drag Category to Filters

2D Fields

Result:

2D Result

Multi-level: Drag more than one field to Rows (e.g., Category and Country).

Multi-level Fields

Result:

Multi-level Result


๐Ÿ”— Grouping Items & Dates

Group Products:

  • Select items, right-click โ†’ Group.

Group Dialog Group Result Click minus signs to collapse.

Collapse Groups

Group Dates: Add Date to Rows.
Right-click a date, Group โ†’ Quarters.

Date Group Dialog Date Group Result

Quarter 2 is the best!


โž• Multiple Value & Report Filter Fields

Multiple Values:

  • Country to Rows
  • Amount to Values (twice)

Multi-Value Fields Multi-Value Result

To show % of Grand Total:

  • Value Field Settings โ†’ Custom Name: Percentage
  • Show Values As: % of Grand Total

Show Values As Percentage Result

Multiple Filters:

  • Order ID to Rows
  • Amount to Values
  • Country & Product to Filters

Multiple Filters

Select United Kingdom and Broccoli in filters.

Result:

Multiple Filters Result


๐Ÿ“ˆ Frequency Distribution

Pivot tables can create frequency distributions (histograms).

  • Amount to Rows
  • Amount to Values

Freq Fields

Change Values to Count.

Count Values

Group amounts (e.g., by 1000):

Group Amounts

Result:

Freq Result

Create a pivot chart for visualization:

Freq Chart


๐Ÿ“Š Pivot Charts

Pivot charts visualize pivot tables.

Use your 2D pivot table:

  1. Click a cell in the pivot table
  2. PivotTable Analyze โ†’ Tools โ†’ PivotChart โ†’ OK

Pivot Chart

Changes sync between chart and table!

Filter Pivot Chart: Use Country filter to show only US exports.

Country Filter

Use Category filter to show vegetables.

Category Filter

Change Chart Type: Select chart โ†’ Design โ†’ Change Chart Type โ†’ Pie โ†’ OK

Pie Chart Pie Result

Pie charts show one data series.


๐Ÿฅ’ Slicers

Slicers make filtering pivot tables intuitive.

Insert a slicer:

  1. Click a cell in your pivot table
  2. PivotTable Analyze โ†’ Filters โ†’ Insert Slicer
  3. Check Country โ†’ OK

Country Slicer

Click United States for product details.

Slicer Filtered

Insert a Product slicer, select style, use CTRL to select multiple.

Product Slicer

Connect slicers to multiple tables:

  • Insert a second pivot table
  • Select slicer โ†’ Slicer tab โ†’ Report Connections โ†’ select table

Report Connections Connected Slicers

Click the icon in a slicer to clear its filter:

Clear Slicer

No beans or carrots were exported to Canada!


๐Ÿ”„ Update Pivot Table

Pivot tables do not auto-refresh.
To update after changing data:

  1. Click any cell in the pivot table
  2. Right-click โ†’ Refresh

Or set "Refresh data when opening file" in PivotTable Options.


๐Ÿงฎ Calculated Field/Item

Calculated Field:
Uses values from other fields.

  1. Click a cell in the pivot table
  2. PivotTable Analyze โ†’ Calculations โ†’ Fields, Items & Sets โ†’ Calculated Field

Calc Field

Insert formula, e.g.,

=IF(Amount>100000, 3%*Amount, 0)

Excel adds the field to Values.

Calc Field Result

Calculated Item:
Uses values from other items.

  1. Click a Country in the pivot table
  2. PivotTable Analyze โ†’ Calculations โ†’ Fields, Items & Sets โ†’ Calculated Item

Insert formula, e.g.,

=3%*(Australia+'New Zealand')

Calc Item Dialog Calc Item Result

Created groups: Sales and Taxes.


๐Ÿ“‘ GETPIVOTDATA Function

GETPIVOTDATA returns visible data from a PivotTable.

๐Ÿ“š Official Documentation


๐Ÿ“ท Screenshots

All screenshots are in the /Screenshots folder.


โ„น๏ธ Requirements

  • Microsoft Excel (recommended: 2021/365)
  • Windows OS

๐Ÿ‘จโ€๐Ÿ’ป Author

Project and documentation by Kuba27x
Repository: Kuba27x/Excel-17


About

Pivot Tables, Grouping, Multi-level Pivot Tables, Multiple Report Filter Fields, Frequency Distribution, Pivot Charts, Slicers, Calculated Field/Item, GETPIVOTDATA function

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors