private Object evaluateCellFormula(final XSSFWorkbook workbook, final Cell cell) {
	        FormulaEvaluator evaluator = workbook.getCreationHelper()
	                .createFormulaEvaluator();
	        CellValue cellValue = evaluator.evaluate(cell);
	        Object result = null;
	        
	        if (cellValue.getCellType() == Cell.CELL_TYPE_BOOLEAN) {
	            result = cellValue.getBooleanValue();
	        } else if (cellValue.getCellType() == Cell.CELL_TYPE_NUMERIC) {
	            result = cellValue.getNumberValue();
	        } else if (cellValue.getCellType() == Cell.CELL_TYPE_STRING) {
	            result = cellValue.getStringValue();   
	        }
	        
	        return result;
	    }