Apache POI formulas not evaluating Apache POI formulas not evaluating apache apache

Apache POI formulas not evaluating


Try this:

XSSFFormulaEvaluator.evaluateAllFormulaCells(workbook);

or, if you are using xls

HSSFFormulaEvaluator.evaluateAllFormulaCells(hssfWorkbook)

You probably want to call this just before saving.