Anything wrong with the calulation below? it used to work for me and now all of the sudden it doesnt work. The average still works but the calc before does not.