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