recalcFormula() refact