How to include a Dynamic cell reference in a Fomula?

Joined
Jun 23, 2007
Messages
2
Reaction score
0
Col1 Col2
23 3
4 44
43
33

Assuming the data above.
Since different columns have different lengths, I need to calculate the
length for each column separately.

At the last row. I need to enter formula to calculate the average for each
column,
how do I do something like formula = "average( Range(cells(2,1), cells(2,
lastrow))) "

where lastrow can be dynamically changed.

Thanks.
 

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