Create Excel file with formula in sheet cells using EasyXLS library! XLS, XLSX, XLSM, XLSB files in PHP. https://www.easyxls.com/manual/tutorials/php/add-excel-formula.html