View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Eric Eric is offline
external usenet poster
 
Posts: 1,670
Default How to use Indirect functions?

Thank everyone for suggestions
I would like to use Indirect structure instead of average.
Do you have any suggestions?
Thank you very much for any suggestions
Eric

"T. Valko" wrote:

So you actually want the average?

One way:

=AVERAGE(OFFSET(A1,99,,-B1))

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
Does anyone have any suggestions on how to use Indirect function?
For Example, there is a list of numbers under column A, a given number 20
in
cell B1 and a formula sum(A81:A100)/20 in cell C1.
If I change the number 20 into 30 in cell B1, then the formula will become
sum(A71:A100)/30.
If I change the number 20 into 40 in cell B1, then the formula will become
sum(A61:A100)/40.
Does anyone have any suggestions?
Thanks in advance for any suggestions
Eric