Formulas and Functions
Table Of Contents
- Formulas and Functions
- Contents
- Preface: Welcome to iWork Formulas & Functions
- Chapter 1: Using Formulas in Tables
- The Elements of Formulas
- Performing Instant Calculations in Numbers
- Using Predefined Quick Formulas
- Creating Your Own Formulas
- Removing Formulas
- Referring to Cells in Formulas
- Using Operators in Formulas
- The String Operator and the Wildcards
- Copying or Moving Formulas and Their Computed Values
- Viewing All Formulas in a Spreadsheet
- Finding and Replacing Formula Elements
- Chapter 2: Overview of the iWork Functions
- Chapter 3: Date and Time Functions
- Chapter 4: Duration Functions
- Chapter 5: Engineering Functions
- Chapter 6: Financial Functions
- Chapter 7: Logical and Information Functions
- Chapter 8: Numeric Functions
- Chapter 9: Reference Functions
- Chapter 10: Statistical Functions
- Listing of Statistical Functions
- AVEDEV
- AVERAGE
- AVERAGEA
- AVERAGEIF
- AVERAGEIFS
- BETADIST
- BETAINV
- BINOMDIST
- CHIDIST
- CHIINV
- CHITEST
- CONFIDENCE
- CORREL
- COUNT
- COUNTA
- COUNTBLANK
- COUNTIF
- COUNTIFS
- COVAR
- CRITBINOM
- DEVSQ
- EXPONDIST
- FDIST
- FINV
- FORECAST
- FREQUENCY
- GAMMADIST
- GAMMAINV
- GAMMALN
- GEOMEAN
- HARMEAN
- INTERCEPT
- LARGE
- LINEST
- Additional Statistics
- LOGINV
- LOGNORMDIST
- MAX
- MAXA
- MEDIAN
- MIN
- MINA
- MODE
- NEGBINOMDIST
- NORMDIST
- NORMINV
- NORMSDIST
- NORMSINV
- PERCENTILE
- PERCENTRANK
- PERMUT
- POISSON
- PROB
- QUARTILE
- RANK
- SLOPE
- SMALL
- STANDARDIZE
- STDEV
- STDEVA
- STDEVP
- STDEVPA
- TDIST
- TINV
- TTEST
- VAR
- VARA
- VARP
- VARPA
- ZTEST
- Chapter 11: Text Functions
- Chapter 12: Trigonometric Functions
- Chapter 13: Additional Examples and Topics
- Index
Chapter 10 Statistical Functions 235
Usage Notes
For each of the  test-values and condition pairs, the corresponding (same position
within range or array) value is compared to the conditional test. If all of the conditional
tests are met, the corresponding value in avg-values is included in the average.
 avg-values and all test-values collections must be the same size.
Examples
Given the following table:
=AVERAGEIFS(D2:D13,A2:A13,”<40”,B2:B13,”=M”) returns 56000, the average income of males
(indicated by an “M” in column B) under the age of forty.
=AVERAGEIFS(D2:D13,A2:A13,”<40”,B2:B13,”=M”,C2:C13,”=S”) returns 57000, the average income of
males who are single (indicated by an “S” in column C) under the age of forty.
=AVERAGEIFS(D2:D13,A2:A13,”<40”,B2:B13,”=M”,C2:C13,”=M”) returns 55000, the average income of
males who are married (indicated by an “M” in column C) under the age of forty.
=AVERAGEIFS(D2:D13,A2:A13,”<40”,B2:B13,”=F”) returns approximately 59333, the average income of
females (indicated by an “F” in column B) who are under the age of forty.
Related Topics
For related functions and additional information, see:
“AVERAGE” on page 231
“AVERAGEA” on page 232
“AVERAGEIF” on page 233
“Specifying Conditions and Using Wildcards” on page 360
“Listing of Statistical Functions” on page 225
“Value Types” on page 36
“The Elements of Formulas” on page 15










