When I run t_excel, cell B10 has the calculated value 690. When I run t2_excel, cell B9 has the value 450.
","upvoteCount":0,"url":"https://github.com/PHPOffice/PhpSpreadsheet/discussions/4251#discussioncomment-11426598"}}}-
$sheet->setCellValue('B5', '=SUMIF($X10:$X37,"=0",D10:D37)'); |
Beta Was this translation helpful? Give feedback.
-
What happens when you use it? Do you have a file you can upload? |
Beta Was this translation helpful? Give feedback.
No problem at all when I execute your code. Is it possible that your system issues some output before the constructor, or in the constructor, or after your routine has finished? Here's the code I am using, which eliminates all those parts: