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