I have some scripts that generate CSV files with formulas and for the record they work fine in both Excel and LibreOffice Calc.