You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
What is the expected behavior?
the return of VLOOKUP is wrong when $lookupRows is 2
I'm confused about why the function (PhpOffice\PhpSpreadsheet\Calculation\LookupRef::LOOKUP) treat it as a special scene when $lookupRows is equal to 2. I removed these operations and get the right value.
We were performing operations to patch for missing $result_vector
even when one was defined, this was causing bugs on edge cases.
FixesPHPOffice#796ClosesPHPOffice#816
This is:
What is the expected behavior?
the return of VLOOKUP is wrong when
$lookupRows
is 2What is the current behavior?
wrong value
What are the steps to reproduce?
Which versions of PhpSpreadsheet and PHP are affected?
detail
I'm confused about why the function (
PhpOffice\PhpSpreadsheet\Calculation\LookupRef::LOOKUP
) treat it as a special scene when$lookupRows
is equal to 2. I removed these operations and get the right value.The text was updated successfully, but these errors were encountered: