Using dynamic range in functions

  • Thread starter Thread starter rrk
  • Start date Start date
R

rrk

Hi all,

I have a set of data in one column from row 1 to 100. How can I
calculate the average of the data from row 1 to row i? The value of i
is located in another cell. Thanks in advance.
 
Debra Dalgleish said:
With the variable in cell D1:

=AVERAGE(INDIRECT("A1:A"&D1))

Thanks a lot. Using this function made my life much easier.

rrk
 

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

Back
Top