Excel Pivot Tables - Basic Beginners Guide To Learn Excel Pivot Tables For Data Analysis and Modeling
Excel Pivot Tables - Basic Beginners Guide To Learn Excel Pivot Tables For Data Analysis and Modeling
Excel Pivot Tables - Basic Beginners Guide To Learn Excel Pivot Tables For Data Analysis and Modeling
MG Martin
© Copyright 2019 - _____MG Martin____All rights reserved.
The contents of this book may not be reproduced, duplicated or transmitted
without direct written permission from the author.
Legal Notice:
This book is copyright protected. This is only for personal use. You cannot
amend, distribute, sell, use, quote or paraphrase any part or the content within
this book without the consent of the author.
Disclaimer Notice:
Please note the information contained within this document is for educational
and entertainment purposes only. Every attempt has been made to provide
accurate, up to date and reliable complete information. No warranties of any
kind are expressed or implied. Readers acknowledge that the author is not
engaging in the rendering of legal, financial, medical or professional advice.
The content of this book has been derived from various sources. Please
consult a licensed professional before attempting any techniques outlined in
this book.
I want to thank you for choosing this book, ‘Excel Pivot Tables - Basic
Beginners Guide to Learn Excel Pivot Tables for Data Analysis and
Modeling.’
Most organizations and businesses use Excel to perform data analysis. These
organizations also use it for modeling. There are numerous features and add-
ins that Excel offers which make it easier to perform data analysis and
modeling. A pivot table is one such feature provided by Excel.
You can analyze a million rows of data within a few clicks, show the required
results, create a pivot chart or report, drag the necessary fields around and
highlight the necessary information. It is imperative that people who use
excel are well versed with using pivots. If you are looking to learn more
about what a pivot table is and how you can use it for data analysis, you have
come to the right place.
Over the course of the book, you will learn more about what a pivot table is,
how you can create a pivot table, the different ways you can use a pivot table
and much more. The information in the book is easy to understand and will
guide you on how you can use a pivot table to analyze data.
Thank you for purchasing the book. I hope you gather the information you
are looking for.
Chapter One: An Introduction to Pivot Tables
A pivot table is one of the most powerful tools or features that Excel offers.
You can extract a significant amount of information from a large data set
using a pivot table. For the purpose of this chapter, we will be using a data set
that contains 213 rows and 6 headers or fields namely, Order ID, Product,
Category, Amount, Date and Country.
Let us now look at how we can insert a pivot table to organize the data set.
3. You will see the dialog box below on your screen. If you look
clearly at the image below, you will notice that Excel has
automatically selected the data for you. Excel always chooses the
default location for a pivot as a New Worksheet.
c
4. Click OK.
You will see that a New Worksheet has opened with a pivot table that is
linked to your data set. Alternatively, you can instruct Excel to create the
pivot table in the same worksheet if needed.
You will see that the pivot table has been created in the Excel sheet. This is
how easy it is to create and use a pivot table. From the pivot table that was
created, you will notice that the main export is Bananas.
Sort Data in a Pivot
Once you create the pivot, you may want to sort the data to ensure that you
have sorted the data, in the example above, let us look at how we can move
Bananas to the top of the table.
1. Go to the drop down arrow in the filter section of the pivot and
choose the option ‘France.’
2. You will see that apples are the main products exported from
France.
Alternatively, you can also use the triangle arrow that is present next to Row
Labels to filter on the products. This will, however, only show you the
amounts of the different products that are exported.
3. Now, choose the calculation that you want to use. You have
multiple options to choose from. Let us choose the ‘Count’ option
for the purpose of this example.
4. Click OK.
Alternatively, you can change the calculation using the fields present in the
Pivot Table pane.
According to https://connectusfund.org/8-advantages-and-
disadvantages-of-pivot-tables, “Pivot tables are program tools that
allow users to summarize or reorganize rows or columns of data.
They are usually found in database tables and spreadsheets,
allowing for information to be obtained from the report without the
need for the file to be altered.”
Here are some of the advantages and disadvantages of using a tool
like a pivot table in your tables.
Advantages of Pivot Tables
Allow Users To View How Data Works
A pivot table is one of the many Excel tools that allow a user to obtain some
deep insights into data. You can generate multiple reports in Excel using this
tool using one data set.
Works Well With SQL Exports
If you insert a pivot table in Microsoft Excel, you can work with that pivot
table on any SQL export.
Data Is Easier To Segment
It is easier to gather some analytics about the data set into a database or
spreadsheet using a pivot table.
You Can Generate Instant Data
You can create instant data using a pivot table regardless of whether you use
an equation to obtain that information or you rely only on formulae.
There are numerous actions that one can perform using pivot tables. This
chapter throws some light on the different functions you can perform using
Pivot tables. Please download the workbook we will be using for the
examples in this chapter from the following link:
https://www.myexcelonline.com/wp-content/uploads/2017/02/Sort-by-
Largest-or-Smallest.xlsx
Step Three: Ensure that you select the dialog box that says ‘My table has
headers.’ Click Ok.
You will see that a new worksheet has opened which provides information
about the selected cell. As mentioned earlier, any change made in this new
worksheet will not change the original data source or the data in the pivot.
You will see that the values in the pivot table have been updated.
Subtotals
If you have multiple fields in the Rows area in the pivot table, you will notice
that there is a Subtotal option under every group in the pivot. So, what if you
want to remove the option to view the subtotals at the bottom of the group or
want to show the values at the top of the group? You can work with subtotals
in different ways. Let us look at how you can do this.
Step One: Move at least two fields in the Row labels area in the pivot table
pane.
Step Two: Now, click on your pivot table, and move to the PivotTable Tools
option. Choose the Design option and move to the subtotals section.
Step Three: Now, choose one of the following options:
Report Layouts
Your report can be in three different layouts – outline, tabular and compact.
Choose a layout by going to the option PivotTable Tools. Choose Design and
click on Report Layouts. Each of these layouts has its own pros and cons, and
we will look at each of them below in detail.
Compact Layout
You can use this layout to optimize the data for readability since it allows
you to keep the data related to the pivot in one column. It will be hard to do
the analysis in the future if you copy the data into a new worksheet.
Outline Layout
This layout will allow you to include a field’s header in every column. You
can also repeat every label in the data set when you use this layout. Unlike
the compact layout, the outline layout allows you to reuse the source data in
any new location for other types of analysis. The disadvantage is that this
layout occupies too much space.
Tabular Layout
The tabular layout allows you to include a field header in every column, and
allows you to repeat every item that is present in the labels. You will see all
the data in the source file in the same format as a traditional table. This
layout, much like the outline layout occupies a lot of space. It is also very
difficult to include a subtotal at the top of the group.
Change the Value Field Setting
Most users complain that they only get the count of the values instead the
sum of those values. There are three reasons why this happens:
● Your source data includes blank cells.
● The columns with values in them show that there are text fields within
the column.
● There are grouped data in the source data.
Blank Cells
There may be an issue where you have blank cells or missing data in the
source data. When there are blanks in the source data, Excel will
automatically assume that the entire column is text based.
Text Cells
If there are some cells that have been formatted as text in the values column
in the pivot pane, Excel will not calculate the sum of the values in those cells,
but will count them instead. This happens when you download the
information from an external system or the Internet. This is because these
sources often convert numbers into text.
In such situations, you will get only the count of the sales and not the total
sales amount.
Excel Fix
Step One: Enter either a zero or any other value in the blank cell or the cells
formatted as text.
Step Two: Click on the column that is formatted as text in the pivot, and right
click on any cell in that column. Remove this column from the Values area in
the pivot pane.
Step Three: Refresh the pivot table.
Step Four: Add the column to the values field in the area once again.
Grouped Values
Let us assume that you have included sales or a similar number in the Values
field in the row and column areas of the pivot pane, and you want to group it.
When you drop those values in the field, you will get the option to count the
number of variables.
Excel Fix:
Step One: You should first ungroup the values in the pivot table. To do this,
right click on the grouped values and choose the ‘ungroup’ option.
Step Two: Now, drag the count of the sales from the Value area and move it
back to the original section of the pivot table pane.
Step Thee: Move the Sales field back into the Values area of the pivot table
pane.
This will not show you a sum of all the sales.
It is important to remember that you will sometimes need to verify if the
pivot table includes any values that are grouped. It may not be evident to the
naked eye, especially if the data is not selected in either the row or column
labels.
If you want to confirm that the fields have been grouped, you should move
this field from the Pivot Table field into the row or column label area.
Number Formatting
It is easy to format the values in the pivot table by choosing the number
format option. You can change the format of the number to a number,
percentage, currency and custom.
Step One: Right click on a cell in the pivot table that contains a number, and
choose the option ‘Number format.’
Step Two: You should now choose the format that you want to use.
The number formatting in your pivot table has been updated based on the
selection made.
Format Error Values
There are times when you will receive errors in a pivot table if you include a
formula or a calculated item. This error will look ugly, especially when you
are presenting the analysis to a lot of people. It is easy to override this error
by including a default value that should be used instead of the error.
Step One: If you look at the pivot table below, you will notice that there is an
error in the calculation for one record.
Step Two: Right click on a cell in the pivot table and go to the option ‘Pivot
table Options.’
Step Three: Select the option ‘For Error Values Show’ in the dialog box that
is open on your screen.
Step Four: Now, enter any value or text in the box.
The error values in the pivot table are not formatted properly.
Step Two: Go to the Pivot Table tools section in the menu bar, and click the
‘Options’ button. A dialog box will open.
Step Three: You should now set the default value for the empty cells in the
source data.
The blank values have now been replaced.
Step Two: Uncheck the option to auto fit the column width when you update
the pivot table.
Step Three: Now, update the data in the source.
You will now see that the pivot table for every customer will appear on a new
sheet.
Average
You can choose different calculations that you can perform on the source
data by choosing a specific operation in the Summarize Values By window.
You can calculate the sum, count, average, maximum, minimum, etc.
When you add a numeric value into the Values Area in the pivot table pane,
Excel will automatically calculate the sum of those values. It is easy for you
to convert this calculation from a sum into the average. This will give you the
mean or average value for the values in the source data.
Step One: Now, click the source data and go to the Insert tab in the menu bar.
Select Insert Pivot table.
Step Two: When you do this, you will see the Create Pivot Table box on your
screen. Excel will automatically select the range of the table or source data.
You can choose to insert the pivot table in the existing worksheet or in a new
worksheet.
Step Four: Now, drag and drop the required fields into the pivot tables pane
in your excel workbook.
Step Five: Once your pivot table is set up, you can select any value in the
pivot table and right click on the cell. Now, choose to summarize the values
in the pivot based on the average.
Step Six: You now have a pivot table report that will show you the average
sales for the region in one year.
Step Three: You will now see a pivot table on your screen. Remove the
customer field from both the row and values areas. This will give you a total
transaction value for every customer in the source data.
Step Four: If you want to obtain a distinct count of the variables in the source
data, you should click on Customers in the values area of the pivot pane.
Click on the drop down arrow and select the ‘Value Field Settings’ option.
Step Five: You should select the ‘Distinct Count’ option from the list in the
dialog box, and click OK.
Percent Of grand Total
An Excel pivot table allows you to perform numerous calculations, and the
percent of grand total is one such calculation that it can perform. Excel will
automatically calculate the percentage values for you using the numbers
present in the column. Remember that this is only done when the values in
the columns are all numbers. The example below looks at how you can
calculate the percentage of the grand total of the values in any column.
Step One: You should first insert a new pivot table in the excel sheet with the
data.
Step Two: You should add the Sales month field to the rows section, the
financial year to the columns section and include the sales value twice in the
Values area of the pivot table pane.
Step Three: You should now choose the second sales field, and click the drop
down arrow. Choose the ‘Value Field Settings’ option from the window that
opens.
Step Four: Now, select the “Show Values As” tab. Click on the drop down
arrow and choose the percent of grand total. You should also change the
name of the column from Custom name to Percent of Grand Total. This will
make the pivot more presentable.
Step Five: If you notice clearly, you will see that the data is now in a decimal
format that is very hard for any user to read.
If you want to format the column labeled Percent of Grand Total, you should
click on the percent of grand total column (also the second sales field). Click
on the drop down arrow, and select ‘Value Field Settings.’ You must
transform the numbers from the decimal format into a more readable format.
Step Six: Choose the Number format in the dialog box that opens.
Step Seven: You should make the changes to the formatting in the Format
cells dialog box. Click OK twice. For the purpose of this example, we will be
using the percentage category to make it easier for users to read the
percentage values of the grand total.
Excel will now create the pivot table. This table will show you the percentage
of the grand total for the information across different years. The sales
numbers are always represented as the percentage of the grand total. If you
look at the image below, you will note that the figure is represented as a
percentage.
Percentage of Column Total
An Excel pivot table will have numerous calculations under the “Show
Values As” option, and the Percent of Column Total is one calculation that
can help you the most. You can calculate the percentage values for the pivot
using this option. You will notice that the pivot table will calculate the
percentage of any value that is present in the source data in an instant. We
will look at how we can calculate the percent of column total in a pivot table
in the sections below.
Step One: Now, click on the data and insert a new pivot table. To do this, go
to the Insert tab, select Pivot table and choose to create the table either in a
new worksheet or in the existing worksheet.
Step Two: In the rows section in the pivot pane, add the sales month field.
Add the financial year field to the columns area and add the sales field twice
in the values area of the pivot table pane. We will look at why we are doing
this in the sections below.
Step Three: Now, move to the second sum of sales field column, and click on
the drop down arrow. Open the Value Field Settings option.
Step Four: Choose the Show Values As option, and click on the drop down
arrow. Select the % Column Total. You can also change the name of the
column to Percent of Column Total. This will make the pivot table more
presentable. Click OK.
Step Five: If you look carefully at the screen below, you will find it hard to
read the decimal format in the column ‘Percent of Column Total.’
You can also format the column ‘Percent of Column Total.’ To do this, you
should click on the drop down near the percent of column total column, and
choose the option ‘Value Field Settings.’ The objective is to transform the
numbers in that column into a percentage from the decimal format. This will
make it easier for people to read the number.
Step Six: Now, click the button that says ‘Number Format’ in the dialog box.
Step Seven: You can make the changes to the formatting inside the format
cells dialog box, and click on Ok twice. In this section, we are using the
percentage category to calculate the percentage values to obtain the percent
of the column total values. This makes it easier for any external user to read
the numbers.
The pivot table on your screen will now show the percentage of the column
total across different years. The sales numbers are all represented as the
percentage of the total of each column. You will see that this column is
represented as a total of one hundred percent.
Step Two: Add the Sales person to the rows section of the pivot table, the
financial year field to the columns table and the sales field in the values area.
You should add the sales field to the value area twice.
Step Three: Click the drop down arrow near the header ‘Sum of Sales2,’ and
choose the Value Field Settings option in the window that opens.
Step Four: You should now select the ‘Show Values As’ tab and select the
‘% of Row Total’ option. You should also change the custom name to make
the data in the pivot more presentable.
Step Five: The information in the new column in the pivot will be hard to
read since the numbers are in a decimal format.
You should click on the percent of row total column, and click the drop down
arrow. Now, choose the ‘Value Field Settings’ option from the window that
opens. Select the percentage option since you want to convert the format to
percentage from decimal to improve readability.
Step Six: Now, choose the number format button.
Step Seven: You can make some changes to the format in the pivot within the
Format Cells box and click OK. In the example below, we will be using the
percentage category to make it easier for a user to read the numbers.
You will now see the Percent of Row Total for the sales data across the years
in the updated pivot. The sales numbers in the pivot will now be represented
as a percentage of every row in the source data.
Variance Calculations
You can perform numerous calculations in an Excel pivot table using the
“Show Values As” option. The option that is often used is the Difference
From calculation. You can always use the base period as days, weeks,
months, years, etc. It is a good idea to use this option when your manager
asks you how your company is doing when compared to the past. The
example below will show you how you can look at the variance from the
previous year.
Step One: Insert a pivot chart for the source data.
Step Two: In the Rows area of the pivot, add the Months field, add the years
field to the columns area and the sales field twice to the values area.
Step Three: Now, select the second sales field in the options below and click
the drop down arrow. Choose the Value Field Settings.
Step Four: You should then select the Show values As Tab, and click on the
drop down. Choose the option ‘Difference From’ in the window that appears.
Step Five: You will now need to choose the base items. You can choose the
previous financial year and click OK. The header in the pivot table will now
read ‘Difference from the previous Financial Year.’
Step Six: If you want to format the values of the pivot table, you should go to
the PivotTable Tools option, select ‘Analyze/Options’ and then select the
entire pivot table.
You will then need to go to the PivotTable Tools option and choose the
option ‘Analyze/Options.’ In the dialog window that opens, choose the
‘Values’ option.
If you want to open the format cells dialog box in the pivot table, click on the
shortcut Ctrl+1. You can make the necessary formatting changes and hit OK.
Remember that this will change the format of the entire column, and if you
add any new field to the pivot table, it will take the same format.
Step Seven: If you want to change the name of the header within a pivot
table, all you need to do is click on that header and manually make the
adjustments.
Step Eight: You must first select the entire column that contains the empty
values and hide them. Remember that you should select the entire column to
do this.
You will now see that the pivot table that you have created is formatted fully,
and shows the difference or variance in the figures when compared to the
previous year.
Running Total In
A running total is a value that accumulates the data across a certain period
like weeks, months, years or even days. This option is also known as the year
to date analysis. This value will take the value of one period; add that value
to the second period, then the third period and so on to give you the
accumulated value. If you are well versed with statistics, you will know that
this is called a cumulative value. You can either show this value in the
percentage form or the currency form. You do not have to include a formula
or multiple functions to calculate this in Excel.
Step One: You should first insert a pivot table for your source data.
Step Two: Now, add the month’s field to the rows area, the year field to the
column area and add the sales field to the values area. Make sure that you add
the sales field twice to the values area as you did earlier.
Step Three: Now, right click on any of the total cells and remove the grand
total.
Step Four: Now, move to the header ‘Sum of Sales2’ and click on the drop
down arrow. In the window that appears, click on Show Values As. You can
then choose the option % running total in and choose the base field as
months.
Step Five: Now, you can manually update the name of the second sum field.
This can be done by clicking on the title in the pivot table.
Step Six: You can now insert a pivot chart on the screen. This can be done by
going to PivotTable Tools, clicking on Options/Analyze and choosing the
Pivot Chart option.
Step Seven: Select the Combo Chart option in the Insert Chart dialog box.
Now, select the YTD% series as the secondary axis and click OK.
Now, the percentage of the totals are shown in the pivot table, and these are
also shown in the form of a graph using the pivot chart option.
Group by Date
It is easy to group the data in a pivot table on the basis of the dates. You
should move to the Dates column in the pivot table, and right click on any
cell in the column. Now, choose the option to group the data based on the
dates. A dialog box will open which will allow you to group the data in the
pivot table based on the days, months, quarters and years.
Step One: move to the “dates” column in the pivot, and right click on the cell.
Now, select the option ‘Group…’ from the window.
Step Two: Now, select the right combination and group the data in the right
format. Now, click OK.
The pivot table on the screen is now grouped by the dates.
Step Two: Select the ‘Order Date’ field in the rows section in the pivot table
pane. The latest versions of Excel will group the data automatically based on
the years and quarters.
Step Three: If you are using an older version of Excel, right click on any
value in the pivot table and select the ‘Group’ option.
Step Four: Excel is smart to determine the data range that you want to use to
group the data. You must ensure that you only select the quarters and years.
These will be highlighted in blue. This will instruct excel to group the data
based on quarters and years.
You will notice that the year’s field has been added to the pivot table field list
automatically. This field can now be used in different pivot table analyses.
Step Five: Add the Sales field to the values area in the pivot table pane, and
obtain the sales for every range.
You will now see that the values have been grouped by the years and
quarters. You can always improve the formatting of the data.
Step Six: Now choose the sum of sales, and select the option ‘Value Field
Settings.’
Step Seven: Choose the number format.
Step Eight: Choose the option ‘Currency’ in the dialog box and click OK.
You will now see that you have the total sales value for every quarter.
Step Three: Release the cursor and you will notice that the months have been
populated automatically until July.
It may seem like magic when excel does this for you, but let us now look at
how we can create custom lists in Excel.
Step Four: Go to the menu bar and select ‘File.’
Step Seven: Click on edit Custom Lists in the general section of the dialog
box.
You will see the built-in lists of the days and months in the dialog box. When
you click the custom list, you will see that the area under list entries is greyed
out. This means that no changes can be made to that data. This means that
this is a default custom list in Excel.
Step Eight: you can add or create a custom list in Excel under the List entries
section. You should click on the new list option and enter the list manually.
Remember that you can only enter one entry at a time.
Once you have added the necessary values to the list, click Add. We have
added the Greek alphabet to the list. Click OK when you are happy with the
list.
Step Nine: Click on OK.
Step Ten: Let us now look at the previous Excel workbook to view the new
custom list that is prepared. To see how this works, type alpha in one cell.
Step Eleven: Now click the lower right corner of your cell and drag the value
to the cells on the right.
Step Twelve: Now release the cursor, and you will see that the data has been
populated until zeta. This is based on the custom list that we created in the
eighth step.
Filter by Dates
There are numerous date filters that you can choose from when you are using
a pivot table. You can choose to filter by the week, the following month or
quarter, the next year, last year or the current year. This list is endless. It is
useful to use this option when you want to calculate the invoices for the data
that you have collected. You can also use this to assess the sales. Let us first
look at a few examples of filters.
Step One: Go to the Row Labels option, and select ‘Date Filters.’ Select the
option ‘Between’ in the window that opens.
Step Two: Now, add the data range to the pivot table, and click OK.
Filtering by values
It is easy to filter a pivot based on the top ten values. You can choose from
numerous value filters and perform different kinds of analysis. The image
below shows the pivot table that we will be using.
Step One: Move to the row labels and select value filters. Choose to filter
based on the top ten values.
Step Two: Set the filter to the top five items and click ok.
You have now added the required filters to the pivot table.
Inserting Slicers
A slicer is an interactive and visual button or filter that allows you to look at
the different items that have been chosen in a pivot table. Let us now look at
how you can insert a slicer in your pivot.
Step One: Select any cell on your pivot table and click inside it.
Step Two: Go to Options or Analyze and choose to insert the slicer. You can
select multiple fields. For the purpose of this exercise, we will look at the
month and year fields. Click ok.
The slicer is now ready for you to use. You can slice and dice the data using
the slicer. We will look at how you can select multiple slicers in your
workbook in a different section.
Slicer Styles
There are numerous slicer styles that you can choose from. These styles will
add some color to your Excel workbook. You can also add some components
like columns to a slicer. If you want to explore the different styles that you
can attach to a slicer, right click on a slicer and experiment with the different
options that are available.
Step One: Select the slicer you want to update.
Step Two: In the menu bar, go to slicer tools and choose options. You can
change the style of the slicer using the slicer styles option. You can always go
back and make changes to the slicer is necessary.
Step Two: Now, click on any cell in the first pivot table, and include the
month slicer. You can do this by going to PivotTable Tools and selecting the
option Analyze/Options. Next, click on ‘Insert Slicer’ and choose the base as
Month. Click OK.
Step Three: Now, click on any cell in the second pivot table, and include the
year slicer. You can do this by going to PivotTable Tools and selecting the
option Analyze/Options. Next, click on ‘Insert Slicer’ and choose the base as
Year. Click OK.
Step Four: You should now right click on the first slicer and then move to the
report connections or pivot table connections. Select the box against
PivotTable2 and then click ok.
Step Five: Now, right click on the second slicer and move to the report
connections or pivot table connections. Select the box against PivotTable1
and then click ok.
When you select the items in the slicer, there will be a change in both pivot
tables. Look at the image below, and the next section to see how you can
perform this function.
Filtering a Slicer
Excel allows you to slice your screen into different segments, and this is one
of the best things about Excel. This feature was first introduced in the 2010
version, and they help you identify which items have been selected or filtered
in a pivot. You can filter a slicer in different ways. Try practicing the
different methods of filtering a slicer using the workbook provided at the
beginning of the chapter.
Left Mouse Click
The easiest way to select numerous items in a slicer is by using the left mouse
button.
Ctrl Keyboard
You can select numerous slicer items by holding the control key down and
using the left mouse button to select the items.
Shift Keyboard
You should now select the first slicer item. If you want to select a second
slicer item, hold the shift key down and press select. You can select a range
of such items.
Step One: Click on a cell in the pivot table, and go to ‘Options.’ Now go to
the section ‘Fields, Items and Sets’ and choose the ‘Calculated Field’ option.
Step Two: Now, set the name of the calculated field to Cost of Goods sold.
Step Three: Now add the formula in the dialog box. The values in the
calculated field will be based on this formula.
Step Four: Since the formatting is incorrect, you should right click on the
column and select the option ‘Number Format.’
Step Five: Now, select the percentage option and click OK.
The new value is now in the percentage format and is ready to use.
Creating Calculated Items in a Pivot
A Pivot table allows you to include a calculated item. You can perform any
mathematical calculation on that item to obtain a new item. You can use
different mathematical calculations like addition, subtraction, multiplication
or division. The only issue with doing this is that you cannot refer to specific
cells when you are performing these calculation operations. You can use this
item to calculate changes between different records in the data set. If you
want to create a calculated item, ensure that you click on the required cell in
the pivot table. Now, move to the tab PivotTable Tools and go to Options. In
this tab, select Fields, Items and Sets and choose Calculated Item.
Step One: Choose the item in the list that you wish to calculate.
Step Two: Now, move to the tab PivotTable Tools and go to Options. In this
tab, select Fields, Items and Sets and choose Calculated Item.
Step One: Click any cell in the pivot table and go to the options tab. Select
PivotChart.
Step Two: A dialog box will appear and give you numerous chart types to
choose from. Select a Chart type and click OK.
Step Three: Before you apply the rule, select the third option: ‘All cells
showing “Sum of SALES” values for “MONTH” and “YEAR”’.
Step Four: Now, select the rule type ‘Format Only Cells That Contain’.
Step Five: Now, you should edit the description of the rule. To do this, go to
Cell Value > Greater Than, and choose the cell that you want to use as the
reference.
Step Six: Select the format and color.
The highlight or formatting of the cell will automatically change when you
update the value.
Directional Icons
When you use a pivot table, it becomes easy to show the variance between
the data collected.
Once you generate the pivot table, you can use it to show the variance in the
sales data across different months using the directional icon in conditional
formatting or the arrows.
Step One: Click on any of the values that calculate the variance in the pivot
table and go to Home > Conditional Formatting > Icon Sets > Directional
Step Two: You will now see the Apply Formatting Rule dialog box. Select
the third option in the list and apply this formatting to every value except for
the subtotal.
You may have created numerous Pivot tables when you were working on
Microsoft Excel, but you may have encountered numerous problems while
you were creating them. This is probably due to the fact that a pivot table is
not as flexible as it should be or you may have had some trouble with
connecting to the right data source. There are many different options that you
can choose from when you are creating a Pivot table report. You must
understand the different setting that you can use for this purpose. This chapter
will take you through some of the issues that you may come across when you
are using pivot tables.
Issues With Getting Started Your Company may have asked you to create a
pivot table using the sales data for your company, but you are unsure of what
issues or problems you will need to consider before you work on creating it.
When you spend some time on planning, you will be able to create a pivot
table that uses the right information and also delivers the right information
that is required. You should consider the following when you plan on
creating a pivot table:
● The type of data that you will be using to create the pivot table
● The location of the file
● The necessity to share the information with others
Finally, if you enjoyed this book, then I’d like to ask you for a favor, would
you be kind enough to leave a review for this book on Amazon? It’d be
greatly appreciated!
https://www.freelancer.in/community/articles/50-possible-things-you-can-
implement-on-excel-pivot-table
https://www.excel-easy.com/data-analysis/pivot-tables.html
https://blog.hubspot.com/marketing/how-to-create-pivot-table-tutorial-ht
https://www.mrexcel.com/forum/excel-questions/268490-manipulating-data-
pivot-tables.html
https://webandsoftware.com/course/data-manipulation-reporting-with-pivot-
tables-in-excel/