PhpSpreadsheet/tests/data/Calculation/LookupRef
oleibman 3db0b2a2de
Corrections for HLOOKUP Function (#2330)
See issue #2123. HLOOKUP needs to do some conversions between column numbers and letters which it had not been doing.

HLOOKUP tests were performed using direct calls to the function in question rather than in the context of a spreadsheet. This contributed to keeping this error obscured even though there were, in theory, sufficient test cases. The tests are changed to perform in spreadsheet context. For the most part, the test cases are unchanged. One of the expected results was wrong; it has been changed, and a new case added to cover the case it was supposed to be testing.

After getting the HLOOKUP tests in order, it turned out that a test using literal arrays which had been succeeding now failed. The array constructed by the literals are considerably different than those constructed using spreadsheet cells; additional code was added to handle this situation.
2021-10-23 17:59:42 -07:00
..
ADDRESS.php Resolve default values when a null argument is passed for HLOOKUP(), VLOOKUP() and ADDRESS() functions 2021-05-27 12:02:38 +02:00
CHOOSE.php Lookup functions additional unit tests (#2074) 2021-05-07 23:40:30 +02:00
COLUMN.php Improved Support for INDIRECT, ROW, and COLUMN Functions (#2004) 2021-04-20 22:16:21 +02:00
COLUMNS.php COLUMNS and ROWS functions crashed in some cases 2018-01-13 18:01:50 +09:00
COLUMNSonSpreadsheet.php Improved Support for INDIRECT, ROW, and COLUMN Functions (#2004) 2021-04-20 22:16:21 +02:00
COLUMNonSpreadsheet.php Improved Support for INDIRECT, ROW, and COLUMN Functions (#2004) 2021-04-20 22:16:21 +02:00
FORMULATEXT.php Fix for worksheet lookup for worksheets with spaces in the title 2019-07-24 22:15:35 -07:00
HLOOKUP.php Corrections for HLOOKUP Function (#2330) 2021-10-23 17:59:42 -07:00
HYPERLINK.php Lookup functions additional unit tests (#2074) 2021-05-07 23:40:30 +02:00
INDEX.php Issue 2066, highlighting more validation needed for LookupRef Functions (#2069) 2021-05-07 11:20:38 +02:00
INDIRECT.php Improved Support for INDIRECT, ROW, and COLUMN Functions (#2004) 2021-04-20 22:16:21 +02:00
IndirectDefinedName.xlsx Improved Support for INDIRECT, ROW, and COLUMN Functions (#2004) 2021-04-20 22:16:21 +02:00
IndirectFormulaSelection.xlsx Improved Support for INDIRECT, ROW, and COLUMN Functions (#2004) 2021-04-20 22:16:21 +02:00
LOOKUP.php Start refactoring the Lookup and Reference functions (#1912) 2021-03-10 21:18:33 +01:00
MATCH.php Use WildcardMatch 2021-06-24 10:09:21 +02:00
OFFSET.php First step extracting INDIRECT() and OFFSET() to their own classes (#1921) 2021-03-14 19:58:10 +01:00
ROW.php Improved Support for INDIRECT, ROW, and COLUMN Functions (#2004) 2021-04-20 22:16:21 +02:00
ROWS.php COLUMNS and ROWS functions crashed in some cases 2018-01-13 18:01:50 +09:00
ROWSonSpreadsheet.php Improved Support for INDIRECT, ROW, and COLUMN Functions (#2004) 2021-04-20 22:16:21 +02:00
ROWonSpreadsheet.php Improved Support for INDIRECT, ROW, and COLUMN Functions (#2004) 2021-04-20 22:16:21 +02:00
TRANSPOSE.php Start refactoring the Lookup and Reference functions (#1912) 2021-03-10 21:18:33 +01:00
VLOOKUP.php Typehinting to keep phpstan happy 2021-05-29 13:35:42 +02:00