text: public SharedFormulaRecord linkSharedFormulaRecord(CellReference firstCell, FormulaRecordAggregate agg) {SharedFormulaGroup result = findFormulaGroupForCell(firstCell);if(null == result) {throw new RuntimeException("Failed to find a matching shared formula record");}result.add(agg);return result.getSFR();}