Last Number to Average

Y

yirawan

Is it possible to average up to certain row indicated in "Last number to
average" or C8

A B C
1 5
2 7
3 8
4 10
5 6
6 10
7
8 Last number (NO.) to average: 4 (i would like to average from
A1 to A4)

REsult = 7.5 or (5+7+8+10)/4

Thanks much
 
G

Guest

=AVERAGE(OFFSET($A$1,0,0,A8,1)). This will start in A1 and average the
number of rows indicated in A8.
 
H

Harlan Grove

bpeltzer wrote...
=AVERAGE(OFFSET($A$1,0,0,A8,1)). This will start in A1 and average the
number of rows indicated in A8.
....

Variation on this using nonvolatile functions.

=AVERAGE($A$1:INDEX($A:$A,A8))
 

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