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
close match (TRUE, 1, or omitted): If there’s no exact match, select the column with
the largest top-row value that is less than the search value. Wildcards can’t be used
in search-for.
exact match (FALSE or 0): If there’s no exact match, return an error. Wildcards can
be used in search-for.
Usage Notes
HLOOKUP compares a search value to the values in the top row of a specied range. Â
Unless an exact match is required, the column containing the largest top-row value
that is less than the search value is selected. Then, the value from the specied row
in that column is returned by the function. If an exact match is required and none of
the top-row values match the search value, the function returns an error.
Examples
Given the following table:
=HLOOKUP(20, A1:E4, 2) returns “E.”
=HLOOKUP(39, A1:E4, 2) returns “E.”
=HLOOKUP(”M”, A2:E4, 2) returns “dolor.”
=HLOOKUP(”C”, A2:E3, 2) returns “lorem.”
=HLOOKUP(”blandit”, A3:E4, 2) returns “5.”
=HLOOKUP(”C”, A2:E4, 3, TRUE) returns “1.”
=HLOOKUP(”C”, A2:E4, 3, FALSE) returns an error because the value can’t be found (there is no exact
match).
Related Topics
For related functions and additional information, see:
“LOOKUP” on page 217
“MATCH” on page 218
“VLOOKUP” on page 223
“Specifying Conditions and Using Wildcards” on page 360
“Listing of Reference Functions” on page 206
“Value Types” on page 36
212 Chapter 9 Reference Functions










