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.SFR;}