Well, that stops the error being thrown but it also means that the sum is never updated when the spreadsheet changes.