Good evening!
I have been trying to understand why the following formula does not work as I have used it successfully for named ranges, and it is the only way I know to refer to a range name where teh name is in another cell.
in A, B, C, I have ranges that are dynamic and are called AA, BB and CC
Range AA is assigned using the formula = offset($A$2,0,0,count($A:$A),1)
Range BB and CC the same way.
In column V, from V1 to V3, I have entered manually the names, AA,BB and CC without quotes.
In column W1 to W3 I have the following formulas
W1=count(indirect(V1))
W2=count(indirect(V2))
W3=count(indirect(V3))
The results are stubbornly remaining = 0
When I use the "evaluate formula", the indirect(V1) becomes indirect("AA") then indirect(#REF).
The entries AA, BB and CC where done manually and the format is general.
The only reason I can see that it does not work is that they are dynamic ranges... though it does not make sense to me!
When I write simply count(AA), I get the right result, so "count" can accept dynamic range names.
Help!
Thanks!
Danièle
I have been trying to understand why the following formula does not work as I have used it successfully for named ranges, and it is the only way I know to refer to a range name where teh name is in another cell.
in A, B, C, I have ranges that are dynamic and are called AA, BB and CC
Range AA is assigned using the formula = offset($A$2,0,0,count($A:$A),1)
Range BB and CC the same way.
In column V, from V1 to V3, I have entered manually the names, AA,BB and CC without quotes.
In column W1 to W3 I have the following formulas
W1=count(indirect(V1))
W2=count(indirect(V2))
W3=count(indirect(V3))
The results are stubbornly remaining = 0
When I use the "evaluate formula", the indirect(V1) becomes indirect("AA") then indirect(#REF).
The entries AA, BB and CC where done manually and the format is general.
The only reason I can see that it does not work is that they are dynamic ranges... though it does not make sense to me!
When I write simply count(AA), I get the right result, so "count" can accept dynamic range names.
Help!
Thanks!
Danièle