1.2 Data Analysis in Excel
1.2 Data Analysis in Excel
1
• You shall learn the fundamentals of
By the End
Statistical Analysis.
• Fundamentals of Excel
Types of Data
Categorical
Real-world Application of Statistics
Types of Statistical Analysis
Statistical Analysis
Measures of Central
Hypothesis Testing Statistical Algorithms
Tendency
Machine Learning
Measures of Spread Confidence Intervals
Poll Time
a. Descriptive Analysis
b. Prescriptive Analysis
c. Inferential Analysis
d. Predictive Analysis
Measures of Central Tendencies
Measures of Central Tendencies
Mean
Median
Mode
Introduction to Mean
𝑆𝑢𝑚 𝑜𝑓 𝑉𝑎𝑙𝑢𝑒𝑠
𝑀𝑒𝑎𝑛 =
𝐶𝑜𝑢𝑛𝑡 𝑜𝑓 𝑉𝑎𝑙𝑢𝑒𝑠
Introduction to Median
• The mode is the value that appears most frequently in the dataset.
a: 3
[a, b, a, c, d, a, b, d]
c: 1 a
Hands-on – Measures of Central
Tendency in Excel
Poll Time
a. True
b. False
• It is calculated by subtracting the minimum value from the maximum value in the
Max: 10
Range = Max –
[10, 3, 5, 2, 8, 1, 7]
Min: 1
Introduction to Interquartile Range
• It is calculated as the difference between the third quartile (Q3) and the first
quartile (Q1) of the dataset.
• The IQR is resistant to outliers and provides a measure of variability within the
Q1: 2.5
[10, 3, 5, 2, 8, 1, [1, 2, 3, 5, 7, 8, 9, IQR = Q3 – Q1 =
7, 9] 6
Q3: 8.5
Introduction to Standard Deviation
• The Standard Deviation measures the average deviation of a data point from it’s
• Calculate the standard deviation in the premiums paid by the customers of the
above age group.
• Determine the difference in the average premiums between male and female
customers.
Poll Time
a. Range
b. IQR
c. Variance
d. Standard Deviation
Other Functions in Excel
Introduction to Dependent Dropdown List
•
Creating a Dependent Dropdown List
a. Unique ()
b. Concatenate ()
c. Direct ()
d. Indirect ()
Introduction to Filters in Excel
• Filters help you sort and narrow down data based on specific criteria.
Using Filters
automatically
Pivot Tables in Excel
Introduction to Pivot Tables in Excel
•
of data quickly and efficiently.
• They provide a flexible and powerful tool for data analysis and reporting.
Example of Pivot Table Analysis
Smoking Rate across Age Groups
How to Perform Pivot Table Analysis
Q. Which of the following shelves are not a part of the Pivot Table
a. Cell
b. Column
c. Value
d. Row
Summary
Filters help you sort, and narrow down data based on specific criteria.
Pre-requisites:
• MS Excel
• WorkOrders.xlsx
Scenario:
You have been given an Excel file containing details for several work
orders taken up by a company. Perform the following analysis on the
given dataset:
• Create a new table that contains the valid number of technicians
allowed for each service type, as shown below.
Serive Type
Assess Deliver Install Repair Replace
1 1 1 1 1
2 2 2 2 2
3 3
Activity 2
Pre-requisites:
• MS Excel
• WorkOrders.xlsx
Scenario:
You have been given an Excel file containing details for several work
orders taken up by a company. Perform the following analysis on the
given dataset:
• Using the table created in the previous activity, create named ranges
for each service type such that each range contains the respective
technician counts.
Activity 3
Pre-requisites:
• MS Excel
• WorkOrders.xlsx
Scenario:
You have been given an Excel file containing details for several work
orders taken up by a company. Perform the following analysis on the
given dataset:
• Create a data validation over the existing “Techs” column such that the
value in each row is as per the structure defined in the table created in
activity 1.
Activity 4
Pre-requisites:
• MS Excel
• WorkOrders.xlsx
Scenario:
You have been given an Excel file containing details for several work
orders taken up by a company. Perform the following analysis on the
given dataset:
• Create a pivot table that contains the total revenue and count of
services done across all service categories for various technician
counts.
Next session:
Mastering Advanced Excel: Macros, Data
Validation, and Dashboard Creation
Mastering Advanced Excel:
Macros, Data Validation, and
Dashboard Creation
5
Hope you
6
What Have We Learned So Far?
• We’ve learned the various measures of central tendency and the measures of spread.
• We’ve learned to create and use pivot tables to analyze raw data.
Poll Time
input
Why Macros?
Efficiency Consistency
Use Case of Macros
Reports
Chart
Report
Data
Manipulation
Recording Macros
Q. Which of the following macro techniques in Excel allows you to write and
customize VBA code for creating advanced automation and functionality?
a. Macro Recording
b. Macro Execution
c. Macro Debugging
Q. Which of the following macro techniques in Excel allows you to write and
customize VBA code for creating advanced automation and functionality?
a. Macro Recording
b. Macro Execution
c. Macro Debugging
• Data validation is a feature in Excel that helps control and restrict the type of data that
can be entered into a cell.
• It ensures data accuracy, consistency, and integrity by setting specific rules and criteria
for data entry.
Q. Which of the following Excel formulas can be used for creating formula-based
a. =AVERAGE()
b. =VLOOKUP()
c. =COUNTIF()
d. =SUM()
Pop Quiz
Q. Which of the following Excel formulas can be used for creating formula-based
a. =AVERAGE()
b. =VLOOKUP()
c. =COUNTIF()
d. =SUM()
Hands-on - Using Formulas in
Validation Rules
Poll Time
in Excel
c. Data validation restricts and validates the type and values entered
spreadsheets
Exercise
In the “Work Order” dataset, create a formula-based data validation in the PartsCost column to
allow only positive values in the column.
PartsCost
$90.04
$35.10
$832.16
$938.00
$240.00
$120.00
$341.00
$155.39
$204.28
$535.62
$43.26
Poll Time
Q. Which of the following Excel formulas is used to count the number of cells in
a. =COUNTIF()
b. =COUNT()
c. =SUMIF()
d. =SUM()
Introduction to Excel Dashboards
Introduction to Excel Dashboards
•
Business Use Case - Dashboard
Pop Quiz
c. List validation
d. Date/Time validation
Summary
Pre-requisites:
• MS Excel
• Insurance.xlsx
Scenario:
You are given an Excel file containing insurance premiums for multiple
customers.
Pre-requisites:
• MS Excel
• Insurance.xlsx
Scenario:
You are given an Excel file containing insurance premiums for multiple
customers.
Pre-requisites:
• MS Excel
• Insurance.xlsx
Scenario:
You are given an Excel file containing insurance premiums for multiple
customers.