Excel Functions
Most used Functions in Excel
Count , Sum, Average, Max, Min, Round and
Rank Functions
Count Function:
To count the number of cells that contain numbers, use the COUNT function.
CountBlank Function:
To count the number of blank cells in given range,.
Countif
To count cells based on one criteria (for example, greater than 9), use the following COUNTIF function.
Note: visit our page about the COUNTIF function for many more examples.
Countifs
To count rows based on multiple criteria (for example, green and greater than 9), use the following
COUNTIFS function.
Sum
To sum a range of cells, use the SUM function.
Note: visit our page about the SUM function for many more examples.
Sumif
To sum cells based on one criteria (for example, greater than 9), use the following SUMIF function (two
arguments).
To sum cells based on one criteria (for example, green), use the following SUMIF function (three
arguments, last argument is the range to sum).
Note: visit our page about the SUMIF function for many more examples.
Sumifs
To sum cells based on multiple criteria (for example, circle and red), use the following SUMIFS function
(first argument is the range to sum).
General note: in a similar way, you can use the AVERAGEIF function to average cells based on one criteria
and the AVERAGEIFS function to average cells based on multiple criteria.
Average
To calculate the average of a group of numbers, use the AVERAGE function.
=AVERAGE(RANGE) OR =AVERAGE(V1,V2,V3,…)
Averageif
To average cells based on one CONDITION, use the AVERAGEIF function. For example, to calculate the
average excluding zeros.
=AVERAGEIF(RANGE,CONDITION)
Returns average of all number exclude 0
Median
To find the median (or middle number), use the MEDIAN function.
=median(range)
Check:
Mode
To find the most frequently occurring number, use the MODE function.
Standard Deviation
To calculate the standard deviation, use the STEDV function.
Min
To find the minimum value, use the MIN function.
=MIN(RANGE)
EXAMPLE : = MIN(A1..O1) returns 0
Max
To find the maximum value, use the MAX function.
=MAX(RANGE)
EXAMPLE : = MAX(A1..O1)
Large
To find the NTH largest number, use the following LARGE function.
Check:
=LARGE(A1..M1,3) RETURNS 3RD LARGE NUMBER
Small
To find the Nth smallest number, use the following SMALL function.
=SMALL(RANGE,N)
=SMALL(A1..M1,2) Returns 2ND SMALL NUMBER
Check:
Rank
The RANK function in Excel returns the rank of a number in a list of numbers.
If more than one number has the same rank.
=Rank(Number, Reference [,order])
=RANK(A1,$A$1..$A$9)
.
Note:
1. If the third argument is omitted (or 0), Excel ranks the largest number first, second largest number second,
etc.
2. If the third argument is 1, Excel ranks the smallest number first, second smallest number second, etc.
Round
The ROUND function in Excel rounds a number to a specified number of digits. The ROUND function
rounds up or down. 1, 2, 3 and 4 get rounded down. 5, 6, 7, 8 and 9 get rounded up.
1. For example, round a number to three decimal places.
Round a number to the nearest integer.
Round a number to the nearest 10.
-1 return nearest 10, -2 return nearest 100, -3 return nearest 1000
RoundUp
The ROUNDUP function in Excel always rounds a number up (away from zero). 1, 2, 3, 4, 5, 6, 7, 8 and 9
get rounded up.
=ROUNDUP(NUMBER,NUM_DIGITS)
=ROUNDUP(123.45,0) ➔ 124
RoundDown
The rounddown function in excel always rounds a number down (toward zero). 1, 2, 3, 4, 5, 6,
=ROUNDDOWN(number,num_digits)
=rounddown(12345.65,0) ➔ 12345
Nearest Multiple : Mround Function
round numbers to a multiple of x
=MROUND(NUMBER,MULTIPLE)
=MROUND(12365,100) ➔ 12400 (365 convert into 400)
=mround(12345,100) ➔ 12300 (345 convert into 300)
Nearest Multiple Upward : Ceiling Function
=CEILING(NUMBER,MULTIPLE)
=Ceiling(12345,100) ➔ 12400 (345 convert into 400)
Nearest Multiple Downward : Floor Function
=Floor(NUMBER,MULTIPLE)
=Floor(12385,100) ➔ 12300 (385 convert into 300)