Reputation: 10273
Consider a very simple example of a dynamic range:
Cell C10 (arbitrary cell):
=FILTER(Table1[List1],NOT(ISNUMBER(XMATCH(Table1[List1],Table1[List2]))))
I would like to now know how many rows are in the dynamic range starting at C10. I tried simply:
=ROWS(C10)
but it returns '1' even when there are more than one rows returned. Is this possible?
Upvotes: 0
Views: 2235
Reputation: 50162
Use COUNTA
and the spilled range operator #
:
In C10
:
=FILTER(Table1[List1],NOT(ISNUMBER(XMATCH(Table1[List1],Table1[List2]))))
In D10
:
=COUNTA(C10#)
Or like your original approach, you can use ROWS
with the spilled range operator:
=ROWS(C10#)
Upvotes: 1