functions with nonadjacent cells

P

PCdummy

I want to take several averages of nonadjacent cells but all I get is the
average of each column. I know how to select nonadjacent cells but cant get
the average function to work. I have 4 columns and 30 rows and want to take a
"rolling" average of 24 cells at a time. How can I do this?
 
J

JE McGimpsey

How does your data roll? Where does the non-adjacent part come in?

If you just want a rolling average of the last 24 entries in a column of
contiguous data, use something like:

=AVERAGE(OFFSET(A1,COUNTA(A:A)-24,0,24,1))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top