Fixed for multiple uses of formats and when column total = 0;