Perhaps this will help you ?
https://docs.laravel-excel.com/2.1/import/calculation.html
As you don't give any detail about how you import the file, it's difficult to help you with more precision.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Laravel Excel - While importing excel with Formulae , the Formula is getting saved into the DB instead of value from the cell . How do we handle this situation ? Advices please.
@vincent15000 Thank you. I am using the latest version Laravel Excel -3.1 though . But your idea let me where to search for the solution . I used below concerns to get the value of the formula while importing.
Maatwebsite\Excel\Concerns\WithCalculatedFormulas
Please or to participate in this conversation.