THKTDC Statistical Function
THKTDC Statistical Function
function
Group 2
Le Anh Trung
Duong Thi Thuy Linh
Tran Mai Chi
01 03
FREQUENCY
COUNT
AVERAGE RANK
Averageif Counta Rank.AVG
Averageifs Countblank Rank.EQ
Countif
Countfs 02
LARGE MAXMEDIAN
Small Min Mode
Maxifs Quartile
Minifs
01
Average
Averageif
Averageifs
Calculate the arithmetic mean or average of a
given set of arguments
Average
function
Purpose
Note
Get the average of a
Number1 is a number
group of numbers
(like “547”) or a cell
reference (like “D6”).
Syntax
So is number2. You
=AVERAGE
can include as many
(number1, [number2],
numbers as you like.
...)
AVERAGEI
F
=AVERAGEIF(range,criteria,[average_range])
COUNTIF COUNTIFS
Count
Purpose: Count numbers
Syntax: =COUNT (value1, [value2],
...)
value1 - An item, cell reference, or range.
value2 - [optional] An item, cell reference,
or range.
• =COUNT(1,2,3) // returns 3
• =COUNT(1,"a","b") // returns 1
• =COUNT("apple",100,125,150,"orange") //
returns 3
Counta
Purpose: Count the number of non-blank cells
Syntax: =COUNTA (value1,
[value2], ...)
• =COUNTA(1,2,3) // returns 3
• =COUNTA(1,"a","b") // returns 3
• =COUNTA(1,2,3,"a",5%) // returns 5
Countblan
k
Purpose: Count cells that are blank
Syntax: =COUNTBLANK (range)
range - The range in which to count blank
cells.
• =COUNTBLANK(B5:B15) // returns 3
Countif
Purpose: Count cells that match criteria
Syntax: =COUNTIF (range, criteria)
range - The range of cells to count.
criteria - The criteria that controls which
cells should be counted.
• =COUNTIFS(C5:C14,"red",D5:D14,"tx") //
red and TX
Frequenc
y
Purpose: returns a frequency distribution, which is
a list that shows the frequency of values at given intervals
• {=FREQUENCY(C5:C14,F5:F8)}
02
Large
Small
Large
=MAXIFS(D5:D16,C5:C16,"F") //
returns 93
=MAXIFS(D5:D16,C5:C16,"M") //
returns 83
Minifs
=MINIFS(D5:D16,C5:C16,"F") //
returns 72
=MINIFS(D5:D16,C5:C16,"M") //
returns 64
02
Median
Mode
Quartile
Purpose
MEDIAN
=MEDIAN(B5:B16) // returns
When the number is
odd, MEDIAN
Get the median 83.5 returns the middle
of a group of 01 =MEDIAN(D5:D16) // returns
03 number:
numbers =MEDIAN(1,2,3,4,5,6) // returns
80
3.5
=MEDIAN(1,2,4,6,8,9) // returns
9
Syntax
When the number is
=MEDIAN even, MEDIAN
(number1, returns the average of
[number2], ...) 02 the two middle
• number1 - A number or cell reference that refers to numeric 04 numbers:
=MEDIAN(1,2,3,4,5,6) // returns
values.
3.5
• number2 - [optional] A number or cell reference that refers to
numeric values. =MEDIAN(1,2,4,6,8,9) // returns
MO
DE
Purpose
Get most frequently occurring number
Syntax
=MODE (number1, [number2], ...)
• number1 - A number or cell reference that
refers to numeric values.
• number2 - [optional] A number or cell
reference that refers to numeric values.
If there are no duplicate numbers, the MODE function returns the #N/A
error:
Syntax
=QUARTILE (array, quart)
Syntax
=RANK (number, ref, [order])
Note
1. The default for order is zero (0). If order is 0 or omitted, number
is ranked against the numbers sorted in descending order: smaller
numbers receive a higher rank value, and the largest value in a list
will be ranked #1.
In the event of a tie (i.e. the list contains duplicates) 2. If order is 1, number is ranked against the numbers sorted in
RANK will assign the same rank value to each set ascending order: smaller numbers receive a lower rank value, and
of duplicates the smallest value in a list will be ranked #1.
RANK.A
When values contain duplicates,
the RANK.AVG function will assign an
VG
average rank to each set of duplicates.
Syntax
=RANK.AVG (number, ref, [order])
• number - The number to rank.
• ref - An array that contains the numbers to rank against.
• order - [optional] Rank ascending or descending. Default
is zero.
Note
1. If order is 0 or omitted, the largest value is
ranked #1.
2. If order is 1, the smallest value is ranked
#1.
RANK.E
When values contain duplicates,
RANK.EQ will assign the higher rank
Q
to each set of duplicates.
Syntax
=RANK.EQ (number, ref, [order])
.