Notes It
Notes It
A Pivot Table is one of the basic data analysis tools. Pivot Tables can quickly
answer many important business questions.
One of the reasons we build Pivot Tables is to pass information. We would like to
support our story with data that is easy to understand, easy to see.
Although Pivot Tables are only tables and thus missing real visuals, they can still
be considered as a mean of Visual Storytelling.
Use a pivot table to build a list of unique values. Because pivot tables summarize
data, they can be used to find unique values in a table column. This is a good way
to quickly see all the values that appear in a field and also find typos, and other
inconsistencies. [https://exceljet.net/pivot-table-tips]
Many Excel experts believe that Pivot Tables are the single most powerful tool in
Excel. This article provides more than 20 tips you should know to work
productively with Excel Pivot Tables.
15.7M
54
Quick Links
Overview
Why Pivot?
Tips
Examples
Training
Pivot tables are a reporting engine built into Excel. They are the single best tool in
Excel for analyzing data without formulas. You can create a basic pivot table in
about one minute, and begin interactively exploring your data. Below are more
than 20 tips for getting the most from this flexible and powerful tool.
Many people think building a pivot table is complicated and time-consuming, but
it's simply not true. Compared to the time it would take you to build an equivalent
report manually, pivot tables are incredibly fast. If you have well-structured source
data, you can create a pivot table in less than a minute. Start by selecting any cell
in the source data:
Example source data
The pivot table above shows total sales by product, but you can easily rearrange
fields to show total sales by region, by category, by month, and so on. Watch the
video below for a quick demonstration:
To minimize problems down the road, make sure your data is in good
shape. Source data should have no blank rows or columns, and no subtotals. Each
column should have a unique name (on one row only) and represent a field for
each row/record in the data:
Perfect data for a pivot table!
You might sometimes need to add missing data. See this video for tips:
When you first create a pivot table, use it to generate a simple count first to make
sure the pivot table is processing the data as you expect. To do this, simply add
any text field as a Value field. You'll see a very small pivot table that displays the
total record count, that is, the total number of rows in your data. If this number
makes sense to you, you're good to go. If the number doesn't make sense to you,
it's possible the pivot table is not reading the data correctly or that the data has not
been defined correctly.
300 first names means we have 300 employees. Check.
Although it's a lot of fun dragging fields around a pivot table, and watching Excel
churn out yet another unusual representation of the data, you can find yourself
going down a lot of unproductive rabbit holes very easily. An hour later, it's not so
fun anymore. Before you start building, jot down what you are trying to measure or
understand, and sketch out a few simple reports on a notepad. These simple notes
will help guide you through the huge number of choices you have at your disposal.
Keep things simple, and focus on the questions you need to answer.
If you use an Excel Table for the source data of your pivot table, you get a very
nice benefit: your data range becomes "dynamic". A dynamic range will
automatically expand and shrink the table as you add or remove data, so won't have
to worry that the pivot table is missing the latest data. When you use a Table for
your pivot table, the pivot table will always be in sync with your data.
To use a Table for your pivot table:
1. Select any cell in the data and use the keyboard shortcut Ctrl-T to create a
Table
2. Click the Summarize with PivotTable button (TableTools > Design)
3. Build your pivot table normally
4. Profit: data you add to your Table will automatically appear in your Pivot
table on refresh
Still need inspiration on why you should learn pivot tables? See my personal
story.
By default, a Pivot Table will count any text field. This can be a really handy
feature in a lot of general business situations. For example, suppose you have a list
of employees and want to get a count by department? To get a breakdown by
department, follow these steps:
In many pivot tables, you'll want to show a percentage rather than a count. For
example, perhaps you want to show a breakdown of sales by product. But, rather
than show the total sales for each product, you want to show sales as a percentage
of the total sales. Assuming you have a field called Sales in your data, just follow
these steps:
See the tip below "Add a field more than once to a pivot table" to learn how to
show total sales and sales as a percent of total at the same time.
Changing value display to % of total
Sum of employees displayed as % of total
Because pivot tables summarize data, they can be used to find unique values in a
field. This is a good way to quickly see all the values that appear in a field and also
find typos, and other inconsistencies. For example, suppose you have sales data
and you want to see a list of every product that was sold. To create a product list:
When you've created a pivot table from data in the same worksheet, you can
remove the data if you like and the pivot table will continue to operate normally.
This is because a pivot table has a pivot cache that contains an exact duplicate of
the data used to create the pivot table.
1. Refresh the pivot table to ensure cache is up to date (PivotTable Tools >
Refresh)
2. Delete the worksheet that contains the data
3. Use your pivot table normally
Question 1
1. Pie
2. Area ✓
3. Bar
Question 2
.......... chart is designed specifically for plotting data values related to stocks and
shares.
1. Pie
2. Area
3. Stock ✓
Question 3
1. Y-axis
2. Value axis
3. Category axis ✓
Question 4
1. Line ✓
2. Bar
3. Scatter
Question 5
1. Area
2. Bar
3. Scatter ✓
Question 1
What is a Chart?
Answer
Answer
Question 3
Answer
1. Chart Area — Chart area includes all the area and objects in the chart.
2. Category Axis — Category axis or X-axis is the horizontal axis of a chart.
3. Value Axis — Value axis or Y-axis is the vertical axis used to plot the
values. It is located at the left side.
4. Data Series — Data series are the bars, slices or other elements that show
the data values. If there are multiple data series in the chart, each will have a
different colour or style.
5. Category Name — Category names are the labels, which are displayed on
the X and Y-axis.
6. Plot Area — Plot area is a window within the Chart area. It contains the
actual chart itself, and includes plotted data, data series, category, and value
axis.
7. Legend — It depicts the colours, patterns or symbols assigned to the data
series. It helps to differentiate the data.
8. Chart Title — It describes the aim and contents of the chart.
9. Gridlines — These can either be Horizontal or Vertical lines depending on
the selected chart type. They extend across the plot area of the chart.
Gridlines make it easier to read and understand the values.
Question 4
Answer
Pie chart displays data in the form of a circle that is divided into a series of
segments. These segments show the relative size of each item in the chart. It
always shows only one data series and is useful when you want to emphasize on a
significant element. This chart type works best with smaller number of values.
Question 5
Answer
Category axis or X-axis is the horizontal axis of a chart whereas Value axis or Y-
axis is the vertical axis used to plot the values. It is located at the left side.
Question 6
Answer
To resize the chart, position the mouse pointer on any of the corner border of the
chart. The mouse pointer will change to a double-headed arrow. Now drag the
handle in the desired direction to change the size accordingly.
Question 7
Answer
To move the chart, place the cursor on the chart area. A four headed arrow appears,
press and drag it in order to move the chart in any direction. Release the mouse
button to place it at the desired location.
Your report should list out all films made in the languages you've chosen, lasting
longer than the minimum length (if not null). Overleaf shows what this report
should look like. Some things to remember:
You can unzip this file to see the answers to this exercise, although please
remember this is for your personal use only.
You can find other training resources for the subject of this exercise here: