R
robotman
I'm trying to use a text string as the range in the AVERAGE function.
The AVERAGE function doesn't seem to like this.
For example:
=AVERAGE("A2" & ":" & "A6")
(my real sheet uses VLOOKUP to derive the "A2" and "A6" references, but
if you can get this simple text range to work, I can expand from there)
I found one way that uses INDIRECT and ADDRESS, but this seems
cumbersome.
= AVERAGE(INDIRECT(ADDRESS(2,1) & ":" & ADDRESS(6,1)))
Anyone have a simpler way to use text as the range input for the
AVERAGE function?
Thanks!
The AVERAGE function doesn't seem to like this.
For example:
=AVERAGE("A2" & ":" & "A6")
(my real sheet uses VLOOKUP to derive the "A2" and "A6" references, but
if you can get this simple text range to work, I can expand from there)
I found one way that uses INDIRECT and ADDRESS, but this seems
cumbersome.
= AVERAGE(INDIRECT(ADDRESS(2,1) & ":" & ADDRESS(6,1)))
Anyone have a simpler way to use text as the range input for the
AVERAGE function?
Thanks!