Professional Documents
Culture Documents
Count, Sum and Round Function
Count, Sum and Round Function
KHIMYA S TINANI
tinani.khimya-stat@msubaroda.ac.in
B.Sc.(Sem-V)-Data Analysis using Microsoft Excel
1
COUNTIF:
To count cells based on one criteria (for example, higher than
9), use the following COUNTIF function.
COUNTIFS:
To count cells based on multiple criteria (for example, green
and higher than 9), use the following COUNTIFS function.
2
Count Blank/Nonblank Cells:
This example shows you how to count the number
of blank and nonblank cells in Excel.
1. The COUNTBLANK function counts the number of blank
cells.
3
2. The COUNTA function counts the number of nonblank cells.
COUNTA stands for count all.
4
2. For example, to count the number of cells that contain
FALSE.
6
4. For example, to count the number of cells that contain star in
any way. No matter what is before or after star, this function
finds all the cells that contain star in any way.
7
SUM:
To sum a range of cells, use the SUM function.
SUMIF:
To sum cells based on one criteria (for example, higher than 9),
use the following SUMIF function (two arguments).
8
To sum cells based on one criteria (for example, green), use the
following SUMIF function (three arguments, last argument is
the range to sum).
SUMIFS:
To sum cells based on multiple criteria (for example, blue and
green), use the following SUMIFS function (first argument is
the range to sum).
9
General note: in a similar way, you can use the AVERAGEIF
and AVERAGEIFS function to average cells based on one or
multiple criteria.
SUMPRODUCT:
To calculate the sum of the products of corresponding numbers
in one or more ranges, use Excel's powerful SUMPRODUCT
function.
1. For example, the SUMPRODUCT function below calculates
the total amount spent.
Round:
There are three functions to round numbers in Excel.
ROUND, ROUNDUP and ROUNDDOWNfunction.
11
1. Round a number to two decimal places.
12
5. Round a number to the nearest 100.
ROUNDUP:
The ROUNDUP function always rounds a number up (away
from zero). For example, round a number up to one decimal
place.
ROUNDDOWN:
The ROUNDDOWN function always rounds a number down
(toward zero). For example, round a number down to the
nearest integer.
13
14