monitorjbl / excel-streaming-reader

An easy-to-use implementation of a streaming Excel reader using Apache POI
Apache License 2.0
946 stars 343 forks source link

Not able to Read Formula cell value as data #208

Open sairaj61 opened 4 years ago

sairaj61 commented 4 years ago

Using apache poi able to read formula cell value as data but not using monitorjbl, as getCreationHelper().createFormulaEvaluator() it is unsupported . is there any other option to read formula cell value as data.

This is the link for reading derived cell value as data using apache poi https://stackoverflow.com/questions/4183708/how-to-get-the-formula-cell-valuedata-using-apache-poi

NiharGharat commented 4 years ago

You cannot use dataformatter here, but cell.getNumericCellValue() for numeric, for string formulas cell.getStringCellValue(), cell.getBooleanCellValue() works. For formula itself,use cell.getCellFormula()