You need to ensure that when the spreadsheet is rendered by Excel Web Services, the custom calculations are performed