Home
Microsoft Office Excel 2007 Tutorial
Introduction
Editing
Format Style
Table
Chart
Formula
Workbook Worksheet
Wordart Clip Art Shape Picture
PivotTable PivotChart
Data Analysis
Macro ActiveX Add in
Security
Collaboration
Database functions
Date Time functions
Engineering functions
Information functions
Logical functions
Lookup Reference functions
Math Trigonometry functions
Statistical functions
Text functions
AVERAGEIF « Statistical functions « Microsoft Office Excel 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Statistical functions
AVERAGEIF
21.3.AVERAGEIF
21.3.1.
AVERAGEIF(range,criteria,average_range) returns the average of all the cells in a range that meet a given criteria
21.3.2.
=AVERAGEIF(B2:B5,">5",C2:C5) returns the average of all values with a value greater than 25
5",C2:C5) returns the average of all values with a value greater than 25" src="http://www.java2s.com/Tutorial/Microsoft-Office-Excel-2007Images/averageifb2b5gt25c2c5_Returns_Average_Of_All___Input_Formula_.PNG" width=200 height=40>
21.3.3.
=AVERAGEIF(A2:A6,"=Item*",B2:B6) returns the average of all values