You are on page 1of 43

Formulas and functions are fundamental tools in Microsoft Excel that allow you to perform calculations, manipulate data,

and automate tasks.


FORMULAS AND FUNCTIONS
Understanding how to use formulas and functions is crucial for efficient data processing and analysis. Here's an overview of formulas, functions,
and some commonly used functions in Excel:

Formulas:
Formulas are expressions that perform operations or calculations on values in a worksheet. A formula typically starts with an equals sign (=) and
can include operators (+, -, *, /), cell references, numbers, and functions. For example:

=A1+B1 adds the values in cells A1 and B1.


=SUM(A1:A10) calculates the sum of values in cells A1 to A10.

Functions are predefined formulas in Excel that simplify complex calculations and operations. Functions have a specific structure, including the
Functions:
function name, arguments (values or cell references), and sometimes additional optional parameters. Functions help automate calculations and
save time. For example:

SUM: Calculates the sum of a range of numbers.


AVERAGE: Computes the average of a range of numbers.
To use a function, start by typing an equals sign followed by the function name and its arguments, then close the function with a closing
parenthesis. Excel will guide you with suggestions and tooltips as you type the function. Experiment and practice to become proficient in using
formulas and functions in Excel.
Descriptive analysis in Excel involves summarizing and presenting data in a meaningful and understandable way to gain insights into its
characteristics.
DESCRIPTIVE ANALYSIS
It's essentially about exploring the data to understand its key features, such as central tendency, dispersion, and shape of the distribution.
Descriptive
Excel providesanalysis is essential
various tools andfor understanding
functions the fundamental
that facilitate descriptiveproperties
analysis. of the dataset, which lays the foundation for further advanced
analysis.
Excel provides a user-friendly environment to perform these calculations and visualizations,
making it a popular choice for conducting descriptive analysis for a wide range of data types and sizes.

Data Analysis Toolpack Installation


1. Open Excel: Open Excel on your computer.
2. Navigate to the "Data" Tab: Go to the "Data" tab in the Excel ribbon.
3. Find the "Data Analysis" Button: Look for the "Data Analysis" button in the "Analysis" group. If you can't find it, proceed to the next step.
4. Install the Data Analysis Toolpack: If you don't see the "Data Analysis" button, you'll need to install the toolpack. To do this:
5. Click on "File" in the Excel ribbon.
6. Select "Options."
7. Access Excel Options: In the Excel Options dialog box, click on "Add-Ins" from the left-hand menu.
8. Choose"Data
9. Check "Excel Add-ins"
Analysis and Clickand
Toolpack" "Go": Under
Click "Manage,"
"OK": select "Excel
A list of available Add-ins"
add-ins and click
will appear. the "Go"
Check button.
the box for "Analysis Toolpak" (and "Solver
Add-in" if you need it) and then click "OK."
10. Verify Installation: Once you click "OK," the Data Analysis Toolpak will be installed. You should now see the "Data Analysis" button in the
"Data" tab.
11. Access the Data Analysis Toolpack: To use the Data Analysis Toolpak, click on the "Data Analysis" button in the "Data" tab.

PIVOT TABELS
A pivot table is a data summarization and analysis tool in Excel used to organize, analyze, and visualize large amounts of data.
It helps in summarizing complex data sets into a more digestible format for decision-making and reporting.

ADVANTAGES
Easily analyze and compare large sets of data.
Summarize data for better visualization.
Quickly rearrange, sort, filter, and reorganize data.

Creating a Basic Pivot Table:


Select Data:
Highlight the data range you want to use for the pivot table.
Insert Pivot Table:

Adding Fields:
Drag and drop fields into the "Rows," "Columns," or "Values" area to organize the data.

Modifying and Customizing a Pivot Table:


Rearrange Fields:
Drag and drop fields to rearrange them in rows and columns.
Change Summary Calculation:
Click the drop-down next to a value field and choose the desired calculation (e.g., sum, average).
Apply Filters:
Use the filter drop-downs to filter data within the pivot table.

Grouping and Calculations:


Grouping Data:
Select a range of data and go to "Data" tab > "Group" to group data into intervals.
Adding Calculations:
Add calculated fields or items to perform custom calculations within the pivot table.

Creating Pivot Charts:


After creating a pivot table, go to "PivotTable Tools" > "Analyze" > "Tools" group > "PivotChart."
Choose a chart type for visual representation of the pivot table data.
Excel Function Definition
SUM Adds up a range of numbers

SUMIF Adds numbers based on a given condition

SUMIFS Adds numbers based on multiple conditions


Calculates the arithmetic mean (average) of a set of
AVERAGE numbers
AVERAGEIF Calculates the average based on a given condition

AVERAGEIFS Calculates the average based on multiple conditions

COUNT Counts the number of cells that contain numbers

COUNTIF Counts cells based on a given condition

COUNTIFS Counts cells based on multiple conditions

COUNTA Counts the number of non-empty cells in a range

IF Returns one value if a condition is true and another if false

ROUND Rounds a number to a specified number of digits

MAX Returns the largest number in a set of values

MIN Returns the smallest number in a set of values

MEDIAN Returns the median (middle value) from a set of numbers


Returns the most frequently occurring value in a set of
MODE numbers
STDEV Estimates the standard deviation based on a sample
STDEV.S Calculates the standard deviation based on a sample

STDEV.P Calculates the standard deviation for an entire population

VAR Estimates the variance based on a sample

VAR.P Calculates the variance for an entire population


Estimates the variance based on a sample (equivalent to
VAR.S VAR)
Estimates the variance based on a sample, including logical
VARA values and text
Usage Example
=SUM(number1, [number2], ...)
=SUMIF(range, criteria, [sum_range])
=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)

