Hello All,
I want to use a named range in the LINEST formula (European version of Excel). It works fine if I just use a dynamic range in the formula like this:
but of course, this is not easy to read and maintain along other formulas. Therefore I defined two named ranges of the above dynamic ranges as below:
DeltaTRange:
FlowErrorRange:
These are working correctly on a simple function like AVERAGE but using it in LINEST funcion as below gives a "#REF!" error.
How should I edit the formula above to make it working?
Thanks in advance
Mahdi
I want to use a named range in the LINEST formula (European version of Excel). It works fine if I just use a dynamic range in the formula like this:
Code:
=INDEX(LINEST((INDIRECT(ADDRESS($AQ$1;22;4)):INDIRECT(ADDRESS(COUNTA(B:B);22;4))); (INDIRECT(ADDRESS($AQ$1;27;4)):INDIRECT(ADDRESS(COUNTA(B:B);27;4)))^{1\2});1)
DeltaTRange:
Code:
=INDIRECT(ADDRESS('Test Data'!$AQ$1;27;4)):INDIRECT(ADDRESS(COUNTA('Test Data'!B:B);27;4))
FlowErrorRange:
Code:
=INDIRECT(ADDRESS('Test Data'!$AQ$1;22;4)):INDIRECT(ADDRESS(COUNTA('Test Data'!A:A);22;4))
These are working correctly on a simple function like AVERAGE but using it in LINEST funcion as below gives a "#REF!" error.
Code:
=INDEX(LINEST(FlowErrorRange; DeltaTRange^{1\2});1)
How should I edit the formula above to make it working?
Thanks in advance
Mahdi