This example sets formula for a range, and checks the HasFormula property of the range.
Range formulaRange = sheet.range("F4"); formulaRange.setFormula("=B7+C7"); if(formulaRange.hasFormula()==Constant.SYMPHONY_BOOL_YES){ System.out.println("HasFormula"); }
Related information