Function Range
One way:
=AVERAGE(OFFSET(L1,A1-1,0,A2-A1+1,1))
In article ,
Rich wrote:
I am looking for a way to reference a cell to define a function range. That
is the standard function =AVERAGE(L3:L20) I would like to have the 3
and the 20 sourced from other cells. The goal is to be able to change all
the average ranges in a spreadsheet by changing just one €śreference€ť cell.
My mind would have it look like this
=AVERAGE(L(=A1):L(=A2)) and cells A1 and A2 would define the range.
And I could change all formula ranges, that references cell A1 and A2 with
just an input to these two cells.
Any ideas?
Thank you for any help you can provide.
Rich
|