=AVERAGE(number1, [number2], ...)

=AVERAGEIF(range, criteria, [average_range])

=AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)

=COUNT(value1, [value2], ...)


=COUNTIF(range, criteria)
=COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...)
=COUNTA(value1, [value2], ...)
;=IF(logical_test, value_if_true, value_if_false)
=ROUND(number, num_digits)
=MAX(number1, [number2], ...)
=MIN(number1, [number2], ...)
=MEDIAN(number1, [number2], ...)
=MODE(number1, [number2], ...)
=STDEV(number1, [number2], ...)
=STDEV.S(number1, [number2], ...)

=STDEV.P(number1, [number2], ...)

=VAR(number1, [number2], ...)


=VAR.P(number1, [number2], ...)

=VAR.S(number1, [number2], ...)

=VARA(number1, [number2], ...)


Student Scores

Average
Student Strand Subject 1 Subject 2 Subject 3 Total Grade
Alice ABM 70 90 88 248 83
Bob HUMSS 78 82 80 240 80
Claire HUMSS 92 88 90 270 90
David STEM 80 84 82 246 82 PLEASE WRITE THE COMPLETE FORMULA YOU U
Emma ABM 88 70 89 247 82 EACH COLORED BOX BELOW (WRITE AN APOSTRO
Frank STEM 76 80 78 234 78 BEFORE EACH FORMULA)

Average for each


subject

How many leaners


passed each subject

How many learners did


not pass each subject
How many learners are
from the ABM strand?

