Averaging Values in For Loop

Ok that explaination makes sense to me. I will try coding it tonight and try to implement on real system on Monday. Thanks UK