“NaN” appearing in calculated value. How do we get rid of this?

@Faith, FYR