Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google sheet : How to find the length of array?

I try to query from other sheet using vlookup() or something similar. I want to count how many array it will produce.

How can i find the length of the output or the resulting array from query() or filter() or vlookup()? Something similar to len() but for counting array.

Thanks

like image 783
andio Avatar asked Nov 27 '25 12:11

andio


1 Answers

you can use ROWS or COLUMNS

=ROWS(QUERY(your_query))
like image 109
player0 Avatar answered Nov 29 '25 16:11

player0



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!