Hi,
If you use your above formula in name range object, the argument of counta() function is not evaluated yet as a range object, so :
is equal to :
Both will yield 1 (the number of counta() arguments)
Another example :
is equal to :
Both will yield 3 (the number of counta() arguments)
You should use indirect assignment like this :
- First, create a name range object, let's say it is Range1
- Then, because this Range1 has already evaluated, you can use it as argument for counta() in a new name range object. Let's say it is RangeA
Now, when you call this name (=RangeA), it should show the expected result.
Regards
Bookmarks