diff --git a/src/java/org/apache/poi/hssf/record/formula/functions/Hlookup.java b/src/java/org/apache/poi/hssf/record/formula/functions/Hlookup.java index 40ed1da49..d493cd533 100644 --- a/src/java/org/apache/poi/hssf/record/formula/functions/Hlookup.java +++ b/src/java/org/apache/poi/hssf/record/formula/functions/Hlookup.java @@ -25,15 +25,15 @@ import org.apache.poi.hssf.record.formula.eval.OperandResolver; import org.apache.poi.hssf.record.formula.eval.ValueEval; import org.apache.poi.hssf.record.formula.functions.LookupUtils.ValueVector; /** - * Implementation of the VLOOKUP() function.

+ * Implementation of the HLOOKUP() function.

* - * HLOOKUP finds a column in a lookup table by the first row value and returns the value from another row. + * HLOOKUP finds a column in a lookup table by the first row value and returns the value from another row.
* * Syntax:
* HLOOKUP(lookup_value, table_array, row_index_num, range_lookup)

* * lookup_value The value to be found in the first column of the table array.
- * table_array An area reference for the lookup data.
+ * table_array An area reference for the lookup data.
* row_index_num a 1 based index specifying which row value of the lookup data will be returned.
* range_lookup If TRUE (default), HLOOKUP finds the largest value less than or equal to * the lookup_value. If FALSE, only exact matches will be considered
diff --git a/src/java/org/apache/poi/hssf/record/formula/functions/Vlookup.java b/src/java/org/apache/poi/hssf/record/formula/functions/Vlookup.java index 7d27491df..bd158b897 100644 --- a/src/java/org/apache/poi/hssf/record/formula/functions/Vlookup.java +++ b/src/java/org/apache/poi/hssf/record/formula/functions/Vlookup.java @@ -27,13 +27,13 @@ import org.apache.poi.hssf.record.formula.functions.LookupUtils.ValueVector; /** * Implementation of the VLOOKUP() function.

* - * VLOOKUP finds a row in a lookup table by the first column value and returns the value from another column. + * VLOOKUP finds a row in a lookup table by the first column value and returns the value from another column.
* * Syntax:
* VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)

* * lookup_value The value to be found in the first column of the table array.
- * table_array An area reference for the lookup data.
+ * table_array An area reference for the lookup data.
* col_index_num a 1 based index specifying which column value of the lookup data will be returned.
* range_lookup If TRUE (default), VLOOKUP finds the largest value less than or equal to * the lookup_value. If FALSE, only exact matches will be considered