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 range is summed if the conditions are met
What is the current behavior?
If only one condition is provided, the range is summed correctly. If multiple conditions are provided the sum is inaccurate. After the XL spreadsheet is loaded, the formula can be refreshed and is then accurate
Can reproduce the issue with the following simplified code. Expecting 2, but got 5. It seems that a cell is summed multiple times if it match the several conditions whereas we should only sum it once, even if matching several times.
This is:
What is the expected behavior?
The range is summed if the conditions are met
What is the current behavior?
If only one condition is provided, the range is summed correctly. If multiple conditions are provided the sum is inaccurate. After the XL spreadsheet is loaded, the formula can be refreshed and is then accurate
What are the steps to reproduce?
Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:
Which versions of PhpSpreadsheet and PHP are affected?
PhpSpreadsheet: 1.4.1
PHP: 7.2.10
The text was updated successfully, but these errors were encountered: