Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
17 views

Lecture 01 Excel Basic and Functions

The document contains student mark sheet data with 6 entries of student names and their marks, and includes calculations of average, variance, standard deviation, and correlation coefficient of the marks. It also provides an example of calculating variance and standard deviation from a sample data set. In summary, the document demonstrates calculations of central tendency, dispersion, and relationship between variables for a set of student marks.
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Lecture 01 Excel Basic and Functions

The document contains student mark sheet data with 6 entries of student names and their marks, and includes calculations of average, variance, standard deviation, and correlation coefficient of the marks. It also provides an example of calculating variance and standard deviation from a sample data set. In summary, the document demonstrates calculations of central tendency, dispersion, and relationship between variables for a set of student marks.
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 15

S.

no Students Marks Marks


1 A-1 85 85

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

exmple of health data

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

The function uses the following arguments:

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

Unit quantity Price per unit


1 to 10 $30
11 to 25 $28
26 to 65 $25
65 and above $22

Quantity 2
Total 60

Example 3

AGM Preparation list Status Remarks


Directors report to be finalised and sent for review Closed 1/1/2018
Finalize Annual report Open
AGM Notice Closed 1/15/2018
Prepare attendance register Open
Ready the documents needed Open
Follow up with Auditors Open

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

In its simplest form, the VLOOKUP function says:


Parameters or Arguments
value
=VLOOKUP(What you want to look up, where
you want to look for it, the column number in
the range containing the value to return, return
an Approximate or Exact match – indicated as
1/TRUE, or 0/FALSE). The value to search for in the first colu
table
Two or more columns of data that is s
index_number
The column number in table from whi
approximate_match
Optional. Enter FALSE to find an exact
Exmple 1
Order ID Product Unit Price
10247 Apples $14.00
10249 Oranges $9.80
10250 Bananas $34.80
10251 Pears $18.60
10252 Grapes $42.30

example 2

product qty

Apple 100
Avacado 52
Pine Apple 0
Guava 0
lemon 52
Water malon 63

exmple 3

Receipt_Id Item Quantity


348885324 Kroger 15
350225451 Shaws_Mark 10
350515575 Gate_beyon 18
354631726 McDonalds 500
356174666 Bp 60
357084685 Heb 85
358297931 Tobacco_Bar 59
359861951 Hyvee 42
360728080 7_Eleven 100
364859383 Safeway 0
365044091 Market_Bask 68
367144409 Dollar_Tree 36
368159166 Stop_and_S 95
370722834 Carlton_Mea 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

Sales AmounPayout Rate


Lookup Value-> $50,001 $1,000
If, VLoopkup, HLookup

HLOOKUP

Axles Bearings Bolts


4 4 9

5 7 10
6 8 11

0
or Arguments

search for in the first column of the table.

columns of data that is sorted in ascending order.

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

Total Item In Stock?


37.34 safeway No
34.2
18.81
12.33
5.01
40.01
61.7
28.62
8.72
50.86
176.34
3.18
15.17
6.47

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

Now 1/24/2024 8:27


Today 1/24/2024

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

You might also like