How to set formula in Excel with POI?
I want to generate a Excel sheet with Apache POI. One cell should contain a formula. Unfortunately, it doesn’t work. I get an error in the Excel sheet. Code public static void main(String[] args) throws FileNotFoundException, IOException { Workbook workbook = new XSSFWorkbook(); Sheet sheet = workbook.createSheet("Test"); Row row = sheet.createRow(2); Cell cell = row.createCell(0);… Read More How to set formula in Excel with POI?