M
Marles McDonald
I have a data set which needs to have multiple ranges calculated
independently. The entire data set is 100 columns wide but the total row
cont and the row count of the sub sets is conditional.
For example I need to average the values in column D for the contiguous
number of rows calculated in cell HJ7 , which is not the total number
of rows with values in column D
The following formula seems like it should work but returns a value of 0
I understand why that is so since within the () the adress is returned
as "$D$10" with the quote marks
AVERAGE(ADDRESS(10,4)&":"&ADDRESS($HJ$7,4))
Is there some way around the "" marks or a better way of doing this.
I would prefer that this be done as a spreadsheet function rather than a
macro.
Marles
independently. The entire data set is 100 columns wide but the total row
cont and the row count of the sub sets is conditional.
For example I need to average the values in column D for the contiguous
number of rows calculated in cell HJ7 , which is not the total number
of rows with values in column D
The following formula seems like it should work but returns a value of 0
I understand why that is so since within the () the adress is returned
as "$D$10" with the quote marks
AVERAGE(ADDRESS(10,4)&":"&ADDRESS($HJ$7,4))
Is there some way around the "" marks or a better way of doing this.
I would prefer that this be done as a spreadsheet function rather than a
macro.
Marles