Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9626

How do i use the query in google sheets to return N results from each tab

$
0
0

How do I use the query in Google Sheets to return N results from each tab.

So I have this formula:

=QUERY({sheet1!A2:D;sheet2!A2:D}; "select * where Col4>=65 order by Col4 desc Limit 3")

But what I want is that the results to be limited to 3 but from each individual sheet tab so I have displayed 3 results from sheet1 and 3 from sheet2.


Viewing all articles
Browse latest Browse all 9626

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>