On if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
SUMIFS-COUNTIFS-AVERAGEIFS
Transcript of SUMIFS-COUNTIFS-AVERAGEIFS
8/3/2019 SUMIFS-COUNTIFS-AVERAGEIFS
http://slidepdf.com/reader/full/sumifs-countifs-averageifs 1/4
Quantity
Sold Product Salesperson
5 Apples 1
4 Apples 2
15 Artichokes 1
3 Artichokes 2
22 Bananas 1
12 Bananas 2
10 Carrots 1
33 Carrots 2
Description Result Adds the total number of
products sold that begin with
"A" and that were sold by
Salesperson 1.
20
Adds the total number of
products (not including
Bananas) sold by
Salesperson 1.
30
s t e ce s n a range range: wo or more ce s on a s eet. e ce s n a range can e a acent or nona acent. t at meet m
criteria.
=SUMIFS(A7:A14, B7:B14, "= A*", C7:C14, 1)
=SUMIFS(A7:A14, B7:B14, "<>Bananas",
C7:C14, 1)
Formula
8/3/2019 SUMIFS-COUNTIFS-AVERAGEIFS
http://slidepdf.com/reader/full/sumifs-countifs-averageifs 2/4
AVERAGEIF Function
Returns the average (arithmetic mean) of all the cells in a range that meet a given cri
Syntax
AVERAGEIF(range, criteria, average_range)
Property Value Commission
100,000 7,000
200,000 14,000
300,000 21,000
400,000 28
,000
Formula Descri tion result Average of all commissions less than
23,000 (14,000)
Average of all property values less than
95,000 (#DIV/0!)
Average of all commissions with a
property value greater than 250,000
=AVERAGEIF(A9:A12, ">250000", B9:B12)
=AVERAGEIF(B9:B12,"<23000")
=AVERAGEIF(A9:A12, "<95000")
AVERAGEIFS F i
8/3/2019 SUMIFS-COUNTIFS-AVERAGEIFS
http://slidepdf.com/reader/full/sumifs-countifs-averageifs 3/4
AVERAGEIFS Function
Student First Quiz Grade
Second Quiz
Grade
Final Exam
Grade
Emilio 75 85 87Julie 94 80 88
Hans 86 93 Incomplete
Frederique Incomplete 75 75
Description (result)
Average first quiz grade that falls between
70 and 90 for all students (80.5). The scoremarked "Incomplete" is not included in the
calculation because it is not a numerical
value.
Average second quiz grade that is greater
than 95 for all students. Because there are
no scores greater than 95, #DIV0! is
returned. Average final exam grade that is greater
than 80 for all students (87.5). The score
marked "Incomplete" is not included in the
calculation because it is not a numerical
value.
=AVERAGEIFS(B6:B9,B6:B9,">70", B6:B9,"<90")
Formula
=AVERAGEIFS(D6:D9, D6:D9,"<>Incomplete",D6:D9, ">80")
=AVERAGEIFS(C6:C9,C6:C9,">95")
COUNTIFS F ti
8/3/2019 SUMIFS-COUNTIFS-AVERAGEIFS
http://slidepdf.com/reader/full/sumifs-countifs-averageifs 4/4
COUNTIFS Function
Syntax
COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]«)
List Price Date Listed Area Bedrooms Baths Square Feet Type Po
$350,000 January 12, 2003 N. County 3 2.5 1,991 Condo N
$215,000 January 14, 2003 Central 3 1.75 1,480 Single Family Y
$315,000 January 16, 2003 S. County 2 2 1,552 Condo N$379,000 January 20, 2003 N. County 4 3 3,000 Single Family N
$248,500 January 30, 2003 N. County 4 2.5 1,985 Single Family Y
$297,500 February 1, 2003 S. County 4 3.5 2,170 Single Family N
$259,900 February 5, 2003 N. County 4 3 1,734 Condo N
$325,000 February 9, 2003 S. County 4 3 2,800 Condo Y
$208,750 February 11, 2003 S. County 4 3 2,207 Single Family Y
How many Single Family homes have over 2,000 Square Feet of area?
How many Single Family homes have over 2,000 Square Feet of area and a pool?
Real Estate Table