Академический Документы
Профессиональный Документы
Культура Документы
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.
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).
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).
General note: in a similar way, you can use the AVERAGEIF and AVERAGEIFS function to average cells based on one or
multiple criteria.
range: In the range argument select the cells that include your criteria.
criteria: In the criteria argument enter your criteria i.e. North Region. Please note that
writing =North is same as writing North.
sum_range: In the sum_range argument select the cells that should be added after
evaluating the criteria.
After applying this formula the result comes out as: 490688 which is the addition of D3, D7
and D10.
Example 1: Suppose we have a table as below and now our goal is to find the total units sold
in East Region.
Example 2: In the same table as above, write a formula to find the total amount earned
before the date 01/01/2012.
In this case we can apply the formula as: =SUMIF(A3:A11,"<01/01/2012",D3:D11)
Example 3: In this example we have a table of performance of some schools at local events.
Here our task is to find the total number of awards won by School C in all the events.
Here, sum_range specifies the cells that are to be added based on the given conditions. It is
a required field.
criteria_range1 specifies the first range where the first criteria is to be evaluated.
criteria_range2, criteria2 specifies the other ranges and their respective conditions.
It is an optional argument. SUMIFS supports a total of 127 range criteria pairs.