-
Hi, I have some issues with setting conditions to Cell but after updating php to version 8.0.2 and laravel to 9+ and maatwebsite/excel to 3.1.36-3.1.40(tried every release) this line -> "$event->sheet->getCell('B1' )->setValue('=IF(A2 = 0;0;1)');" causes error "B1 -> Formula Error: An unexpected error occurred" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I don't know how
would have worked before, if there is anything in Laravel-Excel that converts a formula to the rules required in PhpSpreadsheet, but from the PhpSpreadsheet documentation:
If you want to use locale-specific formulae, then this is supported through a PhpSpreadsheet setting |
Beta Was this translation helpful? Give feedback.
I don't know how
would have worked before, if there is anything in Laravel-Excel that converts a formula to the rules required in PhpSpreadsheet, but from the PhpSpreadsheet documentation:
If you want to use locale-specific formulae, then this is supported…