making unspecified categories sum from empty cells