Added logic to create data for totals sheet