|
|||||||
|
|
|||||||
Data anlysis using Hlookup in Excel |
|||||||
| Home | Excel 2003 | Macros Excel 2007 | Macros Excel 2003 | Excel 2010 | |||
| About Us | Free Ebook | Offline Training | Blog | Interactive Training | |||
|
|
Syntax of Hlookup: Hlookup(lookup_value, table_array, row_index_num, [range_lookup]) Lookup_value: this value is required and is to be found in the first row of the table. Lookup_value can be a value, a reference (cell address like B8), or a text string. The latter must be enclosed in quotes. Table_array: This value is also required and is generally a range of cells in which data is looked up. You can select the range manually or use a name like price_data as in our case. Row_index_num: This value must be entered and it is the row number in table_array from which the matching value will be returned. A row_index_num of 1 returns the first row value in table_array, a row_index_num of 2 returns the second row value in table_array, and so on. If row_index_num is less than 1, HLOOKUP returns the #VALUE! error value; if row_index_num is greater than the number of rows on table_array, HLOOKUP returns the #REF! error value. Range_lookup: This value is optional and is a logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, HLOOKUP will find an exact match. If one is not found, the error value #N/A is returned.
|
|
|||||
|
|
|||||||
| Excel 2007 | Excel 2003 | Macros Excel 2007 | Macros Excel 2003 | Excel 2010 | |||
| About Us | Free Ebook | Offline Training | Blog | Interactive Training | |||