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
FixPHPOffice#3866. Excel normally treats a missing argument (e.g. `PRODUCT(2,3,)`) as null and ignores it. Not so for MIN/MAX/MINA/MAXA; for those, an empty argument is treated as zero. PhpSpreadsheet is changed to do the same.
This is a bug report.
What is the expected behavior?
Excel seems to treat empty parameters as 0,
=MIN(3,2,)
evaluates to 0.What is the current behavior?
=MIN(3,2,)
evaluates to 2 in PHPSpreadsheet.What are the steps to reproduce?
What features do you think are causing the issue
Which versions of PhpSpreadsheet and PHP are affected?
Tested on PHPSpreadsheet 1.29.0 with PHP 8.0.12
The text was updated successfully, but these errors were encountered: