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

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
    That worked. Thank you very much – Mark Oct 3 '14 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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