Adding formulas to matrix table cells