Change the way to calculate the column totals