1

I’m trying to keep an average of the 5 newest values of a data set: Average($d$1:$h$1). If I add a new column to the left of D for new data, the formula changes to ($e$1:$i$1). How do I prevent the formula from changing?

1 Answer 1

1

Please try:

=average(offset(A1,0,4,1,5)) 

(But don't add a column to the left of D that is to the left of A also!)

Help with =offset, and other functions, is available via Help and Function list.

1
  • 1
    That worked. Thank you very much
    – Mark
    Commented Oct 3, 2014 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.