Lecture 01 Excel Basic and Functions
Lecture 01 Excel Basic and Functions
2 A-2 79 79
3 A-3 90 90
4 A-4 88 88
5 A-5 88 88
6 A-6 75 75
Average 84.16667
Varience 34.96667
variance P 29.13889
Standard Deviation 5.913262
Standard Deviation P 5.398045
correlation coefficient 1
Covariance 29.13889
Example 1 – Calculation of variance and standard deviation
Let’s calculate the variance of the follow data set: 2, 7, 3, 12, 9.
The first step is to calculate the mean. The sum is 33 and there are 5 data points. Therefore, the mean is 3
Then you take each value in data set, subtract the mean and square the difference. For instance, for the fir
(2 - 6.6)2 = 21.16
The squared differences for all values are added:
21.16 + 0.16 + 12.96 + 29.16 + 5.76 = 69.20
The sum is then divided by the number of data points:
69.20 ÷5 = 13.84
The variance is 13.84. To get the standard deviation, you calculate the square root of the variance, which i
Covariance measures the total variation of two random variables from their expected values. Using covariance, we c
the direction of the relationship (whether the variables tend to move in tandem or show an inverse relationship). How
not indicate the strength of the relationship, nor the dependency between the variables.
On the other hand, correlation measures the strength of the relationship between variables. Correlation is the scaled
covariance. It is dimensionless. In other words, the correlation coefficient is always a pure value and not measured in
IF
Logical_test (required argument) – This is the condition to be tested and evaluated as either TRUE
or FALSE.
Value_if_true (optional argument) – The value that will be returned if the logical_test evaluates to
TRUE.
Value_if_false (optional argument) – The value that will be returned if the logical_test evaluates to
FALSE.
When using the IF function to construct a test, we can use the following logical operators:
= (equal to)
> (greater than)
>= (greater than or equal to)
< (less than)
<= (less than or equal to)
<> (not equal to)
example 1
10 12
Fail
example 2
Quantity 2
Total 60
Example 3
Example 4
Marks
85
79
90 fail
60 PASS A
80 fail D
75 fail B
S.no
1
2
3
4
5
6
VLOOKUP
example 2
product qty
Apple 100
Avacado 52
Pine Apple 0
Guava 0
lemon 52
Water malon 63
exmple 3
exmple 4
Commission Table
Sales Tiers Tier Minim Payout Rate
$0-$50,000 $0 $500
$50,001-$100,000 $50,001 $1,000
$100,001-$150,000 $100,001 $2,000
$150,001+ $150,001 $5,000
HLOOKUP
5 7 10
6 8 11
0
or Arguments
number in table from which the matching value must be returned. The first column is 1.
er FALSE to find an exact match. Enter TRUE to find an approximate match. If this parameter is omitted, TRUE is the default.
Quantity
12 Order ID 10252
10
5 Product Grapes
9 UP 42.3
40 qty 40
Total 1692
Product guava
In stock No
Payout Rate
Payout Rate
4
0
0
10
Quntity sold Price
8500 2
4700 5
5800 3
7400 2
6200 5
7300 3
5600 4
Intercept 9323.529
Slope -823.5294
residuals 0.653595
The intercept (often labeled the constant) is the expected mean value of Y when all X=0.
In other words, for each unit increase in price, Quantity Sold decreases with 835.722 units
The residuals show you how far away the actual data points are fom the predicted data points (using the equation).
Coefficients
Residuals
Now , Today , Date , Weekday , Month , Datedif
Date
year Month Day
2020 1 25 Saturday, January 25, 2020
2020 2 4 Tuesday, February 4, 2020
2020 5 812 Thursday, July 21, 2022
2020 6 3 Wednesday, June 3, 2020
2020 8 30 Sunday, August 30, 2020
2020 12 5 Saturday, December 5, 2020
weekday
month 1
2
7
6
8
12
Large , Rank , Percentile
• Count , CountA , CountIf
• Offset
Students marks
A-1 10
A-2 20
A-3 30
A-4 40
A-5 50
A-6 60
Large 60
rank 1
Percentile 60 A percentile is a value below which a given percentage of values in a data set fall.
count 6
CountA 6
count if 1