int evaluatedCellType = evaluator.evaluateFormulaCell(cell);Be aware that your cell will hold both the formula, and the result. If you want the cell replaced with the result of the formula, use {@link #evaluateInCell(org.apache.poi.ss.usermodel.Cell)} @param cell The cell to evaluate @return -1 for non-formula cells, or the type of the formula result
|
|
|
|
|
|
|
|
|
|
|
|