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?
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#)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.