Using =address to provide address location for =average

A

ahills

Is it possible to use =address to supply the cell addresses for the range in
the average function. I can get all the pieces to work separately but can't
nest the =address function within =average
 
J

Jason Morin

Yes, but you need to use INDIRECT to convert the string
created from ADDRESS to a real reference. For example:

=AVERAGE(INDIRECT(ADDRESS(1,1)),INDIRECT(ADDRESS(5,1)))

This is the same as:

=AVERAGE(A1,A5)

HTH
Jason
Atlanta, GA
 
F

Fordson

Jason said:
Yes, but you need to use INDIRECT to convert the string
created from ADDRESS to a real reference. For example:

=AVERAGE(INDIRECT(ADDRESS(1,1)),INDIRECT(ADDRESS(5,1)))

This is the same as:

=AVERAGE(A1,A5)

HTH
Jason
Atlanta, GA



addresses for the range in


separately but can't
Thanks Jason - that did it.

Allen
 

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