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 9 Reference Functions 217
LOOKUP
The LOOKUP function nds a match for a given search value in one range, and then
returns the value in the cell with the same relative position in a second range.
LOOKUP(search-for, search-where, result-values)
 search-for: The value to nd. search-value can contain any value type.
 search-where: The collection containing the values to be searched. search-where is
a collection containing any value type.
 result-values: An optional collection containing the value to be returned based on
the search. result-values is a collection containing any value type.
Usage Notes
Both  search-where and result-values are normally included and are specied as either
multiple columns or multiple rows, but not both (one dimensional). However, for
compatibility with other spreadsheet applications, search-where can be specied as
both multiple columns and multiple rows (two dimensional) and result-values can
be omitted.
If  search-where is two dimensional and result-values is specied, the topmost row or
leftmost column, whichever contains more cells, is searched and the corresponding
value from result-values is returned.
If  search-where is two dimensional and result-values is omitted, the corresponding
value in the last row (if the number of columns included in the range is larger) or
column (if the number of rows included in the range is larger) is returned.
Examples
Given the following table:
=LOOKUP(”C”, A1:F1, A2:F2) returns 30.
=LOOKUP(40, A2:F2, A1:F1) returns D.
=LOOKUP(”B”, A1:C1, D2:F2) returns 50.
=LOOKUP(”D”,A1:F2) returns 40, the value in the last row that corresponds to “D.”