AVERAGE GRADE OF
ABM PER SUBJECT
MPLETE FORMULA YOU USED IN
ELOW (WRITE AN APOSTROPHE (')
EACH FORMULA)
MONDAY TUESDAYWEDNESDAYTHURSDAY
Student #1 10 3 74
Student #2 10 6 98
Student #3 10 9 88
Student #4 10 12 96
Student #5 10 15 91
Student #6 10 18 77
Student #7 10 21 91
Student #8 10 24 79
Student #9 10 27 99
Student #10 10 30 78
Student #11 10 33 88
Student #12 10 36 93
Student #13 10 39 73
Student #14 10 42 99
Student #15 10 45 85
Student #16 10 48 83
Student #17 10 51 78
Student #18 10 54 77
Student #19 10 57 90
Student #20 10 60 98
Student #21 10 63 99
Student #22 10 66 75
Student #23 10 69 87
Student #24 10 72 75
Student #25 10 75 88
Student #26 10 78 72
Student #27 10 81 85
Student #28 10 84 79
Student #29 10 87 91
Student #30 10 95
Potions Transfiguration Charms

Mean 87.191489362 Mean 84.936170213 Mean 86.42553


Standard Error 0.7233634423 Standard Error 1.0993245994 Standard Error 1.341277
Median 88 Median 85 Median 88
Mode 89 Mode 85 Mode 84
Standard Deviation 4.9591299109 Standard Deviation 7.536589747 Standard Deviation 9.195331
Sample Variance 24.592969473 Sample Variance 56.800185014 Sample Variance 84.55412
Kurtosis 4.4730594828 Kurtosis -0.7437981178 Kurtosis -1.39919
Skewness -1.6563991946 Skewness -0.1053724394 Skewness -0.21461
Range 29 Range 27 Range 29
Minimum 70 Minimum 72 Minimum 70
Maximum 99 Maximum 99 Maximum 99
Sum 4098 Sum 3992 Sum 4062
Count 47 Count 47 Count 47
Largest(1) 99 Largest(1) 99 Largest(1) 99
Smallest(1) 70 Smallest(1) 72 Smallest(1) 70
Confidence Level(95.0%) 1.4560550894 Confidence Level(95.0%) 2.2128256478 Confidence Level(95.0%) 2.69985
No Name Sex House Potions Transfiguration Charms Average
1 Alicia Spinnet Female Gryffindor 88 82 99 90
2 Angelina Johnson Female Gryffindor 87 90 98 92
3 Anthony Goldstein Male Ravenclaw 89 92 91 91
4 Blaise Zabini Male Slytherin 90 92 79 87
5 Cedric Diggory Male Hufflepuff 89 87 92 89
6 Cho Chang Female Ravenclaw 78 84 77 80
7 Colin Creevey Male Gryffindor 84 97 76 86
8 Cormac McLaggen Male Gryffindor 86 87 84 86
9 Dean Thomas Male Gryffindor 90 87 90 89
10 Dennis Creevey Male Gryffindor 90 72 93 85
11 Draco Malfoy Male Slytherin 88 85 84 86
12 Ernie Macmillan Male Hufflepuff 86 84 92 87
13 Fat Friar Male Hufflepuff 86 87 80 84
14 Fred Weasley Male Gryffindor 90 83 96 90
15 George Weasley Male Gryffindor 84 86 96 89
16 Ginny Weasley Female Gryffindor 87 90 96 91
17 Gregory Goyle Male Slytherin 89 92 74 85
18 Hannah Abbott Female Hufflepuff 91 81 86 86
19 Harry Potter Male Gryffindor 86 97 86 90
20 Hermione Granger Female Gryffindor 99 99 99 99
21 Justin Finch Male Hufflepuff 88 90 99 92
22 Katie Bell Female Gryffindor 84 84 94 87
23 Lavender Brown Female Gryffindor 89 85 76 83
24 Lee Jordan Male Gryffindor 87 75 90 84
25 Luna Lovegood Female Ravenclaw 88 74 77 80
26 Marietta Edgecombe Female Ravenclaw 90 73 70 78
27 Michael Corner Male Ravenclaw 87 87 97 90
28 Millicent Bulstrode Female Slytherin 92 96 98 95
29 Neville Longbottom Male Gryffindor 91 90 73 85
30 Newton Scamander Male Hufflepuff 73 85 92 83
31 Nymphadora Tonks Female Hufflepuff 90 82 75 82
32 Oliver Wood Male Gryffindor 91 73 84 83
33 Padma Patil Female Ravenclaw 88 96 76 87
34 Pansy Parkinson Female Slytherin 89 73 77 80
35 Parvati Patil Female Gryffindor 90 73 90 84
36 Percy Weasley Male Gryffindor 89 95 93 92
37 Robert Hilliard Male Ravenclaw 86 77 73 79
38 Roger Davies Male Ravenclaw 84 85 88 86
39 Romilda Vane Female Gryffindor 92 81 95 89
40 Ron Weasley Male Gryffindor 88 85 81 85
41 Seamus Finnigan Male Gryffindor 90 96 94 93
42 Severus Snape Male Slytherin 89 72 71 77
43 Susan Bones Female Hufflepuff 85 76 79 80
44 Terry Boot Male Ravenclaw 88 82 84 85
45 Tom Riddle Male Slytherin 89 85 98 91
46 Vincent Crabbe Male Slytherin 74 89 74 79
47 Zacharias Smith Male Hufflepuff 70 79 96 82
How many students are from RavenClaw
How many female students from HufflePuff
What is the average grade of female students from Gryffindor
What is the highest grade in Potions subject
Sort by rank base on each subject
Sort based on average
Number of
Student Grade Activity students
Name Level Preference Interested
John 11 Sports 30
Sarah 12 Music 25
Mark 11 Drama 20
Lisa 12 Sports 35
Michael 11 Music 18
Emma 12 Arts 15
David 11 Arts 22
Olivia 12 Drama 28
James 11 Sports 32
Sophia 12 Music 30

Basic Analysis
Task: Create a PivotTable to analyze the total number of students interested in each activity across all grade levels
Question: Which activity seems to be the most popular across both grade 11 and grade 12?

Activity Popularity Analysis


Task: Create a PivotTable to analyze the popularity of each activity, showing the count of students interested.
Question: Which activity appears to be the least popular among both grade 11 and grade 12 students?

Most Popular Activity by Grade Level


Task: Create a PivotTable to identify the most popular activity for each grade level.
Question: What is the most popular activity among grade 11 students, and what about grade 12 students?

Most Popular Activity by Grade Level


Task: Create a PivotTable to identify the most popular activity for each grade level.
Question: What is the most popular activity among grade 11 students, and what about grade 12 students?

1 Task 1: Basic Analysis

Task: Create a PivotTable to analyze the total number of students interested in each activity across all g
Steps:
Select the dataset.
Go to the "Insert" tab and click "PivotTable."
In the PivotTable Field List, drag "Activity Preference" to the Rows area and "Number of Students Inte
y across all grade levels.

students interested.
2 students?

e 12 students?

e 12 students?

ach activity across all grade levels.

Number of Students Interested" to the Values area.

You might also like